Sure thing, happy to help!
Just a quick tip: whenever you want an element to be positioned relative to its parent, make sure the parent's position is set to relative and the child's position is set to absolute.
.container{
position:relative;
width: 150px;
margin: 0 auto;
margin-top: 100px;
}
.container .badge{
position:absolute;
top:-25px;
right:-25px;
}
.container img{
width:100%;
height:auto;
}
.badge{
background-color:red;
border-radius:50%;
height:50px;
width:50px;
text-align:center;
}
<div class="container">
<span class="badge"></span>
<img src="http://via.placeholder.com/150x260"/>
</div>