Skip to content
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

Rework DOM to better separate elements from events #1074

Merged
merged 9 commits into from
Oct 29, 2024
Prev Previous commit
Next Next commit
Update common-content/en/module/js2/querying/index.md
Co-authored-by: Sally McGrath <sally@codeyourfuture.io>
  • Loading branch information
illicitonion and SallyMcGrath committed Oct 29, 2024
commit 45e945a2a404fcfbf0e43f3e71933f6feab04b88
2 changes: 1 addition & 1 deletion common-content/en/module/js2/querying/index.md
Original file line number Diff line number Diff line change
@@ -88,7 +88,7 @@ console.log(textarea.value); // evaluates to the value typed by the user
{{<tab name="🖲️ Follow along">}}

1. On your local machine, set up a new directory with an `index.html` and `script.js`.
2. Make sure you start with the same static html as the example above.
2. Make sure you start with the same static HTML as the example above.
3. Double check your script file is linked to your html file.
illicitonion marked this conversation as resolved.
Show resolved Hide resolved
4. Try querying the DOM and accessing various elements like the `textarea` element.
5. Try typing in the `textarea` element, and then accessing its `value` property in Dev Tools.