What are you most proud of, and what would you do differently next time?
in this code I tried to create with mobile design first which in the end it worked even though I was not used to it. maybe next I want to learn to use css preprocessor
What challenges did you encounter, and how did you overcome them?
1.) In your HTML file, you don't have a anything written in your alt text. Alt text provides better SEO because it provides more context about the content, and it helps with accessibility for screen readers.
2.) Also, in your HTML file, you have a <h2> tag above the <h1> which is not correct because heading tags should be used in hierarchical order from <h1> to <h6>. You can replace the <h2> tag with a <span> tag because <span> tags does not affect the heading hierarchy.
<span>Reliable, efficient delivery </span>
<h1> Powered by technology </h1>
Now span is an inline element. So if you want to change it to a block element just use display:block or display:inline-block.
Nice work! I was looking at your code, and I noticed a few things:
Include a full CSS reset which goes at the top of your style sheet, before your body. A full css reset establishes a consistent design across different browsers by removing any default styling that each browser has.
Good job! But I suggest using HSL (hue, saturation, and lightness) values over hex values because it's easier to tweak HSL values over hex values down the road. Also, start incorporating global variables in your style sheet because it allows you to code faster in your style sheet, and if a web developer ever looks at your code, they would know what your values are. W3schools further explains and shows you examples of how to use global variables in your style sheet.
I was reviewing your code, and I noticed that the background color for the page is incorrect. It should be: background-color: #d5e1ef; Also, you need the custom font that is in the style guide in the Starter Files.
It looks amazing! but you are missing the line-spacing property for your h1 and p selectors in your stylesheet. That information can be found in the design Figma files. Also, use em instead of px units because px units are not responsive. You can read more about px vs em units by Grace Snow
You're off to a really great start! but I noticed there are a few things that is missing in your code. One of them is the background color of the page.
body{
background-color: #d5e1ef;
}
Also, the custom font family Outfit is missing in the head section of the index.html file.
Once you copy and paste the code above in the body section of your html file. You will be able set the font family to Outfit in the h1 and p selectors in your stylesheet. Also, you have to change the font-weight to what is shown in the Figma Style folder they provided.