Search⌘ K
AI Features

Challenge: Numbers

Explore JavaScript number handling through practical challenges. Learn to double numbers, split bills including tips, and manage arithmetic operations using prompts and alerts to build foundational coding skills.

We'll cover the following...

Task 1

Write some code that asks the user for a number and then tells them what double that number is.

Sample input 1:

number = 10

Expected output:

Double that number is 20!

Sample input 2:

number = 5
...