title: How to get the buttons side by side on the same row?
body: <p>I was getting the data from an API and displaying it using HTML.</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>#dat {
    position: absolute;
    width: 100px;
    height: 100px;
    left: 50%;
    top: 50%;
    margin-left: -50px;
    margin-top: -50px;
  }
  
  button {
    margin-left: 20px;
    display: inline;
  }</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;h1&gt;&lt;u&gt;Weather App&lt;/u&gt;&lt;/h1&gt;
  &lt;div id="dat"&gt;
    &lt;p id="data"&gt;&lt;/p&gt;
    &lt;p id="temp"&gt;&lt;/p&gt;
    &lt;p id="time"&gt;&lt;/p&gt;
  
    &lt;button onclick="convertc()"&gt;imperial&lt;/button&gt;
    &lt;button onclick="convertf()"&gt;metric&lt;/button&gt;
  &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>The problem is that both the buttons are one above another.I want to bring it on the same line.
  Thanks.</p>