Skip to content

About: Added warning divs where appropriate #674

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
wants to merge 1 commit into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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