9/14 modifying html


#1

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

error it gives
It looks like your paragraph's text isn't 'jQuery magic in action!'

Please can anyone see what I am not seeing


#2

@imadedami,

Instructions: (for jQuery-> Modifying HTML Elements 9/14 )
We've added a paragraph to our HTML document. Use the .html() function to set its text to "jQuery magic in action!" (Don't forget the exclamation point!)

So instead of using the div-Tag in your jQuery-Selector
you should use the p-Tag like
$('p')


#3

Thanks leonhard_wettengmx_n worked, wonder why I didn't take note of that. Appreciate