Responsive Web Design Projects - Build a Survey Form

Tell us what’s happening:
Describe your issue in detail here. I’m haveing trouble linking my Css to my HTML. I have my Html down I just don’t know why my CSS is not applying to the html.


```css
/* file: styles.css */
body{text-align:center; text-style:satisfactionscript;}
  **Your browser information:**

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

Challenge: Responsive Web Design Projects - Build a Survey Form

Link to the challenge:
https://www.freecodecamp.org/learn/responsive-web-design/responsive-web-design-projects/build-a-survey-form[https://www.freecodecamp.org/learn/responsive-web-design/responsive-web-design-projects/build-a-survey-form](https://www.freecodecamp.org/learn/responsive-web-design/responsive-web-design-projects/build-a-survey-form)

Hi, I’m not sure what step you’re on, but glancing through I believe this part of the challenge was just working on HTML, so it could be that the coding editor is not reading/taking your stylesheet.

2 other quick tips for you as you keep going…!

1: You’ll want to make sure you’re linking your CSS to your HTMlL in the head section, not the body.

2: For me it works when I type “./styles.css” in this editor, but it depends on the challenge, if you’re using a code editor on your own computer and then copying into Free Code Camp, etc. Just watch what editor and what syntax you’re using to enter values/elements.

Hope this helps - keep going and happy coding!!

1 Like

Thank you but I just tried your solution and it still did not read. so I’m still going to keep trying. I’m not ready to give up.

Your link element should be inside the head element not the body element.

Hope it helps

1 Like

I’ve fixed that and it is still not linking.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.