Javascript Error
So I was making a project with my buddy @sqcodes and we came across this javascript error when we submit the "form". It's really weird and we couldn't figure it out
Here's the Error:
TypeError: Cannot read properties of null (reading 'value')
at yes (/script.js:7:46)
at HTMLButtonElement.onclick (/:17:29)
Does anybody have any suggestions?
Thanks!
- DaxCodes & SQCodes
Voters
<input if="q2" type="text">
You have 'if' instead of 'id' .-.
@MrVoo Oh. Thank you!