SyntaxFix
Write A Post
Hire A Developer
Questions
Although this is valid in HTML, you can't use an ID starting with an integer in CSS selectors.
As pointed out, you can use getElementById instead, but you can also still achieve the same with a querySelector:
getElementById
querySelector
document.querySelector("[id='22']")