Skip to main content
🌱 Coding Level 1: First Steps 🌱

Change One Word ✏️

Time to write your very first code! This is the smallest possible change: you'll just type a word.

Below is a function called shout. Right now it hands back an empty string "" β€” nothing between the quotes. Your job: put any word you like between the quotes.

return "PIZZA";   // hands back the word PIZZA

Your task

Make shout hand back any word that isn't empty. Go wild β€” your name, your favorite food, anything! πŸ•

⚑ 15 XP
solution.jsRuns in your browser
Loading editor…
Tests1 to pass
shout() hands back a word

Run your code to check these.