Design comparison
Community feedback
- @Ridwan10000Posted 4 months ago
@kikilo123 Congratulations on completing the project. Here are a few remarks:
-
You haven't used the favicon provided with the starter file.
-
Try to use
link
tag instead of using@import
rule in the CSS for better performance. -
Use
main
tag. This is how browsers find the main content of your page. Learn about more semantic tags. -
Do not use
height:100vh
andwidth:100%
for the.container
rule. Your container is holding all your content inside it. Notice It's taking about 90% of the widths for phones' display. So, Usewidth:90vw
instead. Also to restrict it to expand more than a nice width usemax-width
property. -
You don't and shouldn't define an explicit height for contents. It certainly damages the fluidity of your layout. Thus breaks the responsiveness. Instead of using
width: 400px
use % units for retrieve the fluidity of the layout. -
Don't use px units too much. Get into the habit of using relative units. Try em and rem units where necessary. Using px values will restrict the fonts to resize according to the user's will.
-
In the
.butoons .but
rule use relative units. -
Last but not the least, Be careful of changing the title of your page.
Take care of the fluidity of your cards. This will help you a lot building responsive pages. Keep coding. Good Luck
0 -
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