SyntaxFix
Write A Post
Hire A Developer
Questions
document.getElementById() only takes one argument. You can give them a class name and use getElementsByClassName() .
document.getElementById()
getElementsByClassName()