HTML and CSS Reference
In-Depth Information
Exercises
1.
Download jQuery and use the
<script>
tag to load it in a web page.
2.
Use jQuery to disable all the links on a web page.
3.
Use jQuery to cause a border to appear around all the links on a web page when
the user mouses over them. Make sure to remove the borders when the user moves
the pointer away from the link.
4.
Try to add a link to a web page that uses AJAX to retrieve the local temperature
from a weather site for your city. You'll need to find the URL for a page with your
city's weather on it, and then create the correct selector to extract only the informa-
tion you want from that page. After you find the weather page, view the source on
it to figure out how to extract the information using a jQuery selector.
16

