Exercise 3 · Chapter: Input & Type ConversionRequired+50 XP
Fix the Input
The code below should read the user's name, but it has a bug. Fix it!
Example input: Alex
Expected output: Hello, Alex!
Need a hint?
3 available · costs 5 XP each
javascript
let name = prompt;
console.log(`Hello, ${name}!`);
Output
Run your code to see the output here.