Note: Delete this note and update the table of contents based on what sections you keep.
I am a newbie in world of front-end developer. I have a basic understanding of HTML, CSS and Js. So I started out this amazing challenge to build out this profile card component and get it looking as close to the design as possible. So if you've got something you'd like to practice, feel free to give it a go.
Thanks for checking out this front-end coding challenge.
Frontend Mentor challenges help you improve your coding skills by building realistic projects.
To do this challenge, you need a basic understanding of HTML and CSS.
This is a solution to the Profile card component challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
- Build out the project to the designs provided and it should look as close to the design as possible.
This is a desktop view
This is a mobile view
- Live Site URL: Live site
- Firstly, gave a close look to the design provided. Divided UI design into different components.
- Set the main/parent div called card which has child classes called card-top for placing top image inside card and card-content for all the hearder and dp
- A div class class called card-footer for placing values and aliging this using flex, setting flex-direction to column.
- Providing other styling properties for each class.
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- media
I learnt how to use divs and styling components like - flex, transform, position, how to align items, how to handle text font size and color, how to use border and how to play with background - images, url etc.
. {
display: flex;
flex-direction: column;
}
. {
@media (max-width:480px){
}
}
- Website - Achal Mukaty
- Frontend Mentor - @yashmukaty