This is a solution to the Results summary component challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
This challenge is a very simple page showing a single card with two columns showing data inside. A very good exercise for practicing HTML layouts and CSS styling for mobile and desktop. A bonus challenge was added for loading a JSON file for data retrival.
Users should be able to:
- View the optimal layout for the interface depending on their device's screen size
- See hover and focus states for all interactive elements on the page
- Bonus: Use the local JSON data to dynamically populate the content
- Solution URL: Find solution here
- Live Site URL: Find live site here
I began making layout in HTML, then styling with CSS for mobile and desktop versions requested. After been succesful with pixel perfect appereance I went for the bonus writing a script for loading data from json file. After some thinking I migrated the whole thing to React.JS, since with components this would be really easy. Finally, I tested everything and I sent it.
- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid
- Mobile-first workflow
- React JS
- Typescript
- CSS color-mix new function for transparencies
I learned more good practices for dual CSS styling with @media queries for mobile first and then for desktop. This was a good practice for a React JS simple project.
- PicPick - Very useful tools for web development tasks, like measuring of pixels on image and a very nice color picker.
- LinkedIn - Gonzalo Manuel Núñez
- Frontend Mentor - @gnunez0101