Return to Video

youtoggleClass() Quiz - Intro to jQuery

  • 0:00 - 0:02
    Ready to change some classes?
  • 0:02 - 0:06
    There's an element in the DOM with the class featured that I want you to change.
  • 0:07 - 0:11
    An element that's featured sort of has a bluish color background.
  • 0:11 - 0:16
    Can you use the .toggle class method to remove the featured background from
  • 0:16 - 0:17
    Article number 2?
  • 0:17 - 0:21
    Check out the documentation for toggle class and give it a shot.
  • 0:21 - 0:24
    Before we start, let's see what the page looks like before we toggle the class.
  • 0:24 - 0:27
    I've gone ahead and hit Test Run, and I'll scroll down.
  • 0:29 - 0:31
    We can see that Article 2 has this blue background.
Cím:
youtoggleClass() Quiz - Intro to jQuery
Leírás:

more » « less
Video Language:
English
Team:
Udacity
Projekt:
ud245 - Intro to JQuery
Duration:
0:32

English subtitles

Felülvizsgálatok Compare revisions