Applied Visual Design: Decrease the Opacity of an Element is not working

Tell us what’s happening:

I can’t go ahead with my training as it won’t let me. It keeps saying this:
" // running tests Your code should set the

opacity

property to 0.7 on the anchor tags by selecting the class of

links

. // tests completed
and:
Your code should set the opacity property to 0.7 on the anchor tags by selecting the class of links .

This is happening when I am trying on Chrome. It works on Safari, the only problem there is that it says I am offline when I am 100% online.

Your code so far


<style>
h4 {
  text-align: center;
  background-color: rgba(45, 45, 45, 0.1);
  padding: 10px;
  font-size: 27px;
}
p {
  text-align: justify;
}
.links {
  text-align: left;
  color: black;
  opacitiy: 0.7;
}
#thumbnail {
  box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}
.fullCard {
  width: 245px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin: 10px 5px;
  padding: 4px;
}
.cardContent {
  padding: 10px;
}
.cardText {
  margin-bottom: 30px;
}
</style>
<div class="fullCard" id="thumbnail">
<div class="cardContent">
  <div class="cardText">
    <h4>Alphabet</h4>
    <hr>
    <p><em>Google was founded by Larry Page and Sergey Brin while they were <u>Ph.D. students</u> at <strong>Stanford University</strong>.</em></p>
  </div>
  <div class="cardLinks">
    <a href="https://en.wikipedia.org/wiki/Larry_Page" target="_blank" class="links">Larry Page</a><br><br>
    <a href="https://en.wikipedia.org/wiki/Sergey_Brin" target="_blank" class="links">Sergey Brin</a>
  </div>
</div>
</div>

Your browser information:

User Agent is: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_15_7) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36.

Challenge: Decrease the Opacity of an Element

Link to the challenge:

Hey @patbrsk Welcome to forum. Your code is correct but just one little typo:

opacity is the correct spelling.

1 Like

oh. wow, i feel dumb now. haha, thanks!

1 Like

@patbrsk lol Your not alone. I cant tell you how many challenges or lessons I didnt pass the first time because of some small error. The good thing is that it was just a small error and not that you dont understand it. :stuck_out_tongue_winking_eye:

2 Likes

@Glitches777 very true. I tried switching different browsers like crazy for no reason haha!
I’m glad it was just a small typo and I’m so excited to get going with my learning process :))

2 Likes