title: My modal Bootstrap exist but not visible
body: <p>I wrote this code to show up a modal.
  when i click on the button and i inspect, my modal exist so i can check my elements, but my modal is invisible. </p>
  
  <p>When i click on the button and i inspect, a style is added to my modal like this  <code>&lt;div class="modal fade bg-dark in" id="exampleModal" style="display: block;"&gt;</code></p>
  
  <ol>
  <li>I activate popups on chrome</li>
  <li>I have jquery before bootstrap and visible in my network </li>
  </ol>
  
  <p>This is my code :</p>
  
  <pre><code>&lt;!DOCTYPE html&gt;
  &lt;html&gt;
   &lt;head&gt;
     &lt;link rel="stylesheet" href="{{asset('assets/css/bootstrap.min.css')}}"&gt;
    &lt;link rel="stylesheet" href="{{asset('assets/css/jquery-ui.css')}}"
  &lt;/head&gt;
  &lt;/body&gt;
  &lt;button type="button" class="btn btn-primary" data-toggle="modal" data-target="#exampleModal" data-whatever="@getbootstrap"&gt;Open modal for @getbootstrap&lt;/button&gt;
  &lt;div class="modal fade bg-dark" id="exampleModal" &gt;
  &lt;div class="modal-dialog" role="document"&gt;
  &lt;div class="modal-content"&gt;
    &lt;div class="modal-header"&gt;
      &lt;h5 class="modal-title" id="exampleModalLabel"&gt;New message&lt;/h5&gt;
      &lt;button type="button" class="close" data-dismiss="modal" aria-label="Close"&gt;
        &lt;span aria-hidden="true"&gt;&amp;times;&lt;/span&gt;
      &lt;/button&gt;
    &lt;/div&gt;
    &lt;div class="modal-body"&gt;
      &lt;form&gt;
        &lt;div class="form-group"&gt;
          &lt;label for="recipient-name" class="col-form-label"&gt;Recipient:&lt;/label&gt;
          &lt;input type="text" class="form-control" id="recipient-name"&gt;
        &lt;/div&gt;
        &lt;div class="form-group"&gt;
          &lt;label for="message-text" class="col-form-label"&gt;Message:&lt;/label&gt;
          &lt;textarea class="form-control" id="message-text"&gt;&lt;/textarea&gt;
        &lt;/div&gt;
      &lt;/form&gt;
    &lt;/div&gt;
    &lt;div class="modal-footer"&gt;
      &lt;button type="button" class="btn btn-secondary" data-dismiss="modal"&gt;Close&lt;/button&gt;
      &lt;button type="button" class="btn btn-primary"&gt;Send message&lt;/button&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p></p>
  
  <pre><code>&lt;/div&gt;
  
   &lt;script&gt;
  $('#exampleModal').on('show.bs.modal', function (event) {var button = $(event.relatedTarget) 
   var recipient = button.data('whatever') 
    var modal = $(this)
  modal.find('.modal-title').text('New message to ' + recipient)
  modal.find('.modal-body input').val(recipient)})
  &lt;/script&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/sE0UF.png" rel="nofollow noreferrer">Inspection look like this </a></p>