+ 3
U can use document.querySelector(YOUR_ID)
14th Jan 2022, 12:24 PM
Pariket Thakur
Pariket Thakur - avatar
+ 2
Please show you code then can be said why you have errors.
14th Jan 2022, 12:05 PM
JaScript
JaScript - avatar
+ 2
document.querySelectorAll("id or class name")[index]
14th Jan 2022, 12:50 PM
Chigozie Anyaeji 🇳🇬
Chigozie Anyaeji 🇳🇬 - avatar