Challenge #5: Add Header Component

Modify the application by including a custom header component.

We'll cover the following

Problem statement

It seems that every page needs a header with a title and menu button. For a demo application with only two pages, copying and pasting the header code might be acceptable. As your app grows, this might become a burden. Create a custom component that includes a menu button with a title you can pass as an attribute.

svg viewer

Get hands-on with 1200+ tech skills courses.