Hướng dẫn thử thách
1 / 11
Step 1
In this workshop, you will practice working with React functional components by building a reusable navbar.
All the CSS has been provided for you so you can focus on creating the navbar.
Start by defining a `Navbar` functional component. In the next step, you will start to build out the component using JSX.
Make sure to use a named export when exporting the component, as it will be imported into the HTML file.
Here is an example of a named export:
```js
export function multiply(a, b) {
return a * b;
}
```
Also, React functional components need to start with a capital letter because that is how React differentiates them from regular HTML elements.
Vượt qua bài kiểm tra hiện tại để mở khóa bài tiếp theo.
main.html
UTF-8 • Tab Size: 2Kiểm tra bài:⌘↵