Code is correct (same as the challenge's solution) but there is no output

Hey everyone,

In the Responsive Web Design > Applied Visual Design > Learn about Complementary Colors challenge, the goal is to change the background of the ‘yellow’ and ‘blue’ classes to their respective colors so you can see how they look side by side.

I edited the code accordingly, but the output remained unchanged: a white background. I’m pasting the code below.


  body {

    background-color: #FFFFFF;


  .blue {

    background-color: #0000FF;


  .yellow {

    background-color: #FFFF00;



  div {

    display: inline-block;

    height: 100px;

    width: 100px;



<div class="blue"></div>

<div class="yellow"></div>

What is the issue?

Thank you for taking the time to help out.

it seems you have an extra }

1 Like

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.