# Defining Page Routes An application generally consist of more than one page. For example, in a music application, a user taps a song on a music list page to jump to the playback page of the song. You need to link these pages through the page router to implement redirection as required. The page router finds the target page based on the page URI. The following describes how to implement redirection between two pages: 1. In the **Project** window of DevEco Studio, choose **entry** > **src** > **mainjsdefault**. Right-click the **pages** folder and choose **NewJS Page** from the shortcut menu to create the detail page. 2. Call **router.push()** to navigate users to the detail page. 3. Call **router.back()** to navigate users to the index page. ## Building the Page Layout The index and detail pages each contains a <text> component that specifies the current page, and a **\ ``` ```
This is the detail page.
``` ## Setting Page Styles Set styles for the index and detail pages. Center the **\** and **\