Good morning Guys, I have a big question.
I have the following code:
<div class="nav">
<ul class="menu">
<li class="mnativo"><a href="#"><i class="fa fa-bars"></i></a></li>
<li><a href="#"><i class="fa fa-home"></i></a></li>
<li><a href="#"><i class="fa fa-star-o"></i></a></li>
<li><a href="#"><i class="fa fa-play"></i></a></li>
</ul>
</div>
<div class="conteudo">
<nav>
<ul class="submenu">
<li><a href="#">Todas</a></li>
<li><a href="#">Todas</a></li>
<li><a href="#">Todas</a></li>
<li><a href="#">Todas</a></li>
<li><a href="#">Todas</a></li>
<li><a href="#">Todas</a></li>
</ul>
</nav>
</div>
The first div with the nave class is the menu that will be visible.
The second one called content is what will be hidden.
Come on,
I need the moment I click on the li
<li><a href="#"><i class="fa fa-home"></i></a></li>
The content div appears.
I would like to be able to help myself, I'm not using any library, I plan to do everything without using it, because the project is small, so I just wanted a javascript that would do that ..
Since I thank you all.