javascript - Include bootstrap in my HTML page -
i have simple line of code. starting in doing javascript coding cannot make work. can please tell me why?
<html> <head> <script src="bootstrap.min.js"></script> <title>my website</title> </head> <body> <p>this example of paragraph.</p> <button type="button" class="btn btn-danger">danger daw!</button> </body> </html>
the bootstrap not appearing on page.
bootsrap has javascript, css , optional theme. getting started link on bootstrap site have following code include them you. if hosting files yourself, update paths files.
<!-- latest compiled , minified css --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css" integrity="sha384-1q8mtjoasx8j1au+a5wdvnpi2lkffwweaa8hdddjzlplegxhjvme1fgjwpgmkzs7" crossorigin="anonymous"> <!-- optional theme --> <link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap-theme.min.css" integrity="sha384-flw2n01lmqjakbkx3l/m9eahuwpsfenvv63j5ezn3uzzapt0u7eysxmjqv+0en5r" crossorigin="anonymous"> <!-- latest compiled , minified javascript --> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/js/bootstrap.min.js" integrity="sha384-0msbjdehialfmubbqp6a4qrprq5ovfw37prr3j5elqxss1yvqotnepnhvp9aj7xs" crossorigin="anonymous"></script>
Comments
Post a Comment