title: How to align images horizontally side by side with captions underneath?
body: <p>I want my three images to align side by side horizontally with captions under each of them, like in this link:(<a href="http://www.renaldi.com/projects/" rel="nofollow noreferrer">http://www.renaldi.com/projects/</a>)</p>
  
  <p>I tried to do them but failed. Here are my codes:</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-css lang-css prettyprint-override"><code>.photos {
    display: flex;
    justify-content: center;
  }
  
  .image {
    display: block;
    width: 30%;
  }
  
  .word {
    display: block;
    width: 100%;
    text-align: center;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;div class="photos"&gt;
    &lt;img class="image" src="Project1.png"&gt;
    &lt;span class="word"&gt;Manhattan Sunday&lt;/span&gt;
  &lt;/div&gt;
  
  &lt;div class="photos"&gt;
    &lt;img class="image" src="Project2.png"&gt;
    &lt;div class="word"&gt;Touching Strangers&lt;/div&gt;
  &lt;/div&gt;
  
  &lt;div class="photos"&gt;
    &lt;img class="image" src="Project3.png"&gt;
    &lt;div class="word"&gt;I want your love&lt;/div&gt;
  
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>How to fix them?</p>