+ 3

i have error in my web consol ! Why ?

the error: Uncaught Error: Bootstrap's JavaScript requires jQuery , my code : <!-- Latest compiled and minified CSS --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" integrity="sha384-BVYiiSIFeK1dGmJRAkycuHAHRg32OmUcww7on3RYdg4Va+PmSTsz/K68vbdEjh4u" crossorigin="anonymous"> <!-- Optional theme --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap-theme.min.css" integrity="sha384-rHyoN1iRsVXV4nD0JutlnGaslCJuC7uwjduW9SVrLvRYooPp2bWYgmgJQIXwl/Sp" crossorigin="anonymous"> <!-- Latest compiled and minified JavaScript --> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script> <meta name="viewport" content="width=device-width, initial-scale=1">

2nd Sep 2018, 2:52 PM
Omar Khalil Bakhsh
Omar Khalil Bakhsh - avatar
2 Respostas
+ 5
Hi Omar Khalil Bakhsh 👋! Bootstrap js plugin requires jQuery, see their starter template as a reference: https://getbootstrap.com/docs/3.3/getting-started/#template So to fix that error in your console just add jQuery right before the bootstrap.min.js script tag. Like this: <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.0/jquery.min.js"></script> <!-- Latest compiled and minified JavaScript --> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js" integrity="sha384-Tc5IQib027qvyjSMfHjOMaLkfuWVxZxUPnCJA7l2mCWNIpG9mGCD8wGNIcPD7Txa" crossorigin="anonymous"></script>
2nd Sep 2018, 5:15 PM
Pao
Pao - avatar
+ 3
Pao love you man ❣️
3rd Sep 2018, 7:10 AM
Omar Khalil Bakhsh
Omar Khalil Bakhsh - avatar