# Why is not the border showing up around the image?

**URL:** <https://forum.freecodecamp.org/t/why-is-not-the-border-showing-up-around-the-image/249950>\
**Category:** Curriculum Help\
**Tags:** html, css\
**Created:** [January 7, 2019, 6:22pm UTC](https://forum.freecodecamp.org/t/why-is-not-the-border-showing-up-around-the-image/249950 "2019-01-07T18:22:18Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![newbiecoder](https://avatars.discourse-cdn.com/v4/letter/n/e9bcb4/32.png) [@newbiecoder](https://forum.freecodecamp.org/u/newbiecoder)\
**Post date:** [January 7, 2019, 6:22pm UTC](https://forum.freecodecamp.org/t/why-is-not-the-border-showing-up-around-the-image/249950/1 "2019-01-07T18:22:18Z")

</div>

Border around the picture not showing up for some reason. It was working initially but not anymore and cannot seem to understand why.  
Code:  
[https://codepen.io/umalik1910/pen/WLdLPO](https://codepen.io/umalik1910/pen/WLdLPO)

---

<div class="post-metadata">

**Author:** ![bmyles10](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/bmyles10/32/96607_2.png) [@bmyles10](https://forum.freecodecamp.org/u/bmyles10)\
**Post date:** [January 7, 2019, 6:38pm UTC](https://forum.freecodecamp.org/t/why-is-not-the-border-showing-up-around-the-image/249950/2 "2019-01-07T18:38:59Z")

</div>

You have an extra bracket above your .black-border prop

} \<\<\<\<\<\<\<\<\<\<\<\< Take this out  
.black-border{  
border-color: black;  
border-style: solid;  
border-width: 10px;  
border-radius: 50%;  
}

Edit:  
And you need to add and ‘s’ to class in your ![]() tag.

---

<div class="post-metadata">

**Author:** ![LearnTheNew](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/learnthenew/32/159150_2.png) [@LearnTheNew](https://forum.freecodecamp.org/u/LearnTheNew)\
**Post date:** [January 8, 2019, 10:59am UTC](https://forum.freecodecamp.org/t/why-is-not-the-border-showing-up-around-the-image/249950/3 "2019-01-08T10:59:38Z")

</div>

it’s working fine

but minify the code

```auto
.black-border{
  border: 10px solid black;
  border-radius: 50%;
}

```

@LearnTheNew

---

<div class="post-metadata">

**Author:** ![ILM](https://sea3.discourse-cdn.com/freecodecamp/user_avatar/forum.freecodecamp.org/ilm/32/363239_2.png) [@ILM](https://forum.freecodecamp.org/u/ILM)\
**Post date:** [March 9, 2021, 11:15am UTC](https://forum.freecodecamp.org/t/why-is-not-the-border-showing-up-around-the-image/249950/4 "2021-03-09T11:15:24Z")

</div>


