Code Challenge : CSS Position

Why the hello world! is not coming in the circle and second string ABCDEF too, aren’t they supposed to come in to circle ?

Can we see the CSS code as well, please?

I haven’t changed anything in css although after i cleared challenge i thought if i write string in div, it will come into circle but it’s not, don’t know why ? and also if i uncomment position strings are overlapse into each other.

Is the text meant to be in the circles? It seems that the text is correctly positioned; there’s just a big border-radius value. If you remove that, you should see the text is within the coloured border.

1 Like

If you want to put the texts in the middle of the circle, you can add this properties to the circle class:

  text-align: center;
  line-height: 200px;
1 Like