Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
58
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.69 KB | None | 0 0
  1. Traversing
  2.  
  3. Open the file /exercises/index.html in your browser. Use the file /exercises/js/sandbox.js or work in Firebug to accomplish the following:
  4.  
  5. Select all of the image elements on the page; log each image's alt attribute.
  6.  
  7. Select the search input text box, then traverse up to the form and add a class to the form.
  8.  
  9. Select the list item inside #myList that has a class of "current" and remove that class from it; add a class of "current" to the next list item.
  10.  
  11. Select the select element inside #specials; traverse your way to the submit button.
  12.  
  13. Select the first list item in the #slideshow element; add the class "current" to it, and then add a class of "disabled" to its sibling elements.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement