Tell us what’s happening:
h2 {
font-family: Raleway, sans-serif;
}
h3 {
font-family: Raleway, sans-serif;
}
h4 {
font-family: Raleway, sans-serif;
}
h5 {
font-family: Raleway, sans-serif;
}
h6 {
font-family: Raleway, sans-serif;
}
with the test results being - // running tests
- You should have an h2, h3, h4, h5, h6 selector.
- Your h2, h3, h4, h5, h6 selector should have a font-family property set to Raleway with a fallback of sans-serif.
// tests comp
so where is the mistake??? have I written something wrong???
Your code so far
<!-- file: index.html -->
/* file: styles.css */
/* User Editable Region */
h2 {
font-family: Raleway, sans-serif;
}
h3 {
font-family: Raleway, sans-serif;
}
h4 {
font-family: Raleway, sans-serif;
}
h5 {
font-family: Raleway, sans-serif;
}
h6 {
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/151.0.0.0 Safari/537.36 Edg/151.0.0.0
Challenge Information:
Build a Magazine - Step 29
GitHub Link: freeCodeCamp/curriculum/challenges/english/blocks/workshop-magazine/6144e1ba93e435127a7f516d.md at main · freeCodeCamp/freeCodeCamp · GitHub
even with changes made it doesnt like my selectors,
}
h2 {
font-family: 'Raleway', sans-serif;
}
h3 {
font-family: 'Raleway', sans-serif;
}
h4 {
font-family: 'Raleway', sans-serif;
}
h5 {
font-family: 'Raleway', sans-serif;
}
h6 {
font-family: 'Raleway', sans-serif;
}
(they are all evenly spaced out on the actual tab on working on.)
There are two ways you can format your code to make it easier to read and test:
- After you copy/paste your code into the editor, select it by dragging your cursor over it then click the (
</>) button in the toolbar to automatically wrap your code in backticks. (You can click on the animated demo image below to enlarge it.)
- Manually add three backticks on a new line above your code and on a new line after your code. Note that a backtick is NOT the same as a single quote('). To find the backtick key on your keyboard, see this post.
To see changes to your post as you make them, you can click the (M+) button on the toolbar to bring up the rich text editor:
Create an h2, h3, h4, h5, h6 selector. Give it a font-family property
This means one single selector.
yep, you just reminded me that I can do that, what a silly mistake, thank you