This is a solution to the Testimonials grid section challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.
Users should be able to:
- View the optimal layout for the site depending on their device's screen size
- Source code: https://github.com/romila2003/Testimonials-grid-section
- Live website: https://romila-testimonials-grid-section.netlify.app/
- Semantic HTML5 markup
- SASS (SCSS)
- Flexbox
- Grid
- Mobile-first workflow
For this challenge, I really improved my Grid skills as I had to rearrange the cards to make it look like the design provided. The challenging part was making my SCSS orgnised, particularly the media queries. Overall, I enjoyed completing this challenge and look foward to using Grid in my future projects.
SCSS - Grid:
@media (min-width: 900px) {
&:first-of-type {
grid-column: 1/3;
grid-row: 1/2;
}
&:nth-child(2) {
grid-column: 3;
}
&:nth-child(3) {
grid-row: 2;
}
&:nth-child(4) {
grid-row: 2;
grid-column: -4/-2;
}
&:last-of-type {
grid-row: 3/1;
grid-column: 4/4;
}
}
For future developments, I should focus on building web pages to work on my HTML and CSS skills on layouts. Also, I should focus on working with more javascript projects in the junior section. Regarding my SCSS, I am considering to create seperate SCSS files to organise my code more efficiently.
- Frontend Mentor - @romila2003
- Twitter - @romila003