Update README.md

This commit is contained in:
Zubair Desai 2018-08-06 15:37:40 -05:00 committed by GitHub
parent 7957874f09
commit 71f6e6f2eb
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,6 +2,8 @@
Practice manipulating the DOM!
## Part One:
In a separate JS file:
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.
## Part Two:
Afterwards:
4. Add the class of `selected` to an `<li>` when it is clicked. Remove it from any other `li`s as well.