Check your CSS color values again. The style guide states that grayish blue is hsl(220, 15%, 55%)
, but you have:
body {
...
color: hsl(218, 44%, 55%);
}
So it would have seemed that you used the saturation for dark blue in the place of the saturation for grayish blue. You've also used the lightness for grayish blue in the place of the lightness for dark blue.
To improve your odds of avoiding these types of mix-ups, it helps to use CSS variables to assign names to values. This keeps those styles in one place and gives that color a connection to the style guide. For example, you could have:
:root {
--white: hsl(0, 0%, 100%);
--light-gray: hsl(212, 45%, 89%);
--grayish-blue: hsl(220, 15%, 55%);
--dark-blue: hsl(218, 44%, 22%);
}
And then you could use the variables throughout your CSS:
body {
...
color: var(--dark-blue);
}
main {
background-color: var(--light-gray);
...
}
...
.modal {
background-color: var(--white);
}
...
.subtitle {
...
color: var(--dark-blue); // Not hsl(255, 100%, 0%)
...
}
...
@media only screen and (min-width: 500px) {
main {
background-color: var(--light-gray);
...
}
...
}
This reduces code duplication, makes your code more readable, and keeps the values that need to change for a single reason together. If any of your colors don't look correct for any reason, you could always look at the variable name used, then go to :root
to see what color value it was assigned. All your color values are kept in one place (being :root
) and you can fix all instances of the same bug wherever the color is used.
For your text not being in the correct font family, double-check to make sure that you copied the all the proper HTML tags from Google Fonts to your index.html
. There are usually 3 different <link> tags for you to copy, not just 1.
Also, there's no styles provided for the .description
class. Check to make sure you have them in your CSS files on your device. And if you already do, then it's likely that you didn't commit them to git properly, or it didn't get pushed properly to GitHub.