Let’s work on the navigation buttons of the Comments screen.
Pressing the first button should take the user to the previous screen.
Use the goBack method for this.
Pressing the second button should take the user to the initial stack screen.
Use the popToTop method for this.

This task is part of the Full-Stack JavaScript Course.
If you have any issues with it, you can ask for community help below the post.
Feel free to help others if you’ve already solved the task.