Submitted 9 days ago
I used SASS mainly and some of the basic CSS
#sass/scss
@MuftiBinHabib
Design comparison
SolutionDesign
Solution retrospective
What are you most proud of, and what would you do differently next time?
I am proud that I first used SASS and want to shorten my code and make it more efficient.
What challenges did you encounter, and how did you overcome them?N/A
What specific areas of your project would you like help with?N/A
Community feedback
- @ChamuMutezvaPosted 9 days ago
Hi MuftiBinHabib
Congratulations for taking your first challenge. Here are a few things to look at.
- landmark elements such as the
main
are needed for the organisation and structure of your website. This challenge needs themain
element whose contents are focused on the main reason of the website. - the second heading element should be a
p
element. Since this is just a component the first heading element can be anh2
element. At the same time I should explain further that in a complete website your current settings of heading order will be fine. - using explicit width should be with caution as that can cause your site to be unresponsive. You need to create a site that is responsive . That can be achieved by a combination of
max-width
in rems andwidth
as a percentage100%
. The idea here is to make the site to grow to a certain width on desktop but as the same time allow it to scale on small devices. - always use a Modern CSS reset stylesheet to normalise your CSS. One common one is by Andy bell .
- avoid unnecessary chaining your styles like
.card .heading2
by simply keeping the specificity as low as possible. Here you can just use.heading2
- the component is not centered. Research on Flexbox , that will help you to center the component
0 - landmark elements such as 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