+ 1
javascript please anyone
nav /burger/list https://code.sololearn.com/WFh8oYEpZyzs/?ref=app
2 Respostas
+ 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
+ 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.