title: Carousel content appears then dissapears
body: <p>So I have a simple carousel that was working perfectly until I decided to add bootstrap. After I added the bootstrap stylesheet (not the script file) the content for my carousel now appears for a second then disappears??  </p>
  
  <p>I can click on the controls and the content appears again but then disappears again. I thought the bootstrap stylesheet was overriding my "prev" and "next" classes for the controls so I just renamed them but still nothing. I don't want to change my carousel script either since it was working just fine before but will if needed. Any help in figuring out what's causing it? There's another script for the second carousel but it's pretty much identical to that one. I don't know if my css will help but I posted it anyways. Please help:(  </p>
  
  <p>My HTML:  </p>
  
  <pre><code>&lt;!--project section headings--&gt;
              &lt;div class="projects"&gt;
                  &lt;a&gt;     
                      &lt;div class="box projects-others" style="color: #ffdb4d;"&gt;
                          &lt;h1 style="color: #ffdb4d;"&gt;Projects :&lt;br&gt; Others&lt;/h1&gt;
                          &lt;!--slider starts--&gt;
                          &lt;div class="slideshow-container"&gt;
                              &lt;div class="mySlides fade"&gt;
                                  &lt;div class="project-text"&gt;
                                      &lt;h2&gt;&lt;a href="#"&gt;ProjectD&lt;/a&gt;&lt;/h2&gt;
                                  &lt;/div&gt;
                              &lt;/div&gt;
  
                              &lt;div class="mySlides fade"&gt;
                                  &lt;div class="project-text"&gt;
                                      &lt;h2&gt;&lt;a href="#"&gt;ProjectE&lt;/a&gt;&lt;/h2&gt;
                                  &lt;/div&gt;
                              &lt;/div&gt;
  
                              &lt;div class="mySlides fade"&gt;
                                  &lt;div class="project-text"&gt;
                                      &lt;h2&gt;&lt;a href="#"&gt;ProjectF&lt;/a&gt;&lt;/h2&gt;
                                  &lt;/div&gt;
                              &lt;/div&gt;
  
                              &lt;a class="previous p-others" onclick="plusSlides(-1)"&gt;&amp;#10094;&lt;/a&gt;
                              &lt;a class="nexxt n-others" onclick="plusSlides(1)"&gt;&amp;#10095;&lt;/a&gt;
                          &lt;/div&gt;
                      &lt;/div&gt;  
                  &lt;/a&gt;
                  &lt;a&gt;
                      &lt;div class="box projects-coding" style="color:#00004d;"&gt;
                          &lt;h1 style="color:#00004d;"&gt;Projects :&lt;br&gt; Coding&lt;/h1&gt;
                          &lt;!--second slider starts--&gt;
                          &lt;div class="slideshow-container"&gt;
                              &lt;div class="mySlides2 fade"&gt;
                                  &lt;div class="project-text"&gt;
                                      &lt;h2&gt;&lt;a&gt;ProjectA&lt;/a&gt;&lt;/h2&gt;
                                  &lt;/div&gt;
                              &lt;/div&gt;
  
                              &lt;div class="mySlides2 fade"&gt;
                                  &lt;div class="project-text"&gt;
                                      &lt;h2&gt;&lt;a&gt;ProjectB&lt;/a&gt;&lt;/h2&gt;
                                  &lt;/div&gt;
                              &lt;/div&gt;
  
                              &lt;div class="mySlides2 fade"&gt;
                                  &lt;div class="project-text"&gt;
                                      &lt;h2&gt;&lt;a&gt;ProjectC&lt;/a&gt;&lt;/h2&gt;
                                  &lt;/div&gt;
                              &lt;/div&gt;  
                              &lt;a class="previous p-coding" onclick="plusSlides2(-1)"&gt;&amp;#10094;&lt;/a&gt;
                              &lt;a class="nexxt n-coding" onclick="plusSlides2(1)"&gt;&amp;#10095;&lt;/a&gt;
                          &lt;/div&gt;
                      &lt;/div&gt;
                  &lt;/a&gt;
              &lt;/div&gt;
  </code></pre>
  
  <p>CSS:  </p>
  
  <pre><code>/*project section starts*/
      .projects {
              overflow: hidden;
              height: 27em;
              margin-top: 50px;
              border: ;
      }
          .projects a {
                  cursor: default;
              }
  
                  .box {
                  box-sizing: border-box;
                  box-shadow: 1.1px 1.2px #595959;
                  }
                      .projects h1 {
                          font-size: 4.40em;
                          text-align: center;
                          text-shadow: 0 3px 3px rgba(0,0,0,0.9);
                          font-family: 'Dancing Script', cursive;
                          line-height: 80px;
                          padding-top: 55px;
                      }
  
                  .projects-others, .projects-coding {
                      width: 50%;
                      -moz-transition: width .3s;
                      -webkit-transition: width .3s;
                      -o-transition: width .3s;
                      transition: width .3s;
                      height: 27em;
                      padding: 1em;
                      box-sizing: border-box;
                  }
  
                  .projects-others { 
                      float: right;
                      background: #00004d;
                      background-size: cover;
                      background-attachment: fixed;
                      background-position: center;
                      background-repeat: no-repeat;
                  }
  
                  .projects-coding {
                      background: white;
                      border-right:;
                  }
  
                  .projects:hover .projects-others  {
                      width: 40%;
                  }
  
                  .projects-coding:hover {
                      width: 60% ;
                  }
  
                  .projects-others:hover {
                      width: 60% !important;
                  }
  
                  .projects-others:hover ~ .projects-coding {
                      width: 40%;
                  }
                  /*courosel section starts*/
                  .slideshow-container {
                      max-width: 1000px;
                      height: 7.5em;
                      position: relative;
                      margin: auto;
                  }
  
                      .mySlides, .mySlides2 {
                          display:none;
                      }
  
                          .project-text {
                          color:;
                          display: flex;
                          font-size: 20px;
                          padding:12px;
                          position: absolute;
                          bottom: 1px;
                          width: 100%;
                          justify-content: center;
                          align-items: center;
                          font-family: 'Inknut Antiqua', serif;
                          }
  
                          .fade {
                              -moz-animation-name:fade;
                              -webkit-animation-name: fade;
                              -moz-animation-duration: 2.5s;
                              -webkit-animation-duration: 2.5s;
  
                          }
  
                              .project-text a, a:visited, {
  
                              }
  
                      .previous, .nexxt {
                          cursor: pointer;
                          position: absolute;
                          top: 50%;
                          width: auto;
                          padding: 16px;
                          margin-top:;
                          font-weight: bold;
                          font-size: 28px;
                          transition:0.85s ease;
                          border-radius: 0 3px 3px 0;
                          user-select: none;
                      }
  
                      .nexxt {
                          right:0;
                          border-radius: 3px 0 0 3px;
                      }
  
                      .previous:hover, .nexxt:hover {
                          cursor: pointer;
                      }
  
                      .p-others:hover, .n-others:hover {
                          background-color: white;
                          color: #00004d;
                      }
                      .p-coding:hover, .n-coding:hover {
                          background-color: #00004d;
                          color: white;
                      }
  
  
                          /*courosel media queries*/
                          @-webkit-keyframes fade {
                              from {opacity: 0.4}
                              to {opacity: 1}
                          }
  
                          @keyframes fade {
                              from {opacity: 0.4}
                              to {opacity: 1}
                          }
  
                          @media only screen and (max-width: 300px) {
                              .previous, .nexxt,.text {font-size: 11px}
                          }
  </code></pre>
  
  <p>Script:  </p>
  
  <pre><code>var slideIndex = 1;
  showSlides(slideIndex);
  
  function plusSlides(n) {
      showSlides(slideIndex += n);
  }
  
  function currentSlide(n) {
      showSlides(slideIndex = n);
  }
  
  function showSlides(n) {
      var i;
      var slides = document.getElementsByClassName("mySlides");
      var dots = document.getElementsByClassName("dot");
      if (n &gt; slides.length) {slideIndex = 1}
      if (n &lt; 1) {slideIndex = slides.length}
      for (i = 0; i &lt; slides.length; i++) {
          slides[i].style.display = "none";
      }
      for (i = 0; i &lt; dots.length; i++) {
          dots[i].className = dots[i].className.replace(" active","");
      }
      slides[slideIndex-1].style.display = "block";
      dots[slideIndex-1].className += " active";
  }
  </code></pre>