fem-challenges

Profile Card

The Challenge, Finished Project, and Refactored Project

Frontend Mentor Profile Card Component Challenge

Finished Project

Refactored Project

Presentation and Components

Technical Questions

Presentation Wrapper

How are the background graphics loaded and made responsive?

⚡ there is a simpler way to get this done without the use of pseudo-elements, updated code based on example on Afolabi Oseni’s solution

How is the component most easily centered?

How should the child elements/components be spaced?

Card

How is the card responsive but also constrained to its min/max widths?

How is the avatar image presented framed in a circle?

How is the avatar offset from the background graphic?

What is the best way to structure the identity?

What is the best way to structure the statistics section and each stat?

Naming Decisions

Class Description
pc the Profile Card
pc-Wrapper the Presentation Wrapper
pc-Avatar background and photo
pc-Identity name and title
pc-Stats statistics list

Thoughts