Solution: Improved Hello

Let's see the solution to the improved hello challenge.

We'll cover the following

Solution

We use the prompt() method to display an input dialog box to let the user enter his firstName and lastName.

Let’s take a look at the solution code below:

Get hands-on with 1200+ tech skills courses.