// Selector Matching
//
// Use jQuery to select the element
// confirm your match by setting the background
// on the element
//
// You can use this pattern to set the color:
// $("selector").css("backgroundColor", "red");
//
// 1) the container div
//$(insert your selector).css("backgroundColor", "red");
// 2) the heading (h1)
// 3) the form
// 4) all hidden inputs
//$(insert your selector).attr('type', 'text').css("backgroundColor", "red");
// 5) all fieldsets
// 6) Just the first fieldset
// 7) the username input field
// 8) the email input field
// 9) the second fieldset only
// 10) all input fields
// 11) all inputs in the second fieldset
// 12) all paragraphs in the footer
// 13) the table header row
// 14) the first cell in the first row of the table body
// 15) the third cell in the second row of the table
// 16) the second column in the table (hint:you will use "nth-child()")
// 17) all odd rows in the table
// 18) all unordered lists within an unordered list
// 19) only paragraphs that are a direct child of the footer div
// 20) the last list item of the inner unordered list ("My Info")
// Bonus) All empty paragraphs (Hint: You'll need to set the height on the paragraph, too)
Please Whitelist JSFiddle in your content blocker.
Help keep JSFiddle free for always by one of two ways:
Whitelist JSFiddle in your content blocker (two clicks)
Go PRO and get access to additional PRO features →
Join the 4+ million users, and keep the JSFiddle dream alive.
Ad-free
All ads in the editor and listing pages are turned completely off.
Use pre-released features
You get to try and use features (like the Palette Color Generator) months before everyone else.
Fiddle collections
Sort and categorize your Fiddles into multiple collections.
Private collections and fiddles
You can make as many Private Fiddles, and Private Collections as you wish!
Console
Debug your Fiddle with a minimal built-in JavaScript console.