Header Component
Understand and add the Header component.
We'll cover the following
Add the Header
component
The Header
component in the header.js
file is responsible for displaying our app name, JavaScript Quiz, on the top of our screen. To style the Header
component, we give it the header
class, which already has properties in the index.css
file attached to it.
<div className="header">
<h1>JavaScript Quiz </h1>
</div>
Get hands-on with 1400+ tech skills courses.