Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Results Summary Component

TreNyceCodesβ€’ 230

@TrenyceCodes

Desktop design screenshot for the Results summary component coding challenge

This is a solution for...

  • HTML
  • CSS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


Just finished another project. I was able to understand how to make it responsive to mobile devices. I did not get it to match the exact design but I'm happy it turned out well. If you have any feedback on how I can improve my responsive design abilities then let me know.

Community feedback

Saad Hishamβ€’ 1,750

@Saad-Hisham

Posted

Hey there! Great job on your work so farI have a few tips to make it even better. 😊

Firstly, I noticed that the sizes aren't consistent with the design. Let's fix that up, shall we? Here's the code snippet with the changes:

.summaryCard {
width: 100%;
max-width: 736px;
height: auto;
max-height: 513px;
display: flex;
}

.summaryCard .summaryResults {
height: 100%;
width: 50%;
}

.summary {
height: 100%;
width: 50%;
}

.summaryReactionItem,
.summaryMemoryItem,
.summaryVerbalItem,
.summaryVisualItem {
margin-top: 2rem;
}

.continueBtn {
width: 100%;
}

Secondly, it would be helpful to add a cursor pointer when hovering over the button to let the user know that it's clickable. You can achieve this by adding the following code:

button.continueBtn {
cursor: pointer;
}

Thirdly, to improve accessibility, it's best to wrap your card in a main tag instead of a div tag.

Lastly, I recommend using graphic software like Photoshop to get accurate sizes and colors from the picture. Overall, your solution is great, and I encourage you to keep up the good work! πŸ˜ƒ

Marked as helpful

0

TreNyceCodesβ€’ 230

@TrenyceCodes

Posted

@Saad-Hisham thank you. I will update my code later.

Happy Coding!

0

Please log in to post a comment

Log in with GitHub
Discord logo

Join our Discord community

Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!

Join our Discord