Reference Error on js console | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
23rd Apr 2019, 4:44 PM
Fatih Yalçın
Fatih Yalçın - avatar
5 Answers
+ 3
Nice job with the CSS selectors, but you still to have use quotation marks. document.querySelector("button.first")
23rd Apr 2019, 6:28 PM
ODLNT
ODLNT - avatar
+ 3
ODLNT I updated but It still gives some kinda error
23rd Apr 2019, 6:54 PM
Fatih Yalçın
Fatih Yalçın - avatar
+ 3
Fatih Yalçın window.onload = function(){ ...your code goes here }
23rd Apr 2019, 7:18 PM
ODLNT
ODLNT - avatar
+ 3
It worked thank you so much
23rd Apr 2019, 7:24 PM
Fatih Yalçın
Fatih Yalçın - avatar
+ 3
You're welcome
23rd Apr 2019, 7:45 PM
ODLNT
ODLNT - avatar