R
R
Roman2015-12-06 20:21:32
css
Roman, 2015-12-06 20:21:32

Why is responsive navigation not working?

The adaptive menu does not work, the code is here , although the code is written one to one as in the video tutorial.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
S
Sergey, 2015-12-06
@vsrgv

Your option:

<button type="button" class="navbar-toggle" data toggle="collapse" data target="#responsive-menu">

Correct option:
<button type="button" class="navbar-toggle" data-toggle="collapse" data-target="#responsive-menu">

Dash missed in data-toggleanddata-target

R
Roman, 2015-12-06
@vsrgv

2400ca0e509849dbaeafb649d6a105a0.png6b428c27d03c4daaa0da3ee37230b727.png
and it does not work either locally or on codepen

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question