8. Changing your style


#1

$(document).ready(function() {
("div").height("200px");
("div").width("200px");
("div").css("border-radius", "10px");
});

Uncaught TypeError: "div".height is not a function

What did I do wrong?


#2

You need to add $ before ("div")
Like so:

$("div").height("200px");

#3

Thank you - that solved it.