Tell us what’s happening:
Your code so far
Your browser information:
Your Browser User Agent is: Mozilla/5.0 (Linux; U; Android 4.2.2; fa-ir; GT-S7582 Build/JDQ39) AppleWebKit/534.30 (KHTML, like Gecko) Version/4.0 Mobile Safari/534.30
.
Link to the challenge:
https://www.freecodecamp.org/challenges/comment-your-javascript-code
Please post examples of what you have tried and what isn’t working.
Function getstuff(){
Document.queryselector(’#text1’).onclick=talk;}
Function talk(){
Alert (‘hello’);}
Window.onload=getstuff;
This is simple code .and im just a beginer and i started learning…but its not working i dont know why…that was working before but now NO
I linked html to java script currect…and i tried with diffrent browsers but still not work
use small case for the below keywords in your code
function
alert
window
even document should be small case