Follow

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use
Contact

Need to put items on 2 extreme ends in bootstrap reactjs

I have to print below on top of the record.

enter image description here

<h3 >CERTIFICATE DETAILS  {new Date().getDate()+'/'+ new Date().getMonth()+'/'+new Date().getFullYear()+ ''}</h3>

I have to put Certificate Details on the Left and date on the right on same row. As of now they both are coming on the center. how to do it.

MEDevel.com: Open-source for Healthcare and Education

Collecting and validating open-source software for healthcare, education, enterprise, development, medical imaging, medical records, and digital pathology.

Visit Medevel

>Solution :

Here is the code snippet.

.div{
  display: flex;
  justify-content: space-between;
}
<html>
  <body>
    <div class="div">
      <h3>CERTIFICATE DETAILS<h3>
      <h3>24/10/2021</h3>
    </div>
  </body>
</html>
Add a comment

Leave a Reply

Keep Up to Date with the Most Important News

By pressing the Subscribe button, you confirm that you have read and are agreeing to our Privacy Policy and Terms of Use

Discover more from Dev solutions

Subscribe now to keep reading and get access to the full archive.

Continue reading