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:

  body {
    background-image: url('');

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.


Answer questions billimarie

@ajl223 Works like a charm.

Github User Rank List