Skip to content

Instantly share code, notes, and snippets.

@Hacking-NASSA-with-HTML
Created December 29, 2022 16:27

Revisions

  1. Hacking-NASSA-with-HTML created this gist Dec 29, 2022.
    27 changes: 27 additions & 0 deletions App.js
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,27 @@
    import './App.css';

    function App() {
    const title = 'Welcome to the blog!'
    const likes = 50
    // const person = { name: 'Yoshi', age: 30 }
    const link = "https://google.com"

    return (
    <div className="App">
    <div className="content">
    <h1>{title}</h1>
    <p>Liked {likes} times</p>
    {/* <p>{person}</p> */}
    <p>{10}</p>
    <p>{"Hello, ninjas"}</p>
    <p>{[1, 2, 3, 4, 5]}</p>

    <p>{Math.random() * 10}</p>

    <a href={link}>Google Site</a>
    </div>
    </div>
    )
    }

    export default App