Testing the template
To test the template, we will follow these steps:
- Inside the
initial
directory, run thenode app.js
command. - Now, in a browser, open the
http://localhost:8080/
URL. You should see this output: - Now, type something in the search box and click on the Search button. You should then see this output:
- Now, enter an invalid path in the address bar. You should be able to see this output: