+ 1
31st Jan 2022, 12:58 AM
Fernando Aldridge
Fernando Aldridge - avatar
2 Answers
+ 4
First, Missing parentheses: navLinks.forEach((link, index) Second, error on line 17 due to a line break Third, you should put all your code inside: window.onload = ()=>{//your code} Still has another error that I do not understand 😅 Edit: the other error is the one mentioned by Schnitzler
31st Jan 2022, 1:23 AM
CGM
CGM - avatar
+ 1
i see an error in js line 11, you’re missing a dot. I reccomend you should use a professional ide like vscode. It will help you avoid most of these errors.
31st Jan 2022, 2:02 AM
Moshe Schnitzler
Moshe Schnitzler - avatar