Update README.md
This commit is contained in:
parent
7957874f09
commit
71f6e6f2eb
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user