What am I doing wrong? Section 3 lesson 9


#1

The code that seems right to me is:
$(document).ready(function() {
('p').html("jQuery magic in action!");
});

But I keep getting the error:
"Uncaught TypeError: "p".html is not a function"
Any help would be appreciated

NEVERMIND- I was missing a $ sign- my computer sometmes has ssues with missing keypresses


#2

What you forgot in the code was the --> $ <-- before the ('p').

$(document).ready(function(){
$('p').html("jQuery magic in action!");

});