freeCodeCamp Challenge Guide: Learn about Complementary Colors

Learn about Complementary Colors


Solutions

Solution 1 (Click to Show/Hide)
<style>
  body {
    background-color: #FFFFFF;
  }
  .blue {
    background-color: blue;
  }
  .yellow {
    background-color: yellow;
  }
  div {
    display: inline-block;
    height: 100px;
    width: 100px;
  }
</style>
<div class="blue"></div>
<div class="yellow"></div>
1 Like