<section style="width: 500px"> <div id="carousel" class="carousel slide" data-ride="carousel"> <ol class="carousel-indicators"> <li class="active" data-target="#carousel" data-slide-to="0"></li> <li data-target="#carousel" data-slide-to="1"></li> <li data-target="#carousel" data-slide-to="2"></li> </ol> <div class="carousel-inner"> <div class="item active"> <img src="img/spec/1.jpeg"> <div class="carousel-caption"> <h3>раз</h3> </div> </div> <div class="item"> <img src="img/spec/1.jpeg"> <div class="carousel-caption"> <h3>два</h3> </div> </div> <div class="item"> <img src="img/spec/1.jpeg"> <div class="carousel-caption"> <h3>три</h3> </div> </div> </div> <a class="carousel-control left" href="#carousel" data-slide="prev"> <img src="img/34.png"> </a> <a class="carousel-control right" href="#carousel" data-slide="next"> <img src="img/35.png"> </a> </div> </section> 
  • Everything works correctly, checked https://jsfiddle.net/powertimka/d53g389y/1/ What version of bootstrap? - Timofey Semenyuk
  • @ TimofeySemenyuk 3.3.7, like you. Something does not go well anyway. - lesha_ber
  • In the console, when you click on errors, there are no errors and in general there are no errors? - Timofey Semenyuk
  • @ TimofeySemenyuk million errors ... lesha.wemakesites.ru lying around here. - lesha_ber

1 answer 1

 Uncaught Error: Bootstrap's JavaScript requires jQuery at bootstrap.min.js:6 

Connect jQuery before bootstrap.min.js

More precisely, you have not correctly connected: Failed to load resource: the server responded with a status of 404 (Not Found)

This is from the errors console of your site.

  • I connected it in a new way, the error went away, but I still can not flip through the slider with the buttons, only in automatic mode. - lesha_ber
  • @ lesha_ber, inserted the code from jsfiddle into your site, everything works, try to insert it and build on it, although I don’t see any special differences in them - Timofey Semenyuk