title: input type="date" set a default value to date today
body: <p>How can I set an input type=&quot;date&quot; value set to default value equals date today?</p>
  <p>this is my HTML code, what's the best way to do it?</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;div class="form-group col-6"&gt;
      &lt;label for="inputEmail4"&gt;Start date&lt;/label&gt;
          &lt;input type="date" value="fsd" id="startdateId" class="form-control" required&gt;
   &lt;/div&gt;</code></pre>
  </div>
  </div>
  </p>