LESSON 07 / 07

Getting Input with prompt()

Make programs interactive: ask the user for values with prompt(), convert them to numbers and use them.

๐ŸŽ“Beginnerlevel
โฑ๏ธ25 minto finish
โœ๏ธ3activities

๐Ÿ“‚ First Steps in JavaScript๐Ÿท๏ธ JavaScript basics

๐Ÿ”’

Youโ€™ve finished your free lessons! ๐ŸŽ‰

Create a free account to unlock every lesson, save your progress, keep your streak and get personal review suggestions. It takes 20 seconds.