import React, { useState } from "react"; import logo from "./heart-icon.png"; import "./App.css"; function MakePoem() { return (

You are important. I wrote a small poem I hope will help you today.

It's not very long, but I'm doing my best, and so are you.

You are the moon, you are the stars

I'm glad you're here, whomever you are.

We've been through much; in this life it's true,

But in the end, you will come through.

Much like life, this poem is short

It doesn't always rhyme, or have a nice beat;

It might seem wrong, or incomplete;

It might go on, or so it seems;

It might feel like you're in a dream.

That's not the point, I know in my heart

I'm glad you're here, whomever you are.

); } function App() { let [isPoemShown, showPoem] = useState(false); let [buttonTextString, changeButtonText] = useState("Tell me more"); const activatePoem = () => { showPoem(!isPoemShown); if (isPoemShown) { changeButtonText("Tell me more"); } else { changeButtonText("Tell me less"); } }; return (
logo

You are important and loved

{isPoemShown && }
); } export default App;