CSS CSS Basics (2014) Basic Selectors ID and Class Selectors

Challenge Task 4 of 6 where am i getting it wrong cant understand what they want

i need help guys, cant get it right, whats the correct answer that is required

Challenge Task 4 of 6 Next, target the class main-heading. Give the heading a font-size property and set the value to 72px.

<!DOCTYPE html>
    <title>Lake Tahoe</title>
    <link rel="stylesheet" href="page.css">
    <link rel="stylesheet" href="style.css">
    <header class = " main-heading">
      <span>Journey through the Sierra Nevada Mountains</span>
      <h1 class="main-heading">Lake Tahoe, California</h1>
      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 href="#">Find out more</a>
      <h2>Check out all the Wildlife</h2>
        As spawning season approaches, the fish acquire a humpback and protuberant jaw. After spawning, they die and their carcasses provide a feast for gatherings of mink, bears, and Bald eagles.
      <a href="#">See the Wildlife</a>
.main-heading { 
  font-size: 72px;

2 Answers

Your css for .main-heading is correct. But the header

<header class = " main-heading">

should still have a class of main-header. And you should keep code from all tasks.

Kevin Gates
Kevin Gates
14,813 Points

I would also remove the extra space.

Greg Saunders
Greg Saunders
5,143 Points

definitely going to want to get rid of that space :)

ok thank you Greg