Why wonā€™t this work? | Sololearn: Learn to code for FREE!
Novo curso! Todo programador deveria aprender IA generativa!
Experimente uma aula grƔtis
+ 2

Why wonā€™t this work?

why wonā€™t the JS in this code work? https://code.sololearn.com/WmB29DFQFYR0/?ref=app

19th Aug 2023, 12:34 AM
Defying Gravity
Defying Gravity - avatar
3 Respostas
+ 2
In html, every value passed to the loadNext function should be in single quotes, loadNext('#one', '#two') In js should use document.querySelector instead document.getElementById x should display 'block' and e should display 'none' Missing fifth child background color in css https://code.sololearn.com/W58eXorJ60zf/?ref=app
19th Aug 2023, 4:13 AM
ODLNT
ODLNT - avatar
19th Aug 2023, 4:00 AM
Darpan kesharwanišŸ‡®šŸ‡³[InactivešŸ“š]
Darpan kesharwanišŸ‡®šŸ‡³[InactivešŸ“š] - avatar
+ 1
You can't pass the element through their id selector.
19th Aug 2023, 2:26 AM
zexu knub
zexu knub - avatar