Update README.md

master
Zubair Desai 7 years ago committed by GitHub
parent 7957874f09
commit 71f6e6f2eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      README.md

@ -2,6 +2,8 @@
Practice manipulating the DOM! Practice manipulating the DOM!
## Part One:
In a separate JS file: In a separate JS file:
When the page loads: When the page loads:
@ -12,6 +14,8 @@ When the page loads:
3. Create an image tag, set its `src` attribute to `http://49.media.tumblr.com/tumblr_m6qt1rjPSz1rxjzkho1_500.gif`, and append the to the `#greeting` div. 3. Create an image tag, set its `src` attribute to `http://49.media.tumblr.com/tumblr_m6qt1rjPSz1rxjzkho1_500.gif`, and append the to the `#greeting` div.
## Part Two:
Afterwards: Afterwards:
4. Add the class of `selected` to an `<li>` when it is clicked. Remove it from any other `li`s as well. 4. Add the class of `selected` to an `<li>` when it is clicked. Remove it from any other `li`s as well.

Loading…
Cancel
Save