My code isn't working

$(document).ready(function() {



$("div").height("200px");
    $("div").width("200px");
    $("div").border-radius("10px");
});

border-radius does not have a convenience method and must be selected with the .css() method.

$('div').css('border-radius', '10px')
2 Likes

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