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

Solution-profile-card-component

hilmi77ā€¢ 250

@hilmi77

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


What are you most proud of, and what would you do differently next time?

--->I did this project without much difficulty.

--->I'm open to any advice you can give me.

-->Is my code clean?

--->Do I have any shortcomings?

--->I'm looking forward to your feedback

Community feedback

Daniel šŸ›øā€¢ 44,230

@danielmrz-dev

Posted

Hello @hilmi77!

Your solution looks great!

The background pattern with the circles is a bit tricky, but here's how I managed to do it, in case you wanna see different options:

šŸ“Œ Add this to the body:

  background-color: var(--Dark-cyan);
  background-image: url("./images/bg-pattern-top.svg"), url("./images/bg-pattern-bottom.svg");
  background-repeat: no-repeat, no-repeat;
  background-position: right 52vw bottom 35vh, left 48vw top 52vh;

I hope it helps!

Other than that, you did an excelent job!

Marked as helpful

0

hilmi77ā€¢ 250

@hilmi77

Posted

@danielmrz-dev I will consider your advice but I want to ask for something: in background-position why you use "vw"

1
Daniel šŸ›øā€¢ 44,230

@danielmrz-dev

Posted

@hilmi77

vw stands for viewport width. That's an unit based on the user's screen size. That's the best option for this case because it keeps the background images responsive. They'll always be positioned based on the user's screen size, no matter how big or small.

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