[BUG2] Create Texture by Adding a Subtle Pattern as a Background Image

[BUG2] Create Texture by Adding a Subtle Pattern as a Background Image
0

#1

Tell us what’s happening:
Again, the output is fine but the test fails:
“Your body element should have a background property set to a url() with the given link.”

Your code so far


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

Your browser information:

User Agent is: Mozilla/5.0 (X11; Linux x86_64; rv:61.0) Gecko/20100101 Firefox/61.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


#2

While it works, it’s because the compiled code is smart enough to guess you are giving it a url address. However, url is expecting a string, which you have not supplied.


#3

Thanks, but that’s a bug. It shouln’t be ‘smart enough’ and mislead.