We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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鈥檒l occasionally send you account related emails.
Already on GitHub? Sign in to your account
Querying should be wrapped in event listeners such as document.addEventListener('DOMContentLoaded', ...) or a Web Component.
document.addEventListener('DOMContentLoaded', ...)
const el = document.querySelector('.my-element')
document.addEventListener('DOMContentLoaded', function() { const el = document.querySelector('.my-element') })
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Querying should be wrapped in event listeners such as
document.addEventListener('DOMContentLoaded', ...)
or a Web Component.馃憥馃徎 Examples of bad code.
馃憤馃徎 Example of good code.
The text was updated successfully, but these errors were encountered: