Thank you for this video. I just started learning js. how do you do "Objects.values(emp).forEach(text => {..." with for loop? I am still confuse with forEach. Thank you
There are better solutions to this problem. But since it will require entire code modification, I will give you simplest solution. Just add the following code at the top inside the click event listener. It will check if table is there. If yes, then just remove it and create new one. if(myTable.firstChild) myTable.removeChild(myTable.firstChild);
THANK YOU SO MUCH! Best wishes!
You're welcome!
Hey bro. Short JavaScript videos like these have been very helpful for me. Thanks buddy. Do make more vids
Very insightful
Thank you so much! This helped a lot! God bless you!
Amazing tutorial brother.. thank you
Thank you you will be an millionaire
You're welcome
Nice thanks
good video thanks
Thank you!
I thought it would be simple... To make table.. And yes.! Now it just a different story.
thanks
Nice explanation bro, please do a video of javascript crud appliaction to cover all concepts . Thanks in advance
Thank you for this video. I just started learning js. how do you do "Objects.values(emp).forEach(text => {..." with for loop? I am still confuse with forEach. Thank you
for (let i = 0; i < emp.length; i++) {
// do stuff
}
Please make a search box and only shows the search item from the array in a table
bro my table is reapting so how can i stop reapting table
There are better solutions to this problem. But since it will require entire code modification, I will give you simplest solution. Just add the following code at the top inside the click event listener. It will check if table is there. If yes, then just remove it and create new one.
if(myTable.firstChild) myTable.removeChild(myTable.firstChild);