Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

profile

arash 280

@deadazix

Desktop design screenshot for the Profile card component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


i cant set background like what challenge asked :(

Community feedback

ROCKY BARUA 1,090

@Drougnov

Posted

Hello, @deadazix good job.

To set those patterns you can use pseudo-elements like before, after. Use this code:

body::before {
  background: url(./images/bg-pattern-top.svg) no-repeat bottom right;
  top: 0;
  left: 0;
}
body::after {
  background: url(./images/bg-pattern-bottom.svg) no-repeat top left;
  top: 100%;
  left: 100%;
}

And some other things:

  • To make it accessible try not to use the div tag as much as you can. You can use the main tag to the container.
  • Try to implement the design as accurately as possible. Such as using the font family, font size, etc. as they asked to use.

Happy coding and have a good day. ♥

Marked as helpful

1

arash 280

@deadazix

Posted

hi @Drougnov thanks for feedback i didnt know we can set background this way! i mean setting position after url !

1
P
AK 6,700

@skyv26

Posted

Hi, Arash i can help you, even guide you with a little tutorial .

1

Please log in to post a comment

Log in with GitHub
Discord logo

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord