profile
viewpoint

Ask questions[BUG] Throws error when using `background-image` instead of `background` (Learn Applied Visual Design - Add Background Image)

Affected page Learn Applied Visual Design: Create Texture by Adding a Subtle Pattern as a Background Image

Your code Copy and paste the code from the editor that you used in between the back-ticks below:

<style>
  body {
    background-image: url('https://cdn-media-1.freecodecamp.org/imgr/MJAkxbh.png');
  }
</style>

Expected behavior Both background and background-image should be accepted as correct answers.

System (please complete the following information):

  • Device: Laptop / Tablet
  • OS: Both iOS and Windows 10
  • Browser: Firefox

Additional context Reporting this as the ability to accept multiple right answers was apparent with the margin and padding lessons (example: accepted both clockwise notation and -top, -right, -bottom, -left declarations). The same should be done with a background vs background-image issue.

freeCodeCamp/freeCodeCamp

Answer questions billimarie

@ajl223 Works like a charm.

useful!
source:https://uonfu.com/
Github User Rank List