mirror of
https://github.com/Raghu-Ch/angular-challenges.git
synced 2026-02-10 12:53:03 -05:00
Anchor Scrolling
Author: Thomas Laforge
Information
You begin with an application that has basic navigation and anchor navigation in the HomeComponent. However, using href recreates the path each time and refreshes the page.
Statement
- Your task is to refactor this application to use the built-in navigation tool to better fit within the Angular Framework. You can explore the router, but it's better to stay within the template and use the
RouterLinkdirective. - To improve the user experience, add smooth scrolling.
Submitting your work
- Fork the project
- clone it
- npm ci
npx nx serve anchor-scrolling- ...work on it
- Commit your work
- Submit a PR with a title beginning with Answer:21 that I will review and other dev can review.