3.variables need help



Uncaught SyntaxError: Invalid or unexpected token
What am I missing?????

<!DOCTYPE html>
		<title>Simplify, Simplify</title>
        <script type='text/javascript' src='script.js'></script>
        <div> Remember!
                        <li>Start with the function keyword</li>
                        <li>Inputs go between ()</li>
                        <li>Actions go between {}</li>
                        <li id="duh">jQuery is for chumps!</li>
                <li>Inputs are separated by commas.</li>
                <li>Inputs can include other functions!</li>

// Write your jQuery code on line 3!
$(document).ready(function() {
var $target = #duh;


when you want to select something, you need to use $("selector"):

var $target = $("li")

the code above will select list element.


There's your critter. Do you not know what to write there? Is that your question?


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.