To test your anchor links, open your code in a browser tab or mobile browser window and click on each anchor individually to make sure that they correctly navigate to the right location on the current page.