How to show a menu icon on mobile devices in Bootstrap nav?
<p>When I view my site on mobile, the navbar works except there is not a mobile menu icon. That is to say, if you tap the far right of the nav bar, the <code>&lt;li&gt;</code> elements get toggled, but there is no icon in the spot where you tap to toggle the <code>&lt;li&gt;</code> elements, so users will not know to do it.</p>

<p>Thanks in advance for any pointers, it is much appreciated.</p>

<p>HTML:</p>

<pre><code>&lt;nav class="navbar navbar-light" style="background-color:#e3f2fd;"&gt;
    &lt;div class="container-fluid"&gt;
        &lt;!-- Brand and toggle get grouped for better mobile display --&gt;
        &lt;div class="navbar-header"&gt;
            &lt;button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#bs-example-navbar-collapse-1" aria-expanded="false"&gt;
                &lt;span class="sr-only"&gt;Toggle navigation&lt;/span&gt;
                &lt;span class="icon-bar"&gt;&lt;/span&gt;
                &lt;span class="icon-bar"&gt;&lt;/span&gt;
                &lt;span class="icon-bar"&gt;&lt;/span&gt;
            &lt;/button&gt;
            &lt;a class="navbar-brand" href="/"&gt;
                Home
            &lt;/a&gt;
        &lt;/div&gt;

        &lt;!-- Collect the nav links, forms, and other content for toggling --&gt;
        &lt;div class="collapse navbar-collapse" id="bs-example-navbar-collapse-1"&gt;
            &lt;ul class="nav navbar-nav"&gt;
                &lt;li&gt;&lt;a href="/topics"&gt;All Topics&lt;/a&gt;&lt;/li&gt;
                &lt;li class="dropdown"&gt;
                    &lt;a href="/topics" class="dropdown-toggle" data-toggle="dropdown" role="button" aria-haspopup="true" aria-expanded="false"&gt;Featured Topics &lt;span class="caret"&gt;&lt;/span&gt;&lt;/a&gt;
                    &lt;ul class="dropdown-menu"&gt;
                        &lt;li&gt;&lt;a href="/topics/US Presidents/new"&gt;U.S. Presidents&lt;/a&gt;&lt;/li&gt;
                        &lt;li&gt;&lt;a href="/topics/Astronomy/new"&gt;Astronomy&lt;/a&gt;&lt;/li&gt;
                        &lt;li&gt;&lt;a href="/topics/Movies/new"&gt;Movies&lt;/a&gt;&lt;/li&gt;
                    &lt;/ul&gt;
                &lt;/li&gt;
                &lt;li&gt;&lt;a href="/newest-quizzes"&gt;Newest Quizzes&lt;span class="sr-only"&gt;(current)&lt;/span&gt;&lt;/a&gt;&lt;/li&gt;
                &lt;li&gt;&lt;a href="/create-quiz"&gt;Create&lt;/a&gt;&lt;/li&gt;
                &lt;li&gt;&lt;a href="/about"&gt;About&lt;/a&gt;&lt;/li&gt;
            &lt;/ul&gt;

            &lt;ul class="nav navbar-nav navbar-right"&gt;
                    &lt;li&gt;&lt;a href="/login"&gt;Login&lt;/a&gt;&lt;/li&gt;
                    &lt;li&gt;&lt;a href="/register"&gt;Create Account&lt;/a&gt;&lt;/li&gt;

            &lt;/ul&gt;
        &lt;/div&gt;&lt;!-- /.navbar-collapse --&gt;
    &lt;/div&gt;&lt;!-- /.container-fluid --&gt;
&lt;/nav&gt;
</code></pre>