Coding Challenge: Auto Complete

Let's practice a coding exercise designed to give an advanced hands-on practice on "Form Validation."

We'll cover the following

Problem statement

In this exercise, you’ll have to assist the user in selecting a country. As he enters the country name in an input box, the page shows a list of corresponding countries. Clicking on a suggested country replaces the value in the input box. To keep things simple, only countries starting with a “A” letter are taken into account. Here is the HTML, CSS and JavaScript code that supports the rest of the functionality:

Get hands-on with 1200+ tech skills courses.