Whis is my code not being accepted even if the desired result can be clearly seen?


#1

I'm on 3rd execise in sorting your friends.
In instruction 1, I'm told to change the height to 100px. Which i did and I am even seeing its result. But when I try to submit the code, it doesn't accept it.

CSS code
div
{
display: inline-block;
margin-left: 5px;
width: 100px;
border: 2px solid black;
height:100px;
border-radius:100%;
}
p
{
text-align:center;
margin-top:40px;
font-size:16px;
}

HTML code
div
{
display: inline-block;
margin-left: 5px;
width: 100px;
border: 2px solid black;
height:100px;
border-radius:100%;
}
p
{
text-align:center;
margin-top:40px;
font-size:16px;
}


#2

Your HTML-Code is the same as your CSS-code ??

I tried your CSS-code in my stylesheet.css
using a windows 8.1 IE11 environment and got a pass....

Maybe...
under certain circumstances you can shoot your Browser in an
inconsistent state.

Therefor it is of an advantage to know that you have 2 reset facilities:

One is the use of the F5-key which does a refresh Browser

and

Two, select&copy your code
Then use the Reset Code button of the course-window,
then paste your code back in.

Addendum
General Notes:
Always refresh the browser after making corrections:
CTRL f5 ( if on Windows or Linux)
CMD r ( if on a MAC).


#3

It worked. I just had my browser's zoom set to 90%.
That's the reason my code wasn't accepted.