diff --git a/attachments/03 React Essentials/App.jsx b/attachments/03 React Essentials/App.jsx index 630b1d4ad..a2535bf14 100644 --- a/attachments/03 React Essentials/App.jsx +++ b/attachments/03 React Essentials/App.jsx @@ -2,15 +2,16 @@ const reactDescriptions = ['Fundamental', 'Crucial', 'Core']; function genRandomInt(max) { return Math.floor(Math.random() * (max + 1)); -} +} function Header() { + const description = reactDescriptions[genRandomInt(2)]; return (
Stylized atom

React Essentials

- Fundamental React concepts you will need for almost any app you are going to build! + {description} React concepts you will need for almost any app you are going to build!

);