Closed zmb-mark closed 5 years ago
ids like 1st-section are HTML-valid, but #1st-section is not a valid selector for .querySelector.
1st-section
#1st-section
.querySelector
Proposed solution: Use a selector like [id="#1st-section"].
[id="#1st-section"]
ids like
1st-section
are HTML-valid, but#1st-section
is not a valid selector for.querySelector
.Proposed solution: Use a selector like
[id="#1st-section"]
.