8. Changing your Style


I've clearly done something wrong here, and I am completely unsure on what it actually is. I've checked through a few other similar problems on this, and they fixed it by making their code what mine is, however that doesn't seem to work for me.

Here's my current code.

$(document).ready(function() {
    $('div').css("border-radius": 10);

The error it shows is : "Oops, try again. Did you give your

a height of 200px?"

I've clearly done something wrong, I just can't actually see what that said thing is.


Here you have a mistake

$('div').css("border-radius": 10);

This is correct:



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