3. Modifying HTML Elements / 9. Modifying Content - Don't Hate Single Quotes!


#1


JQuery 3.9 Modifying Content


Until now, I could use single quotes for everything. This lesson fails 'JQuery...' but passes "JQuery..." even though programmatically they are exactly the same thing.


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


#2

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