+ 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 Answers
+ 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