Challenge: Routing

This challenge that will help you get hands-on experience with Next.js.

We'll cover the following

Problem statement

You’ve been provided with three files: /pages/page1.js, /pages/dynamic/dynamicPage.js, and /pages/index.js. You’re required to create a Header component that allows you to navigate between these three files.

import React from 'react'

const Header = () => {
    return(
        //Add code here
        <div>This is Header</div>
    )
}

export default Header;
Challenge: Routing

In case you get stuck, here are a few hints:

Good luck and happy coding!