Create-Texture by Adding a Subtle Pattern as a Background Image

Tell us what’s happening:
whats wrong with this code!!

Your code so far


<style>
  body {
    background : url(“https://i.imgur.com/MJAkxbh.png”); 
  }
</style>

Your browser information:

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

Link to the challenge:
https://learn.freecodecamp.org/responsive-web-design/applied-visual-design/create-texture-by-adding-a-subtle-pattern-as-a-background-image

whats wrong with this code!!

Spaces and quotes ( the quotes seems not the usual ones, did you copy-pasted them?)

no i dont copy pasted the quote and its show the image but on running the test it shows

// running test
Your body element should have a background property set to a url() with the given link.
// tests completed

again and again

Uhm, I removed all the spaces, re-typed the quotes and it worked ^^
If it doesn’t work for you try to reset the code and retype it ^^

1 Like

Thanks Layer it worked …

1 Like

Worked for me as well, I couldn’t figure out what I had messed up, thanks!

1 Like