Regarding adding images with links to the portfolios

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:

<div class="container">
    <div class="row">
      <div class="col-md-4">
       <a href="" ><img src="" class="images"</a>
      <div class="col-md-4">
         <a><img src="" class="images"></a>
      <div class="col-md-4">
         <a href=""><img src="" class="images"></a>

The CSS code is:

    width: 300px;
    height: 150px;
		border:5px black solid;

This is how my codepen page appears:

THis is how my own html page appears:

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