DEV Community

Kunal Agrawal
Kunal Agrawal

Posted on

3 1

Bootstrap a website.

Bootstrap the most popular front-end library of responsive components.

just go to bootstrap.
you can install bootstrap from the following ways.

Using CDN (Content delivery network)

  • Copy this in head of your html <link href="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous"> and <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p" crossorigin="anonymous"></script> this after body tag.

Using NPM

  • Get all CSS, SCSS, JS written by bootstrap through npm package use it as you want.
  • import CSS import "bootstrap/dist/css/bootstrap.min.css"
  • import JS import "bootstrap/dist/js/bootstrap.min.js"

note JavaScript shown here is bundled so if you want to use components like modals and popovers read this doc

now after successfully linking Bootstrap's CSS and JS.

add components
and create a multi million dollar app 😁.
Best of Luck 👍

AWS Security LIVE!

Join us for AWS Security LIVE!

Discover the future of cloud security. Tune in live for trends, tips, and solutions from AWS and AWS Partners.

Learn More

Top comments (0)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay