Nap time

Your task Make const [asleep, setAsleep] = useState(false);. Show {asleep ? "😴" : "🐶"}, give the button the title {asleep ? "Wake up" : "Nap time"}, and make it run setAsleep(!asleep).

Getting the editor ready