Can’t print my string | Sololearn: Learn to code for FREE!
Neuer Kurs! Jeder Programmierer sollte generative KI lernen!
Kostenlose Lektion ausprobieren
+ 1

Can’t print my string

Hi all Can anyone please explain why my JS code won’t work? I can’t print my variable https://code.sololearn.com/W4oHkLKGXIj4/?ref=app

5th Jul 2018, 9:11 PM
Alex James
Alex James - avatar
2 Antworten
+ 1
ah thanks. ive removed the html from the JS, but now i have the following error: ReferenceError: Can't find variable: documemt https://code.sololearn.com/W4oHkLKGXIj4/?ref=app
5th Jul 2018, 9:25 PM
Alex James
Alex James - avatar
+ 1
ah thanks Mahdy Rafiee i’d written documemt by mistake - doh!
5th Jul 2018, 9:42 PM
Alex James
Alex James - avatar