5 AnswersNew Answer
Shahriar Kamal Nafiz Visit this link, A link to a CDN file won't work if you're offline. https://getbootstrap.com/docs/3.3/getting-started/ example code of boostrap https://code.sololearn.com/W7USgQQHEM0d/?ref=app
CDN meant Content Delivery Network CDN is a way to deliver content from server to your website user Let's take an example of bootstrap: You created your website and download bootstrap required files than you hosted it in your server When any user came to your website their browser request you bootstrap files in your server and your server will give them file as a response. It's only a user requested a file so your server given him quickly but if there are many visitors come to your site at a time then your server have to send bootstrap file to all of them which make your server slow So CDN is a service where you can host your file and give when any requests come and your server will not get loaded Go to bootstrap cdn link where you find the codes copy all those code and save it to file with file_name.extension respectively to extension you copied CDN IS A PLACE WHERE YOUR FILE HOSTED LIKE A NORMAL SERVER WHERE ANYONE CAN GET THEM I am not good explainer but HOPE IT WILL CLEAR YOUR DOUBT HAPPY coading ☺️
No. CDN means an online resources host with scalability. You cannot use a CDN when you are offline. But, in development, you can download the resources file to your project directory, and use relatively path to import the CSS or JS file. But then, in production, switch back to using CDN, to reduce server burden.
Nohow. Either you connect cdn for your site online. Either you download boitstrap