Created
August 13, 2022 04:28
-
-
Save SarahElson/a3c4e1e62cb9226bfa2638081d80f65c to your computer and use it in GitHub Desktop.
How To Style And Write CSS In React
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Styles from "./App.module.css"; | |
export default function App() { | |
return ( | |
<div className={Styles.block}> | |
<h2> | |
React is a free and open-source front-end JavaScript library for | |
building user interfaces based on UI components. It is maintained by | |
Meta and a community of individual developers and companies | |
</h2> | |
</div> | |
); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment