Quiz 2 Question 3 of 20

An address-entry experience that shows suggestions in a dropdown as the user types is implemented as JavaScript copied onto twelve forms. The copies have drifted apart, and one copy injects its dropdown by editing the form's HTML. How should the developer redesign it as a reusable component?

Select an answer to reveal the explanation.

Motivation