Guest User

index.js

a guest
Jun 26th, 2023
125
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
JavaScript 0.25 KB | Source Code | 0 0
  1. // index.js:
  2. function Navbar() {
  3.     return (
  4.         <h1>This is my awesome navbar!</h1>
  5.     )
  6. }
  7.  
  8. // Places the content in the first argument inside the element given as the second argument.
  9. ReactDOM.render(<Navbar/>, document.getElementById("root"))
Advertisement
Add Comment
Please, Sign In to add comment