import bootstrap css and js file in react
Answer:
To import Bootstrap CSS and JS files in a React project, you can follow these steps:
Install Bootstrap using npm:
npm install bootstrap
Import Bootstrap CSS in your React component:
jsx import 'bootstrap/dist/css/bootstrap.min.css';
Import Bootstrap JS in your React component:
jsx import 'bootstrap/dist/js/bootstrap.bundle.min.js';
By following these steps, you can import Bootstrap CSS and JS files into your React project.