Css Grid: Build a Magazine Layout (Step 79)
I am receiving the following error message:
Sorry, your code does not pass. Keep trying.
Your new @media
rule should have a .hero-title
selector, a .hero-subtitle, .author, .quote, .list-header
selector, a .social-icons
selector, and a .text
selector. These selectors should be in this order.
My code is as follows:
**@media only screen and (max-width: 550px) {
.hero-title {
font-size: 6rem;
}
.hero-subtitle {
font-size: 1.8rem;
}
.author {
font-size: 1.8rem;
}
.quote {
font-size: 1.8rem;
}
.list-header {
font-size: 1.8rem;
}
.social-icons {
font-size: 2rem;
}
.text {
font-size: 1.6rem;
}
}**
WARNING
The challenge seed code and/or your solution exceeded the maximum length we can port over from the challenge.
You will need to take an additional step here so the code you wrote presents in an easy to read format.
Please copy/paste all the editor code showing in the challenge from where you just linked.
@media only screen and (max-width: 550px) {
.hero-title {
font-size: 6rem;
}
.hero-subtitle {
font-size: 1.8rem;
}
.author {
font-size: 1.8rem;
}
.quote {
font-size: 1.8rem;
}
.list-header {
font-size: 1.8rem;
}
.social-icons {
font-size: 2rem;
}
.text {
font-size: 1.6rem;
}
}
Safari
User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/605.1.15 (KHTML, like Gecko) Version/15.5 Safari/605.1.15
Challenge: Step 79
Link to the challenge: