0
My second step ul items click Button console function displayGlucose is not display in console. Thanks you.
Display items ul second with Button. https://code.sololearn.com/WsbFq8nOc4HH/?ref=app
2 Réponses
0
If you run the code twice your code will stop working and will show logs in console , i think you have some duplicated variables
0
incorrect syntax - li.classList.add = "glucose";
correct syntax - li.classList.add ("glucose");
Only half of programming is coding. The other 90% is debugging.
-Somebody on Reddit