Learn CSS Grid by Building a Magazine - Step 47

Tell us what’s happening:

I’m getting the error “1. You should have an .author selector.” But I do have that. I wondered if the code was wrong and tried removing the period or moving the brackets, but not seeing a solution. Anything I’m missing?

Your code so far

<!-- file: index.html -->

/* file: styles.css */
/* User Editable Region */

.author {
  font-size: 2rem;
  font-family: Raleway sans-serif;
}

/* User Editable Region */

Your browser information:

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/128.0.0.0 Safari/537.36

Challenge Information:

Learn CSS Grid by Building a Magazine - Step 47

Hi there!

You have to separate each font with a comma.

Hello. I guess it didn’t update, but that was one of the first things I updated. Here’s an updated screenshot.

I’ve even gone to a future exercise of the project, grabbed the code, and put it into this exercise. Still getting the same error.

Author

Hi @afrofrycook

The red underline indicates a syntax error.

image

Try looking at the lines above there.

Happy coding

That solved it. A previous area was missing a bracket and even upon reloading, didn’t correct itself.

Thank you so much!

1 Like