Build a Survey Form Project - Build a Survey Form

Tell us what’s happening:
Describe your issue in detail here.

Is there anything wrong with the CSS I’ve written? ? There isn’t any changes on the preview page, the background image is not showing.

Your code so far

/* file: index.Ext.html */

body { 
  background-image: url('https://cdn.freecodecamp.org/testable-projects-fcc/images/survery-form-background.jpeg'); 
  background-repeat: no-repeat;
  background-size: cover;
}

/* file: styles.Ext.css */

body { 
  background-image: url('https://cdn.freecodecamp.org/testable-projects-fcc/images/survery-form-background.jpeg'); 
  background-repeat: no-repeat;
  background-size: cover;
}

Challenge: Build a Survey Form Project - Build a Survey Form

Link to the challenge:

You appear to have created this post without editing the template. Please edit your post to Tell us what’s happening in your own words.
Learning to describe problems is hard, but it is an important part of learning how to code.
Also, the more you say, the more we can help!

Hello @_Neo !

Is your css linked in the html file ?

Check in the head and see if you have <link rel="stylesheet" href="styles.css">

Sometimes we miss the end s in styles in the href.
I hope this can help you.

Happy coding! :sun_with_face:

2 Likes

Yeah it’s linked, I’ve tried adding a background color and it worked but I’m trying to add the background image it’s not showing :confused:

2 Likes

I am going to try your code on my end and see what happens.

Okay, thanks a lot. I’ll be waiting

3 Likes

Hi!
you have a typo in that link “survery”.

4 Likes

Thanks man, I appreciate it

3 Likes

You are welcome, happens even to pros.

Checking the syntax is generally my first step when debugging!

3 Likes

I’ll take note of that, thanks again

2 Likes

Thank you for your time and effort, I appreciate it

3 Likes

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