I recently added a new menu option to my Angular 7 project, but it's not functioning correctly. I used Bootstrap 4 and followed this example from here. Can anyone help me figure out the correct way to implement this?
Check out the sample on StackBlitz.
Thank you.
This is the code snippet:
home.component.html
<section id="about">
<div class="container">
<div class="row">
<div class="col-lg-8 mx-auto">
<h2>About this page</h2>
<p class="lead">This template showcases various features like:</p>
<ul>
<li>Smooth scrolling navigation links</li>
<li>Responsive design for a one-page website</li>
<li>Bootstrap scrollspy functionality</li>
<li>Minimal custom CSS for personalized designs</li>
</ul>
</div>
</div>
</div>
</section>
// More sections follow...
header.component.html
<header id="header">
// Header content goes here...
</header>
full-component.html
<app-header></app-header>
<router-outlet></router-outlet>