Discovering Tailwind ( n°2 )
Sooo, today I used Tailwindcss for the first time! It's pretty neat and has lots of usefull features, but it may take some time to fully learn...
yarn add tailwindcss
Also, im about 40% through my react course, and i learn about nested components!
export default function Header() {
return (
<header className="border-b font-bold p-3 flex justify-between items-center">
<span>App Name</span>
<Navigation />
</header>
)
}
This is where you use a component inside of a component.