title: Why are mic picture one on top of the other
body: <p><img src="https://i.stack.imgur.com/3yS8P.jpg" alt="enter image description here">
  why are my images padding top/bottom not working properly? 
  I need them to have a spacing from the ones above/below</p>
  
  <p>here is a part of the code:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
  &lt;head&gt;
   &lt;title&gt;Image Galleyy&lt;/title&gt;
   &lt;link rel="stylesheet" type="text/css" href="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/css/bootstrap.min.css"&gt;
  &lt;/head&gt;
  &lt;body&gt;
   &lt;!-- this is my nav bar --&gt;
   &lt;nav class="navbar navbar-expand-lg navbar-light bg-light"&gt;
    &lt;a class="navbar-brand" href="#"&gt;Cool Pictures&lt;/a&gt;
    &lt;button class="navbar-toggler" type="button" data-toggle="collapse" data-target="#navbarNavDropdown" aria-controls="navbarNavDropdown" aria-expanded="false" aria-label="Toggle navigation"&gt;
      &lt;span class="navbar-toggler-icon"&gt;&lt;/span&gt;
    &lt;/button&gt;
    &lt;div class="collapse navbar-collapse" id="navbarNavDropdown"&gt;
      &lt;ul class="navbar-nav"&gt;
        &lt;li class="nav-item active"&gt;
          &lt;a class="nav-link" href="#"&gt;Home &lt;span class="sr-only"&gt;(current)&lt;/span&gt;&lt;/a&gt;
        &lt;/li&gt;
        &lt;li class="nav-item"&gt;
          &lt;a class="nav-link" href="#"&gt;Features&lt;/a&gt;
        &lt;/li&gt;
        &lt;li class="nav-item"&gt;
          &lt;a class="nav-link" href="#"&gt;Pricing&lt;/a&gt;
        &lt;/li&gt;
        &lt;li class="nav-item dropdown"&gt;
          &lt;a class="nav-link dropdown-toggle" href="#" id="navbarDropdownMenuLink" role="button" data-toggle="dropdown" aria-haspopup="true" aria-expanded="false"&gt;
            Dropdown link
          &lt;/a&gt;
          &lt;div class="dropdown-menu" aria-labelledby="navbarDropdownMenuLink"&gt;
            &lt;a class="dropdown-item" href="#"&gt;Action&lt;/a&gt;
            &lt;a class="dropdown-item" href="#"&gt;Another action&lt;/a&gt;
            &lt;a class="dropdown-item" href="#"&gt;Something else here&lt;/a&gt;
          &lt;/div&gt;
        &lt;/li&gt;
      &lt;/ul&gt;
    &lt;/div&gt;
  &lt;/nav&gt;
  &lt;!-- my jumbo container --&gt;
  &lt;div class="container"&gt;
   &lt;div class="jumbotron"&gt;
    &lt;h1&gt;The Image Galerry&lt;/h1&gt;
    &lt;p&gt;Nice Pics&lt;/p&gt;
   &lt;/div&gt;
  &lt;!-- my pics in a grid --&gt;
    &lt;div class="row"&gt;
      &lt;div class="col-lg-4 col-sm-6"&gt;
       &lt;div class="img-thumbnail"&gt;
        &lt;img src="http://i.imgur.com/qK42fUu.jpg" class="img-fluid" alt="Responsive image"&gt;
       &lt;/div&gt;
      &lt;/div&gt;
       &lt;div class=" col-lg-4 col-sm-6"&gt;
       &lt;div class="img-thumbnail"&gt;
        &lt;img src="https://images.unsplash.com/photo-1435771112039-1e5b2bcad966?dpr=2&amp;fit=crop&amp;fm=jpg&amp;h=825&amp;q=50&amp;w=1450" class="img-fluid" alt="Responsive image"&gt;
       &lt;/div&gt;
      &lt;/div&gt;
        &lt;div class=" col-lg-4 col-sm-6"&gt;
       &lt;div class="img-thumbnail"&gt;
        &lt;img src="https://images.unsplash.com/photo-1442406964439-e46ab8eff7c4?dpr=2&amp;fit=crop&amp;fm=jpg&amp;h=825&amp;q=50&amp;w=1450" class="img-fluid" alt="Responsive image"&gt;
       &lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="col-lg-4 col-sm-6"&gt;
       &lt;div class="img-thumbnail"&gt;
        &lt;img src="http://i.imgur.com/qK42fUu.jpg" class="img-fluid" alt="Responsive image"&gt;
       &lt;/div&gt;
      &lt;/div&gt;
       &lt;div class=" col-lg-4 col-sm-6"&gt;
       &lt;div class="img-thumbnail"&gt;
        &lt;img src="https://images.unsplash.com/photo-1435771112039-1e5b2bcad966?dpr=2&amp;fit=crop&amp;fm=jpg&amp;h=825&amp;q=50&amp;w=1450" class="img-fluid" alt="Responsive image"&gt;
       &lt;/div&gt;
      &lt;/div&gt;
        &lt;div class=" col-lg-4 col-sm-6"&gt;
       &lt;div class="img-thumbnail"&gt;
        &lt;img src="https://images.unsplash.com/photo-1442406964439-e46ab8eff7c4?dpr=2&amp;fit=crop&amp;fm=jpg&amp;h=825&amp;q=50&amp;w=1450" class="img-fluid" alt="Responsive image"&gt;
       &lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="col-lg-4 col-sm-6"&gt;
       &lt;div class="img-thumbnail"&gt;
        &lt;img src="http://i.imgur.com/qK42fUu.jpg" class="img-fluid" alt="Responsive image"&gt;
       &lt;/div&gt;
      &lt;/div&gt;
       &lt;div class=" col-lg-4 col-sm-6"&gt;
       &lt;div class="img-thumbnail"&gt;
        &lt;img src="https://images.unsplash.com/photo-1435771112039-1e5b2bcad966?dpr=2&amp;fit=crop&amp;fm=jpg&amp;h=825&amp;q=50&amp;w=1450" class="img-fluid" alt="Responsive image"&gt;
       &lt;/div&gt;
      &lt;/div&gt;
        &lt;div class=" col-lg-4 col-sm-6"&gt;
       &lt;div class="img-thumbnail"&gt;
        &lt;img src="https://images.unsplash.com/photo-1442406964439-e46ab8eff7c4?dpr=2&amp;fit=crop&amp;fm=jpg&amp;h=825&amp;q=50&amp;w=1450" class="img-fluid" alt="Responsive image"&gt;
       &lt;/div&gt;
      &lt;/div&gt;
      
    &lt;/div&gt;
   &lt;/div&gt;
  
  
    
  
  &lt;script src="https://code.jquery.com/jquery-3.3.1.slim.min.js" integrity="sha384-q8i/X+965DzO0rT7abK41JStQIAqVgRVzpbzo5smXKp4YfRvH+8abtTE1Pi6jizo" crossorigin="anonymous"&gt;&lt;/script&gt;
  &lt;script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.14.7/umd/popper.min.js" integrity="sha384-UO2eT0CpHqdSJQ6hJty5KVphtPhzWj9WO1clHTMGa3JDZwrnQq4sF86dIHNDz0W1" crossorigin="anonymous"&gt;&lt;/script&gt;
  &lt;script src="https://stackpath.bootstrapcdn.com/bootstrap/4.3.1/js/bootstrap.min.js" integrity="sha384-JjSmVgyd0p3pXB1rRibZUAYoIIy6OrQ6VrjIEaFf/nJGzIxFDsf4x0xIM+B07jRM" crossorigin="anonymous"&gt;&lt;/script&gt;
  &lt;/html&gt;</code></pre>
  </div>
  </div>
  
  I am new to this and I cant seem to figure out why is the grid working for all the other padding spaces except when they go on top of each other</p>