Hi guys any ideas? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Hi guys any ideas?

I made this code and can’t figure out why it’s throws an error, sorry still quite new to this any help would be much appreciated. https://code.sololearn.com/Wd5hzGuFtZTO/?ref=app

5th Dec 2018, 1:47 AM
Archie Main
5 Answers
+ 3
[FIXED] Note, you're in Q&A. I see a code you just posted into a Lesson comment ... with a similar topic ... but currently marked "Private". If that's the code, would you mind adding it to your question here (or making it public)?
5th Dec 2018, 2:14 AM
Kirk Schafer
Kirk Schafer - avatar
0
if you are using javascript use console.log(variable) to test a variable's return and see what is wrong, and exactaly what is wrong with your code?
5th Dec 2018, 1:56 AM
Gustavo Freire Santos
Gustavo Freire Santos - avatar
0
Kirk Schafer just made it public any help is ideal mate thank you
5th Dec 2018, 10:33 AM
Archie Main
0
you are missing 2 ; your code (when setting innerHtml of your element
5th Dec 2018, 11:04 AM
Gustavo Freire Santos
Gustavo Freire Santos - avatar
0
Gustavo Freire Santos just changed that and updated, still not working properly, any other ideas?
5th Dec 2018, 12:28 PM
Archie Main