Skip to content

Commit

Permalink
About: Added warning divs where appropriate
Browse files Browse the repository at this point in the history
Closes gh-674
  • Loading branch information
agcolom committed Oct 17, 2015
1 parent 3754358 commit d8a8b8e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions page/about-jquery/how-jquery-works.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ This is a basic tutorial, designed to help you get started using jQuery. If you

The `src` attribute in the `<script>` element must point to a copy of jQuery. Download a copy of jQuery from the [Downloading jQuery](http://jquery.com/download/) page and store the `jquery.js` file in the same directory as your HTML file.

*Note: When you download jQuery, the file name may contain a version number, e.g., `jquery-x.y.z.js`. Make sure to either rename this file to `jquery.js` or update the `src` attribute of the `<script>` element to match the file name.*
<div class="warning">**Note**: When you download jQuery, the file name may contain a version number, e.g., `jquery-x.y.z.js`. Make sure to either rename this file to `jquery.js` or update the `src` attribute of the `<script>` element to match the file name.</div>
### Launching Code on Document Ready
Expand Down Expand Up @@ -117,7 +117,7 @@ The following example illustrates the click handling code discussed above, embed
### Adding and Removing an HTML Class
**Important:** *You must place the remaining jQuery examples inside the `ready` event so that your code executes when the document is ready to be worked on.*
<div class="warning">**Important:** You must place the remaining jQuery examples inside the `ready` event so that your code executes when the document is ready to be worked on.</div>
Another common task is adding or removing a class.
Expand Down

0 comments on commit d8a8b8e

Please sign in to comment.