<link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"/> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> <div class="container"> <div class="row"> <h1>НазваниС сайта</h1> <div class="navbar navbar-default"> <div class="container"> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#responsive-menu"> </button> <!-- <a class="navbar-brand" href="#">НазваниС ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΠΈ</a>!--> </div> <div class="collapse navbar-collapse" id="responsive-menu"> <ul class="nav navbar-nav"> <li><a href="#">ΠŸΡƒΠ½ΠΊΡ‚ 1</a></li> <li><a href="#">ΠŸΡƒΠ½ΠΊΡ‚ 1</a></li> <li><a href="#">ΠŸΡƒΠ½ΠΊΡ‚ 1</a></li> <li><a href="#">ΠŸΡƒΠ½ΠΊΡ‚ 1</a></li> </ul> </div> </div> </div> </div> </div> 

Closed due to the fact that off-topic participants Ivan Pshenitsyn , aleksandr barakin , Bald , Streletz , user194374 Aug 19 '16 at 6:15 .

It seems that this question does not correspond to the subject of the site. Those who voted to close it indicated the following reasons:

  • β€œQuestions asking for help with debugging (β€œ why does this code not work? ”) Should include the desired behavior, a specific problem or error, and a minimum code for playing it right in the question . Questions without an explicit description of the problem are useless for other visitors. See How to create minimal, self-sufficient and reproducible example . " - aleksandr barakin, Streletz, Community Spirit
  • "The question is caused by a problem that is no longer reproduced or typed . Although similar questions may be relevant on this site, solving this question is unlikely to help future visitors. You can usually avoid similar questions by writing and researching a minimum program to reproduce the problem before publishing the question. " - Ivan Pshenitsyn, Bald
If the question can be reformulated according to the rules set out in the certificate , edit it .

  • You forgot to connect jquery or bootstrap.js - soledar10

1 answer 1

 <link href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/css/bootstrap.min.css" rel="stylesheet"/> <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.11.1/jquery.min.js"></script> <script src="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.7/js/bootstrap.min.js"></script> <div class="container"> <div class="row"> <h1>НазваниС сайта</h1> <div class="navbar navbar-default"> <div class="container"> <div class="navbar-header"> <button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#responsive-menu">А Ρ‡Ρ‚ΠΎ Π½Π΅ Ρ€Π°Π±ΠΎΡ‚Π°Π΅Ρ‚?</button> <!-- <a class="navbar-brand" href="#">НазваниС ΠΊΠΎΠΌΠΏΠ°Π½ΠΈΠΈ</a>!--> </div> <div class="collapse navbar-collapse" id="responsive-menu"> <ul class="nav navbar-nav"> <li><a href="#">ΠŸΡƒΠ½ΠΊΡ‚ 1</a></li> <li><a href="#">ΠŸΡƒΠ½ΠΊΡ‚ 1</a></li> <li><a href="#">ΠŸΡƒΠ½ΠΊΡ‚ 1</a></li> <li><a href="#">ΠŸΡƒΠ½ΠΊΡ‚ 1</a></li> </ul> </div> </div> </div> </div> </div> 

  • already corrected and corrected - Ruslan_K
  • The button did not work, for some reason the description of the problem was not added ... The code that works as it should be, thank you. I still do not understand what the problem was - Vanya