Add a box-shadow to an id problem

I can’t pass the test for adding a box-shadow to an id element. I think I have done what i should, but … obviously no. Can you help where I’m mistaken

  **<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;
}

.fullCard {
width: 245px;
border: 1px solid #ccc;
border-radius: 5px;
margin: 10px 5px;
padding: 4px;
}
.cardContent {
padding: 10px;
}
.cardText {
margin-bottom: 30px;
}

#thumbnail: {
box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}

Alphabet


Google was founded by Larry Page and Sergey Brin while they were Ph.D. students at Stanford University.

</div>
**

<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;
}

.fullCard {
  width: 245px;
  border: 1px solid #ccc;
  border-radius: 5px;
  margin: 10px 5px;
  padding: 4px;
}
.cardContent {
  padding: 10px;
}
.cardText {
  margin-bottom: 30px;
}

#thumbnail: {
  box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0 6px 6px rgba(0,0,0,0.23);
}
</style>
<div class="fullCard" id="thumbnail" box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0.6>
<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>
</div>
  **Your browser information:**

User Agent is: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:86.0) Gecko/20100101 Firefox/86.0.

Challenge: Add a box-shadow to a Card-like Element

Link to the challenge:

Hey there @Tetraeder !

You have the solution but there’s somethings you need to sort out.

First is this thing right here:


<div class="fullCard" id="thumbnail" box-shadow: 0 10px 20px rgba(0,0,0,0.19), 0.6>

Remember, for this exercise style is going into the <style> tag not into the ID

Once you get rid of that you have one last thing to fix, how does one make CSS?

h1 {
color: blue;
}

Look at your thumbnail ID in the Style tag, you may find that you added something before the bracket :grinning_face_with_smiling_eyes: .

Best,
Cy499_Studios

You basically have it,
just change:
#thumbnail : {
to:
#thumbnail {

Thank you very mach :slight_smile: !

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.