i just start learning js for few month and now i have no idea what is going on with. my code no matter how many times to find pr | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

i just start learning js for few month and now i have no idea what is going on with. my code no matter how many times to find pr

var older=20; if (older<=6); { document.write("sorry your age dosen't allow you to open these browser"); } else { document.write("you can check our website as long as you mature"); }

18th Feb 2020, 11:50 AM
yassin tafouzert
yassin tafouzert - avatar
1 Answer
+ 2
remove ; after if
18th Feb 2020, 11:53 AM
Taste
Taste - avatar