JQuery Selectors

by Matt Ruby

HTML

<h1>Jquery Selectors</h1>
<p>Given the (not so great) dom elements below, please do the following:
    <ul>
        <li>Turn the first paragaph red</li>
        <li>Change the second header text to say: Hello</li>
        <li>Make the second header green</li>
        <li>Move the second paragraph under the first test header</li>
    </ul>
    
</p>


<div class="test">
    
    <h2>Test header</h2>
    
    <p id="testParagraph1">
        Paragraph 1
    </p>
    
    <h2>Test header</h2>
    
    <p id="testParagraph2">
        Paragraph 2
    </p>
    
</div>