@accamamuhammad
Posted
Nice try at the design but you should not;
1.use specific height for main container it is better practice to use height: fit-content
then use padding:
to create spacing around keep in mind if your not using box-sizing: border-box
it will create extra spacing around the container.
2. if your not sure which colour to use there is a website called colour finder here is a link to it
color finder when you visit the website drag and drop the design image provided to you by frontend mentor and click on the place you want to know the colour of and then copy the hex value of the colour to use in your css.
3.And dont forget to add border: radius
to the image and the main container tag.