My modal is not working, how to fix?

All QuestionsCategory: HTMLMy modal is not working, how to fix?
Chetan Shidling asked 4 years ago

My code
 
<link rel=”stylesheet” href=”css/bootstrap.css”>
<link rel =”stylesheet” href=”css/font-awesome.css”>
<link rel =”stylesheet” href=”css/style.css”>
<script src=”js/bootstrap.js”> </script>
<script src=”js/jquery.js”> </script>
 
In body
 
<div class=”container”>
<div class=”page-header”>
<h2 class=”pull-left”>Check Out</h2>
<div class=”pull-right”><button class=”btn btn-success” data-toggle=”modal” data-target=”#Mymodal”>Proceed</button></div>
<!– The Proceed form’s model –>
<div id=”Mymodal” class=”modal” fade>
<div class=”modal-dialog” modal-sm>
<div class=”modal-content”>
<div class=”modal-header”> Modal Header</div>
<div class=”modal-body”> Modal Body</div>
<div class=”modal-footer”> Modal Footer</div>
</div>
</div>
</div>
<div class=”clearfix”></div>
</div>

1 Answers
Chetan Shidling answered 4 years ago

Add this in your script
 
<script src=”https://code.jquery.com/jquery-3.2.1.slim.min.js&#8221; integrity=”sha384-KJ3o2DKtIkvYIK3UENzmM7KCkRr/rE9/Qpg6aAZGJwFDMVNA/GpGFF93hXpG5KkN” crossorigin=”anonymous”></script>
<script src=”https://cdnjs.cloudflare.com/ajax/libs/popper.js/1.12.3/umd/popper.min.js&#8221; integrity=”sha384-vFJXuSJphROIrBnz7yo7oB41mKfc8JzQZiCq4NCceLEaO4IHwicKwpJf9c9IpFgh” crossorigin=”anonymous”></script>
<script src=”https://maxcdn.bootstrapcdn.com/bootstrap/4.0.0-beta.2/js/bootstrap.min.js&#8221; integrity=”sha384-alpBpkh1PFOepccYVYDB4do5UnbKysX5WZXm3XxPqe5iKTfUKjNkCk9SaVuEZflJ” crossorigin=”anonymous”></script>