2
u/Ironclad_57 Mar 14 '23
Don’t include the declaration keyword (var let) when you change a variable only on first declaration. So Var i = 0; i = 1;
Not Var i = 0; Var i = 1;
1
u/20_chickenNuggets Mar 15 '23
Just a tip: whenever you encounter an error message then copy it and google it. This will give you so much more information than posting it on Reddit
-2
0
Mar 14 '23
[deleted]
2
u/Affectionate_Tree790 Mar 14 '23
Thank you. I see the error and it’s oversight on my end.
I will state though I’m only two days into trying to teach myself as it is stated in my above message. So please excuse me if the question seems stupid but at this point in time I am stupid in JavaScript.
2
u/Affectionate_Tree790 Mar 14 '23
Just decided to learn coding so I can do a website. The videos I’m watching gave me the challenge to reassign a value.
The video has said to use the console of the developer tools on Google.com but it just doesn’t seem to work how it was explained.
I’ve clicked the learn more but it’s not that helpful.
P.s. it’s not the first time the developer tools have let me down. I can see in video that their code works, so I’m left thinking that the dev tools have been changed on certain websites which is what’s causing most issues. But I don’t know about this, probably me being new.