Design comparison
SolutionDesign
Solution retrospective
Solved this challenge using plain html and css with the help of flexbox. Please have a look at my code and give me tips to improve.
Community feedback
- @pRicard0Posted about 1 year ago
Some HTML tips
- Instead of using span, you can use em and s. The
<em>
tag is used to define emphasized text. The<s>
tag specifies text that is no longer correct, accurate or relevant. The text will be displayed with a line through it. em for emphasis and s for strikethrough - You can use the tag
<main>
instead of the div with the "main" class - You can use h1 for the title and h2 for subtitle.
Some CSS tips
- You can add some effects to the button like....
button:hover { transform: scaleY(1.1); }
and...
button { cursor: pointer; transition: 150ms; }
Marked as helpful1@Ranadheerm6Posted about 1 year ago@pRicard0 Thank you for the feedback :) Will keep these in mind
0 - Instead of using span, you can use em and s. The
Please log in to post a comment
Log in with GitHubJoin 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