Not sure what needs to be added to pass this

Tell us what’s happening:
Describe your issue in detail here.

  **Your code so far**

<style>
.injected-text {
  margin-bottom: -25px;
  text-align: center;
}
[type='radio'] {
margin: 15px 0px 15px 0px;
}
.box {
  border-style: solid;
  border-color: black;
  border-width: 5px;
  text-align: center;
}
[type='radio'] {
margin: 15px 0px 15px 0px;
}
.yellow-box {
  background-color: yellow;
  padding: 20px 40px 20px 40px;
}
[type='radio'] {
margin: 15px 0px 15px 0px;
}
.red-box {
  background-color: red;
  margin: 20px 40px 20px 40px;

}
[type='radio'] {
margin: 15px 0px 15px 0px;
}
.green-box {
  background-color: green;
  margin: 20px 40px 20px 40px;
}
</style>
<h5 class="injected-text">margin</h5>

<div class="box yellow-box">
<h5 class="box red-box">padding</h5>
<h5 class="box green-box">padding</h5>
</div>


  **Your browser information:**

User Agent is: Mozilla/5.0 (X11; CrOS x86_64 14526.69.0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/100.0.4896.82 Safari/537.36

Challenge: Use Attribute Selectors to Style Elements

Link to the challenge:

Hi @shreva24,

It looks like you changed the entire original code for this challenge. To pass the challenge, you should only add what is asked:

Using the type attribute selector, try to give the checkboxes in CatPhotoApp a top margin of 10px and a bottom margin of 15px.

Try to reset the code you have to work on a clean version and then proceed to the updates. If you want to test things maybe try to use a website as CodePen, like this you are free to train yourself as you wish.

1 Like