CSS Enhancing Design with CSS Finishing Touches CSS Gradients

Hugo Zaanen
Hugo Zaanen
11,755 Points


The values dont seem to be considered correct

/* Complete the challenge by writing CSS below */
  background-image: linear-gradient(to bottom, steelblue, 
    darkslateblue 90%);
<!DOCTYPE html>
    <title>Lake Tahoe</title>
    <link rel="stylesheet" href="page.css">
    <link rel="stylesheet" href="style.css">
    <header id="top" class="main-header">
      <span class="title">Journey Through the Sierra Nevada Mountains</span>
      <h1 class="main-heading">Lake Tahoe, California</h1>

        <div class="primary-content">
            <p class="intro">
                Lake Tahoe is one of the most breathtaking attractions located in California. It's home to a number of ski resorts, summer outdoor recreation, and tourist attractions. Snow and skiing are a significant part of the area's reputation.
            <a class="callout" href="#more">Find out more</a>
        </div><!-- End .primary-content -->

1 Answer

Shaun Kelly
Shaun Kelly
35,531 Points

Hi Hugo,

you need to change the direction from "bottom" to "top"

Hope this helps, Shaun