Design comparison
Solution retrospective
What you're most proud of is your growing expertise in web development and your involvement in various activities, such as your leadership roles in your hostel committee and your participation in the Smart India Hackathon. Your ability to balance academics, projects like your research paper on 5G technology, and extracurriculars shows your strong dedication and passion for learning and growing.
What challenges did you encounter, and how did you overcome them?For you, the challenges you've encountered likely include managing multiple responsibilities at once, such as balancing your studies, projects like your research paper on 5G technology, extracurricular activities, and leadership roles in your hostel committee. Another challenge could be mastering new skills, like when you worked on the JavaScript snippet for the tic-tac-toe game or tackled C++ concepts like constructors and destructors.
What specific areas of your project would you like help with?Guidance on making the webpage fully responsive and functional on mobile devices could enhance the user experience.
Community feedback
- @MikDra1Posted 2 months ago
If you want to make your card responsive with ease you can use this technique:
.card { width: 90%; max-width: 37.5rem; }
On the smaller screens card will be 90% of the parent (here body), but as soon as the card will be 37.5rem (600px) it will lock with this size.
Also to put the card in the center I advise you to use this code snippet:
.container { display: grid; place-items: center; }
Hope you found this comment helpful 💗💗💗
Good job and keep going 😁😊😉
0 - @StroudyPosted 2 months ago
Awesome job tackling this challenge! You’re doing amazing, and I wanted to share a couple of suggestions that might help refine your approach…
-
You have wrapped
<p><img>
in<div>
and is completely unnecessary and confusing, -
Using a
<main>
tag inside the<body>
of your HTML is a best practice because it clearly identifies the main content of your page. This helps with accessibility and improves how search engines understand your content. -
Avoid using
id
selectors for styling in CSS because they are too specific and hard to override, making your styles less flexible and maintainable. Instead, use class selectors (.
), which are reusable and more manageable, allowing for better control over your styles and easier updates. -
I think you could benefit from a plugin on VS code called Prettier, It will format your code make it more easily readable.
-
Developers should avoid using pixels (
px
) because they are a fixed size and don't scale well on different devices. Instead, userem
orem
, which are relative units that adjust based on user settings, making your design more flexible, responsive, and accessible. For more information check out this, Why font-size must NEVER be in pixels or this video by Kevin Powell CSS em and rem explained.- Another great resource for px to rem converter.
You’re doing fantastic! I hope these tips help you as you continue your coding journey. Stay curious and keep experimenting—every challenge is an opportunity to learn. Have fun, and keep coding with confidence! 🌟
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