I am failing to get the modal pop up in bootstrap 3 -


this code wrote. have checked queries related this, on other platforms , forums, similar coding working not me

<div style="text-align: center; width: 100%">     <button style="position: absolute; top: 50%" type="button" class="btn btn-primary" data-toggle="modal" data-target="#mymodal">subscribe</button> </div> <!-- modal --> <div class="modal" id="mymodal" role="dialog" tabindex="-1" aria-hidden="true">     <div class="modal-dialog" role="document">         <div class="modal-content">             <!-- modal header -->             <div class="modal-header">             <button type="button" class="close" data-dismiss="modal">&times;</button>             </div>              <!-- modal body -->             <div class="modal-body">                 <form role="form">                     <div class="form-group">                     <input type="email" class="form-control" placeholder="email">                      </div>                 </form>             </div>              <!-- modal footer -->             <div class="modal-footer">             </div>         </div>     </div> </div> 

did include bootstrap.js? (preferably @ end of body)


Comments