Create Texture Adding a Subtle Pattern as a Background Image

Tell us what’s happening:
I think this is a bug - the background changes, but the test can’t be complete - it tells me “the url should be set etc.”

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; rv:60.0) Gecko/20100101 Firefox/60.0.

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

1 Like

You have a space at the beginning of your url string.

yes, thank you - I tried that before and i=I guess I had something else going on because it stalled, but then after resetting and trying again it worked - I wanted to delete this thread, but didn’t know how to do that

body { background:url("https://i.imgur.com/MJAkxbh.png"); }

Here, you use 2 space so your code doesn’t work.

@ooamoo don’t delete it- it helped me… I forgot to put the url in quotations (frustrating because the background was showing up just fine, but when I clicked, “Run the Tests” it wasn’t allowing me to move on (so thanks for posting)

@ooAMoo @sophia215 - Threads can only be deleted by moderators. We make it a policy not to delete threads that we think could help other campers who come here with the same question, especially when members of the community have taken the time to compose a helpful response. @ooAMoo if you want to stop getting notifications about this thread, you can stop following it via the dropdown at the bottom of the page:
image