help debug my code | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

help debug my code

Long story , I copied this code from youtube (link in a couple of more lines) copied pasted from git hub, don't know what is wrong with the code. The console reads Unexpected identifier, so I don't know if I need a let variable. I know I still have to clean up the code and make it more readable, but before I stare at this code for a couple of days for some simple explanation , I'd rather ask away. https://code.sololearn.com/WBJvYlzC09dd/?ref=app

20th Aug 2019, 12:49 AM
Leonardo Monterey
Leonardo Monterey - avatar
6 Answers
+ 2
Just copy codes to respective section will do. https://code.sololearn.com/W1KaRUK7YOXi/?ref=app
20th Aug 2019, 1:35 AM
Calviղ
Calviղ - avatar
+ 1
You should copy the github codes from raw format, click the raw button on code page. Note that store.js only utilities in store.html, not index.html https://code.sololearn.com/W90pLobV3nKY/?ref=app
20th Aug 2019, 1:03 AM
Calviղ
Calviղ - avatar
+ 1
wow that worked, I am kinda new to this copy stuff from git hub
20th Aug 2019, 1:05 AM
Leonardo Monterey
Leonardo Monterey - avatar
+ 1
thanx nice code :p
20th Aug 2019, 1:37 AM
Leonardo Monterey
Leonardo Monterey - avatar
0
ok thanks let me review that, I posted the link for the video, its about 40 min long
20th Aug 2019, 1:03 AM
Leonardo Monterey
Leonardo Monterey - avatar
0
I did copy from raw, but how do I paste it over to the lines or do I have to edit that
20th Aug 2019, 1:08 AM
Leonardo Monterey
Leonardo Monterey - avatar