Skip to content

Commit

Permalink
Merge pull request learn-co-curriculum#2 from rocketNeck/rocketNeck-1…
Browse files Browse the repository at this point in the history
…462241559

Updated README.md
  • Loading branch information
AnnJohn committed May 3, 2016
2 parents e7b5395 + 2e61308 commit 8b1e81e
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ At the bottom of `index.html`, right before the closing `body` tag, we'll want t
</script>
```

Between these tags is where we want to write our inline jQuery. The script tags need to be at the bottom of the page because the code we're going to write it dependent on the `p` tag being already loaded in the browser. Our jQuery will error if there isn't a `p` tag to add text to.
Between these tags is where we want to write our inline jQuery. The script tags need to be at the bottom of the page because the code we're going to write is dependent on the `p` tag being already loaded in the browser. Our jQuery will error if there isn't a `p` tag to add text to.

And now, in between the script tags, add the following code:

Expand All @@ -46,3 +46,5 @@ The `$` tells our browser that we're using jQuery. The `("#yo")` is our jQuery s
Don't worry too much about the mechanics of these selectors and functions, we'll go over those in way more detail. Just notice that the text appeared on the screen!

<p data-visibility='hidden'>View <a href='https://learn.co/lessons/js-jquery-modify-html-readme' title='Modify HTML With jQuery'>Modify HTML With jQuery</a> on Learn.co and start learning to code for free.</p>

<p class='util--hide'>View <a href='https://learn.co/lessons/js-jquery-modify-html-readme'>Modifying HTML with jQuery</a> on Learn.co and start learning to code for free.</p>

0 comments on commit 8b1e81e

Please sign in to comment.