Assessment requested for background and borders 2 skill test

I got stuck at the second test and i need help.

Here is the link to the page: https://developer.mozilla.org/en-US/docs/Learn/CSS/Building_blocks/Test_your_skills_backgrounds_and_borders

Here is my code:
.box {
border: 5px solid lightblue;
border-bottom-right-radius: 40px;
}

h2 {
background: display: inline-flex;
background-image: url(star.png), url(star.png);
background-repeat: repeat-x, repeat-y;
background-position: center, right;
}

Hi @davieakim and welcome to the community :wave:

Here are some hints:

  • repeat-x has to be replaced with a value that prevents repeating.
  • The first background-position value needs to put the star on the left side.
  • You need some left and right padding on h2 to make the text fit in between the stars.

I hope these hints will get you further. Just ask if you need more help or if you want me to have another look. :slightly_smiling_face:

Have a nice day,
Michael

Thank you very much. I managed to get it right. Sorry for the late reply though I read the message earlier😁.

1 Like

No reason to be sorry. I’m glad I could help :blush: