Reply
  • Apr 11, 2020

    Anyone here good with angular ? Got some errors have no idea how to fix

  • Apr 12, 2020
    ·
    1 reply
    oogie

    better than anything ive made. took some data and put it on the screen (apis) with horrible styling cause i havent touched html & css too much

    i thought this one guys project was cool, made a slider showing pictures based on instagram hashtags you searched for

    thats awesome man. how are you learning everything? do you do a cs degree?

  • Apr 12, 2020

    Tryna learn react atm

  • Apr 12, 2020
    ·
    1 reply
    donald glover

    thats awesome man. how are you learning everything? do you do a cs degree?

    honestly my resources are everywhere. i'd use brad traversy on youtube one day, then find udemy courses, freecodecamp, javascript.info, etc. i guess as much as im doing it, a lot of this stuff is at least making some sense but it's still hard trying to put things together you know lol

    i was going to do the cs degree, but i didnt want to take all the math classes cause it was borderline engineering so i just decided to learn it on my own. it's harder but its all i really want, nothing else interests me

  • Apr 12, 2020
    oogie

    honestly my resources are everywhere. i'd use brad traversy on youtube one day, then find udemy courses, freecodecamp, javascript.info, etc. i guess as much as im doing it, a lot of this stuff is at least making some sense but it's still hard trying to put things together you know lol

    i was going to do the cs degree, but i didnt want to take all the math classes cause it was borderline engineering so i just decided to learn it on my own. it's harder but its all i really want, nothing else interests me

    you're doing a great job man :) keep it up!

  • May 12, 2020

    my portfolio site (haven't updated in ages)
    lhuddlesto.com

    gotta fix that security warning s***

  • May 12, 2020
    ·
    1 reply

    Was also wondering if somebody wanted to help me out with a project... Building a site to sell my beats to people using the MERN stack.

  • May 19, 2020
    ·
    1 reply
    bebacksoon

    Was also wondering if somebody wanted to help me out with a project... Building a site to sell my beats to people using the MERN stack.

    You started at all yet or nah?

  • May 19, 2020
    ·
    1 reply
    SBMike

    You started at all yet or nah?

    yeah, main things i gotta do are:

    deploying front-end
    making pages mobile responsive
    integrating stripe payment system
    making sure people can't download all the music from s3

    i can send you links to the repos if you are interested

  • May 19, 2020
    ·
    1 reply
    bebacksoon

    yeah, main things i gotta do are:

    deploying front-end
    making pages mobile responsive
    integrating stripe payment system
    making sure people can't download all the music from s3

    i can send you links to the repos if you are interested

    Yea send me links.

  • May 19, 2020
    ·
    edited
    SBMike

    Yea send me links.

    just sent

  • May 19, 2020
    ·
    1 reply

    recommended Udemy / whatever course for intro React project walkthroughs?

    Feel like I have a strong understanding of how React and JS works. (need to go over promises and async)

  • May 19, 2020
    companyofwolves

    recommended Udemy / whatever course for intro React project walkthroughs?

    Feel like I have a strong understanding of how React and JS works. (need to go over promises and async)

    Andrew Mead's Node and React courses are great

  • May 25, 2020
    ·
    edited
    ·
    4 replies

    trying to loop through a row with insertCell and it isnt working and its been two days and my heads about to explode, header and headerRow are fine but the f***ing loop does nothing, i can console.log(categories) too and get the array back so i know categories[idx].title is defined

    const table = document.getElementById("table");

    const header = table.createTHead();

    const headerRow = header.insertRow(0);

    //categories = [ {title: someTitle}, {title: anotherTitle}, ....]

    for (let idx = 0; idx < categories.length; idx++) {

    const newCell = headerRow.insertCell(idx);

    newCell.innerHTML = categories[idx].title;
    }

    why dont the newCells appear

  • May 26, 2020
    ·
    1 reply
    keep it g

    trying to loop through a row with insertCell and it isnt working and its been two days and my heads about to explode, header and headerRow are fine but the f***ing loop does nothing, i can console.log(categories) too and get the array back so i know categories[idx].title is defined

    const table = document.getElementById("table");

    const header = table.createTHead();

    const headerRow = header.insertRow(0);

    //categories = [ {title: someTitle}, {title: anotherTitle}, ....]

    for (let idx = 0; idx < categories.length; idx++) {

    const newCell = headerRow.insertCell(idx);

    newCell.innerHTML = categories[idx].title;
    }

    why dont the newCells appear

    I'll take a look in a sec for you

  • May 26, 2020
    ·
    edited
    ·
    1 reply
    keep it g

    trying to loop through a row with insertCell and it isnt working and its been two days and my heads about to explode, header and headerRow are fine but the f***ing loop does nothing, i can console.log(categories) too and get the array back so i know categories[idx].title is defined

    const table = document.getElementById("table");

    const header = table.createTHead();

    const headerRow = header.insertRow(0);

    //categories = [ {title: someTitle}, {title: anotherTitle}, ....]

    for (let idx = 0; idx < categories.length; idx++) {

    const newCell = headerRow.insertCell(idx);

    newCell.innerHTML = categories[idx].title;
    }

    why dont the newCells appear

    Haven't wrote front end in a while but :
    const newCell = headerRow.insertCell(idx);
    newCell.innerHTML = categoriesidx.title;

    If newCell a constant can you really update the innerHtml

  • May 26, 2020
    ·
    1 reply
    texmaker

    Haven't wrote front end in a while but :
    const newCell = headerRow.insertCell(idx);
    newCell.innerHTML = categoriesidx.title;

    If newCell a constant can you really update the innerHtml

    let didnt work either

  • May 26, 2020
    companyofwolves

    I'll take a look in a sec for you

    🙏🏽

  • May 26, 2020
    ·
    1 reply
    keep it g

    let didnt work either

    developer.mozilla.org/fr/docs/Web/API/HTMLTableRowElement/insertCell

    Maybe try appendChild instead of innerHTML ?

  • May 26, 2020
    ·
    1 reply
    texmaker

    https://developer.mozilla.org/fr/docs/Web/API/HTMLTableRowElement/insertCell

    Maybe try appendChild instead of innerHTML ?

    nothings working bro

  • May 26, 2020
    ·
    edited
    keep it g

    nothings working bro


    Sorry i don't know anything that could help other than to tell you to debug as much you can to find anything that might cause the issue
    Try to console log inside the loop idx, categoriesidx, categoriesidx.title, newCell.innerHTML (before and after you assign it categoriesidx.title)
    S*** categories.length and headerRow too

    But i'd change all you variables from const to let if I were you

  • May 26, 2020
    ·
    edited
    keep it g

    trying to loop through a row with insertCell and it isnt working and its been two days and my heads about to explode, header and headerRow are fine but the f***ing loop does nothing, i can console.log(categories) too and get the array back so i know categories[idx].title is defined

    const table = document.getElementById("table");

    const header = table.createTHead();

    const headerRow = header.insertRow(0);

    //categories = [ {title: someTitle}, {title: anotherTitle}, ....]

    for (let idx = 0; idx < categories.length; idx++) {

    const newCell = headerRow.insertCell(idx);

    newCell.innerHTML = categories[idx].title;
    }

    why dont the newCells appear

    check to see if categories.length even works? you have it commented out right now.

    also change const newCell to let newCell in your for loop

    const table = document.getElementById("table");

    const header = table.createTHead();

    const headerRow = header.insertRow(0);

    (Don't comment this out) categories = {title: someTitle}, {title: anotherTitle}, ....
    console.log(categories.length)

    for (let idx = 0; idx < categories.length; idx++) {

    let newCell = headerRow.insertCell(idx);

    newCell.innerHTML = categoriesidx.title;
    }

  • May 26, 2020
    ·
    1 reply
    keep it g

    trying to loop through a row with insertCell and it isnt working and its been two days and my heads about to explode, header and headerRow are fine but the f***ing loop does nothing, i can console.log(categories) too and get the array back so i know categories[idx].title is defined

    const table = document.getElementById("table");

    const header = table.createTHead();

    const headerRow = header.insertRow(0);

    //categories = [ {title: someTitle}, {title: anotherTitle}, ....]

    for (let idx = 0; idx < categories.length; idx++) {

    const newCell = headerRow.insertCell(idx);

    newCell.innerHTML = categories[idx].title;
    }

    why dont the newCells appear

    Also as a precaution you should try and console.log every step ensuring everything works.

    in this case, try to console.log categories0.title

    if that doesnt work then something is wrong.. from there youll find your issue

  • May 26, 2020
    ·
    edited
    companyofwolves

    Also as a precaution you should try and console.log every step ensuring everything works.

    in this case, try to console.log categories0.title

    if that doesnt work then something is wrong.. from there youll find your issue

    appreciate this feedback

    categories isn't actually commented out, just did that for ktt in case you read the loop and wondered what categories was

    basically i wasnt awaiting the functions that fill categories with info from API, so the loopd run when categories' length was 0, meaning 0 cells get created

    thanks yall

  • Oct 14, 2023

    learning React now. would've picked Vue, but React is more in demand, so better use that