I did some modifications to my angular app, trying to use some routes so that i can use anchor (like ids & href so that it goes to the section). However, i moved everything back to its original state, and now the nav component is not being rendered, any ideas why this is happening?
Here is my app component
<app-landing-page></app-landing-page>
<nav></nav>
And this is my nav component HTML
<nav
class="navbar fixed-top navbar-expand-md navbar-dark"
>
Norbert
<ul class="navbar-nav mr-auto">
<li class="nav-item" routerLinkActive="active">
<a class="nav-link" href="#about">About</a>
</li>
<li class="nav-item" routerLinkActive="active">
<a class="nav-link" href="#skills">Skills</a>
</li>
<li class="nav-item" routerLinkActive="active">
<a class="nav-link" href="#contact">Contact</a>
</li>
<span class="et-hero-tab-slider"></span>
</ul>
</div>
</nav>
I can see only the landing page but i cannot see the nav HTML. Any ideas what goes wrong?
<app-nav></app-nav>(i.e. you need to use the selector of the component). Given what happens, you really really should learn to use git to be able to rollback to a previous working version.