Having issues with button error in both Javascript and HTML. | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 1

Having issues with button error in both Javascript and HTML.

The current problem: The Topleft button So, I am having issues with the onclick event. I have the button as a function in the javascript. However, It seems that the buttons in the HTML tab dont recognise it being called and says that function doesnt exist. It may have been something that I forgot to do, or I forgot a certain rule when using an onclick event. If you can figure out what I missed let me know. The link to the code: https://code.sololearn.com/WP27O8nyLihq/?ref=app

18th Nov 2018, 10:09 PM
Brett
Brett - avatar
2 Answers
+ 1
I will go ahead and add @media to make it fit. Jack Rehfeldt
18th Nov 2018, 10:25 PM
Brett
Brett - avatar
0
Kryptix your CSS for the button makes the button appear offscreen.
18th Nov 2018, 10:24 PM
Yosharu
Yosharu - avatar