Tell us what’s happening:
I can set the selector within the style to h2 and change the font to lobster after I’ve imported the font, but I get an error saying I need to “Use an h2 CSS selector to change the font.”
Does it want me to create a class and set the font within the h2 element (like below)? Or does it want me to use h2 as the selector in the <style block (which I’ve also tried and gotten the same error)?
I can’t tell whether I’m doing something wrong or there is some sort of glitch. I can see the text font change and I’ve treid using h2 as a selector within the style, as well as the element itself and I get the same error.
You created a class called lobster which is working, but isn’t quite what the challenge asked for. Instead of creating a class like you did for red-text, you should create an element selector like you did for p elements.
I think there might be a problem with that test. If there isn’t one already, you can crate a GitHub Issue and then just move to the next challenge using the curriculum map.
I am getting errors on the same challenge. Here is my style code. It is saying that my h2 element is not using Lobster and my p element is not using monospace. How do I make this happen? Also, all of my style commands are showing at the top of my webpage, rather than remaining as style elements.