{}
CHRISTMAS
OFFER
62
%OFF

Stop copy pasting code you don't actually understand

Build the coding confidence you need to become a developer companies will fight for

Stop copy pasting code you don't actually understand

Become a PRO
Become a PRO
CHRISTMAS
OFFER
62
%OFF

Stop copy pasting code you don't actually understand

Build the coding confidence you need to become a developer companies will fight for

Stop copy pasting code you don't actually understand

Become a PRO
Become a PRO
run-icon
main.js
// The prompt() function displays a pop-up box with a message. // Whatever the user types is stored in the 'userName' variable. let orderItem = prompt("Welcome to our cafe! What would you like to order? "); // Now we can use that variable to confirm the order. console.log("Great choice! So you'd like to order " + orderItem + ". Coming right up!");
Output