Why my JavaScript file not working? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 2

Why my JavaScript file not working?

I tried changing path or keeping it in separate folder but still not working please help or I am making some stupid mistake.I am trying on my desktop but getting no output. https://code.sololearn.com/WJTJoyURonQH/?ref=app

18th Apr 2019, 4:27 PM
avinash kumar
3 Answers
+ 5
Your js file is in the JavaScript tab... You can't use files in your desktop, you can use "CDN"
18th Apr 2019, 5:03 PM
InvBoy [ :: FEDE :: ]
InvBoy [ :: FEDE :: ] - avatar
+ 3
What exactly doesn't work?
18th Apr 2019, 6:22 PM
InvBoy [ :: FEDE :: ]
InvBoy [ :: FEDE :: ] - avatar
0
const InvBoy = me; why do I need cdn when I am using same code in desktop.I have written both html and JavaScript . It's not the only code I tried quiz game from Udemy and in that's also my JavaScript not working.
18th Apr 2019, 5:23 PM
avinash kumar