Task 5: Create the welcome header

The welcome header is currently missing, so let’s add that. In the completed game, the header greets the player by the name that they provide on the registration page. We can use Handlebars to generate the header dynamically in the client.

Create the welcome header. Add the following code in the public/js/trivia.js file:

Get hands-on with 1200+ tech skills courses.