This is a solution to the 3-column preview card component challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
This was a great challenge that I really enjoyed completing.
Users should be able to:
- View the optimal layout depending on their device's screen size
- See hover states for interactive elements
- Solution URL: [(https://www.frontendmentor.io/challenges/3column-preview-card-component-pH92eAR2-/hub)]
- Live Site URL: [(https://kxtara.github.io/3-column-preview-card/)]
When I saw the challenge, I knew that I was going to use Flexbox. I structured my HTML with three different sections for the three columns, then I added the images and text. Next, I moved on to the styling, where I decided to use "rem" instead of "pixels".
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- Mobile-first workflow
During this challenge, I learned to use relative units instead of absolute units.
Moving forward I want to work more with active states, Grid, and transitions.
- Frontend Mentor - @kxtara
- Twitter - @kiarahoheb