What am I doing wrong with this code?


#1



I think I created variable $h1 like below, but they're asking me if I created a variable called $h1. What am I missing?


$(document).ready(function(){
    var $h1 = $("<h1>Hello</h1>");
});


#2

@dlanna,
Could you provide a link to the lesson....


#3

https://www.codecademy.com/courses/web-beginner-en-v6phg/0/1?curriculum_id=50a3fad8c7a770b5fd0007a1


#4

@dlanna,
I would recommend this old-link with @mtf comments....
https://www.codecademy.com/forum_questions/555db1a09376762a7e0001dc


#5

Wow. This was exactly same question with mine.
Thank you, Leon!


#6

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