-
Notifications
You must be signed in to change notification settings - Fork 499
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Ex010 aula 11 erro ao usar getElementById #55
Comments
consegue postar o trecho do código para vermos, pfv |
talvez seja por conta disso aqui. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Ao executar o comando da aula com getElementById e não com querySelector como o professor explica, o site da um erro:
ex010.htm:21 Uncaught TypeError
: Não é possível ler as propriedades de nulo (lendo 'valor')
em calcular (ex010.htm:21:35)
em HTMLInputElement.onclick (ex010.htm:12:65).
Alguém consegue explicar o porque de não conseguir usar getElementById, mas com o querySelector funcionar normalmente ? (só lembrando que estou animado sobre o exercício de velocidade e não o padrão ao final).
The text was updated successfully, but these errors were encountered: