Haziq• 320
@zyq-m
Posted
Hi Junaid.
Congrats for completing this challenge. I notice that a few mistake in your code.
body
does not need color- set
body
's height eg:body { height: 100vh; }
- center the
main
by doing this simple line of codebody { display: grid; place-items: center; height: 100vh; }
- background image should not be in
main
instead it should be in thebody
- you should set the
max-width
ofmain
so that your content does not stretch after1440px
view
For better understanding you can refer to my code. I've done this challenge.
Happy coding!!
0