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

17th Jul 2021, 1:08 PM
Malick Diagne
Malick Diagne - avatar
2 Answers
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
17th Jul 2021, 1:15 PM
Jad Yahya
Jad Yahya - avatar
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
18th Jul 2021, 5:23 AM
ODLNT
ODLNT - avatar