diff --git a/curriculum/challenges/english/25-front-end-development/workshop-reusable-mega-navbar/6740495ba48aa94e5667b436.md b/curriculum/challenges/english/25-front-end-development/workshop-reusable-mega-navbar/6740495ba48aa94e5667b436.md index dca2a069fc3..ea9fbda2db3 100644 --- a/curriculum/challenges/english/25-front-end-development/workshop-reusable-mega-navbar/6740495ba48aa94e5667b436.md +++ b/curriculum/challenges/english/25-front-end-development/workshop-reusable-mega-navbar/6740495ba48aa94e5667b436.md @@ -14,7 +14,15 @@ All the CSS have been provided for you so you can focus on creating the navbar. Start by defining a `Navbar` functional component that returns a pair of round parentheses. In the next step, you will start to build out the component using JSX. -Make sure to `export` the component, as it will be imported into the HTML file. +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 it is a way to differentiate from regular HTML elements.