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

Querying the DOM #7

Merged
merged 7 commits into from
Nov 17, 2014
Merged

Querying the DOM #7

merged 7 commits into from
Nov 17, 2014

Conversation

tannerwelsh
Copy link
Contributor

Exercises to cover selecting elements on the DOM.

Covers querySelector and querySelectorAll for finding elements by id,
class, tag name, and name attribute.

Also includes an exercise to learn the getElement(s)ByX methods.

Does not cover manipulating the DOM or reading properties of the elements. That will be a separate set of exercises.

Also includes link to README from Interacting with the User; exercise
titles
Covers querySelector and querySelectorAll for finding elements by id,
class, tag name, and name attribute.

Also includes an exercise to learn the getElement(s)ByX methods.
@tannerwelsh
Copy link
Contributor Author

And another one for ya, @zspencer.


To complete the exercises, open `page.html` in your browser and then open the
[browser's development console](http://webmasters.stackexchange.com/questions/8525/how-to-open-the-javascript-console-in-different-browsers).
Type your JavaScript code directly into the console.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we have an exercise for working with the browser JS console planned?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think that's listed as Level 4 of the "Syntax and Idioms" unit #1

@zspencer
Copy link
Contributor

Overall I think this is 👍 G-R-A-T-E.

A couple points of general feedback:

  • We have a guide to css selectors which you may want to reference. I'll try to pull this into guides.codeunion.io soon.
  • Most of the search terms for the first bit do much better if you substitute css selector to find element by X instead of javascript querySelectorAll.

@tannerwelsh
Copy link
Contributor Author

Thanks for the feedback! Merging...

tannerwelsh added a commit that referenced this pull request Nov 17, 2014
@tannerwelsh tannerwelsh merged commit 59b90b4 into master Nov 17, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants