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?
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
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!
my portfolio site (haven't updated in ages)
lhuddlesto.com
gotta fix that security warning s***
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.
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?
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
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.
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)
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
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
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
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
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
let didnt work either
developer.mozilla.org/fr/docs/Web/API/HTMLTableRowElement/insertCell
Maybe try appendChild instead of innerHTML ?
https://developer.mozilla.org/fr/docs/Web/API/HTMLTableRowElement/insertCell
Maybe try appendChild instead of innerHTML ?
nothings working bro
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
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;
}
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
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