Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Can't get a Check for Silver Background in Div #10645

Closed
MissMyDad opened this issue Sep 9, 2016 · 2 comments
Closed

Can't get a Check for Silver Background in Div #10645

MissMyDad opened this issue Sep 9, 2016 · 2 comments

Comments

@MissMyDad
Copy link

MissMyDad commented Sep 9, 2016

Same problem it seems as others. All I care about is that they clear it for the certificate.

<style>
  .red-text {
    color: red;
  }
  h2 {
    font-family: Lobster, Monospace;
  }
  p {
    font-size: 16px;
    font-family: Monospace;
  }
  .thick-green-border {
    border-color: green;
    border-width: 10px;
    border-style: solid;
    border-radius: 50%;
  }
  .smaller-image {
    width: 100px;
  }
 .silver-background {background-color: silver;}  
  }
</style>

<h2 class="red-text">CatPhotoApp</h2>
<p>Click here for <a href="#">cat photos</a>.</p>

<a href="#"><img class="smaller-image thick-green-border" alt="A cute orange cat lying on its back. " src="https://bit.ly/fcc-relaxing-cat"></a>

<div class="silver-background">
  <p>Things cats love:</p>
  <ul>
    <li>cat nip</li>
    <li>laser pointers</li>
    <li>lasagna</li>
  </ul>
  <p>Top 3 things cats hate:</p>
  <ol>
    <li>flea treatment</li>
    <li>thunder</li>
    <li>other cats</li>
  </ol>
</div>
@erictleung
Copy link
Member

@MissMyDad closing as duplicate as #10535. Happy coding!

@EfyourK
Copy link

EfyourK commented Dec 1, 2016

.silver-background {background-color: silver;}
}

... seems like you got an extra }

Remove that an it should work.. worked for me.. Firefox 50.0.1 / Win 10 64 bit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants