# Regarding adding images with links to the portfolios

**URL:** <https://forum.freecodecamp.org/t/regarding-adding-images-with-links-to-the-portfolios/165693>\
**Category:** General\
**Created:** [December 28, 2017, 9:19am UTC](https://forum.freecodecamp.org/t/regarding-adding-images-with-links-to-the-portfolios/165693 "2017-12-28T09:19:43Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![preet1](https://avatars.discourse-cdn.com/v4/letter/p/ac8455/32.png) [@preet1](https://forum.freecodecamp.org/u/preet1)\
**Post date:** [December 28, 2017, 9:19am UTC](https://forum.freecodecamp.org/t/regarding-adding-images-with-links-to-the-portfolios/165693/1 "2017-12-28T09:19:43Z")

</div>

Hi,  
I am able to create the images with links in the portfolio using this code by creating my own html but its not working in codepen could any one tell me what’s the reason behind it. Thank you.  
**The HTML code is:**

```auto
<div class="container">
    <div class="row">
      <div class="col-md-4">
       <a href="https://codepen.io/Preetk/pen/bRarqr" ><img src="https://statics.sportskeeda.com/wp-content/forum/uploads/2014/10/mary-kom-2-1414565821.jpg" class="images"</a>
      </div>
      <div class="col-md-4">
         <a><img src="https://encrypted-tbn0.gstatic.com/images?q=tbn:ANd9GcSKSyJBy43enbeyz-fbDJP__jVkiZXDdozAlWK11x2JmDs-8xPXow" class="images"></a>
      </div>
      <div class="col-md-4">
         <a href="https://codepen.io/Preetk/pen/jYygGQ"><img src="http://www.portfolio.gsamdani.com/wp-content/forum/uploads/2017/11/The_Amazing_Desk.jpg" class="images"></a>
      </div>
</div>

```

**The CSS code is:**

```auto
.images{
    width: 300px;
    height: 150px;
    border-radius:3px;
		border:5px black solid;
}

```

This is how my codepen page appears:

 ![image](https://global.discourse-cdn.com/freecodecamp/original/3X/d/2/d29c6a641637aece0a28ef01569aeb01e929862c.jpg)

THis is how my own html page appears:

 ![image](https://global.discourse-cdn.com/freecodecamp/original/3X/b/f/bfdc1a109e8731684c7c5d748548160f6fc86162.jpg)

I am just asking about images forget about nav bar and qualifications thank you.

---

<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:** [January 16, 2021, 5:13pm UTC](https://forum.freecodecamp.org/t/regarding-adding-images-with-links-to-the-portfolios/165693/2 "2021-01-16T17:13:08Z")

</div>

Closed on January 16, 2021, 5:13pm UTC


