Hey, great work on this one. The desktop layout looks really nice, the site is responsive and the mobile state looks really nice as well.
Others already gave their feedback which is nice to see, just going to add some suggestions as well and don't mind me if I re-iterate some ideas mentioned already:>
- For the
scss
part, you don't really need to use:
body {
.... other selectors
}
You can just directly target the selectors like .container
, this way you reduce specificity. Also, if you like, you can search about bem
convention. This will help you manage css selectors and create more generic classes. For example, you will have something like:
.cards{
&__container {}
&__list{}
&__item{}
}
This way, you can group them properly if you think about it.
- Adding
max-width
on the body
tag to prevent the layout from stretching. If you try to zoom out on your browser, you'll see that the layout stretches, adding max-width
will prevent that, just make sure to add margin: 0 auto
so that the body
will be centered.
- These two text:
Reliable, efficient delivery
Powered by Technology
Are just one single phrase, meaning instead of using p
tag for the first one, use a single h1
to wrap both lines and just add max-width
on the h1
so that it will limit and create that 2 lines.
- The overall
font-sizes
could be bigger, right now some text are small and they are smaller than the design as well.
- Remember to only use a single
h1
for a site. The h1
typically use on the hero heading like the 2 lines above on the site. So each of the card titles could be replace by just h2
.
- Each images could use an
aria-hidden="true"
attribute so that it will be totally hidden.
Those only. Again, great job on this one.