Why my code doesn't work | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
10th Apr 2021, 6:09 AM
Zainul Khan
Zainul Khan - avatar
3 Answers
+ 4
There should be: ... innerHTML = ...
10th Apr 2021, 6:16 AM
JaScript
JaScript - avatar
+ 2
document.getElementById("showQuotes").innerHTML=myQuotes[ramdomNum]; The innerHTML html should be in capital letters
10th Apr 2021, 6:31 AM
Pratik Gupta
Pratik Gupta - avatar
+ 1
10th Apr 2021, 9:43 AM
Zainul Khan
Zainul Khan - avatar