When I click on one of the elements in the navigation bar, it jumps to the top of the page. I made a navigation bar and its elements: home page, news …etc. Whichever I click, it sends me to the top of the page I made. How can I solve this problem.
>Solution :
You probably did not add a proper link.
Make sure you add the href attribute as seen below. Also, check that the href value is not #
<a href='home.html'>Home</a>
<!-- Will work -->
Below will take you to the top of the page
<a href='#'>Home</a>
<!-- Will take you to the top of the page-->