Incomplete Modification | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

Incomplete Modification

Hi Guys! I'm unable to use Bootstrap on my Websites. My JavaScript codes doesn't work on my Chrome browser too...Do you know why?

5th Oct 2020, 1:19 AM
Silver
2 Answers
+ 2
you have to link your javascript and html files. At the end, before body tag, write: <script src="main.js"></script> to link both. You have to put bootstrap's CDN in the <head> tag for it to work, you can find it by searching on google, it is a long <link /> tag. Just search bootstrap cdn.
5th Oct 2020, 4:43 AM
maf
maf - avatar
+ 1
I also suffer from this Simple soln is to put the whole JS and HTML code in one page
5th Oct 2020, 1:41 AM
Abhay
Abhay - avatar