Margin to right bottom left


#1

'''div{
margin: top 20px;
margin: right 50px;
margin: bottom 10px;
margin: left 5px;
}
* {
border: 1px dashed black;
}

div {
height: 50px;
width: 100px;
border: 2px solid black;
border-radius: 5px;
background-color: #308014;
}'''


Replace this line with your code.


#2

Targeting a specific margin (right, left ect)

must be done like this example: margin-right: 30px
Same syntax for top, left, bottom :slight_smile:

also you shouldn't target the element again (create another div) add it to existing div

*Remember same rule applies to padding


#3

should be
margin-top, margin-right, margin-bottom and margin-left respectively.