NodeGroup2 / autocomplete-project

An autocomplete app
https://nodetojoy-autocomplete.herokuapp.com/
MIT License
0 stars 2 forks source link

DOM manipulations - fewer off #71

Open SavageWilliam opened 7 years ago

SavageWilliam commented 7 years ago

updateDom() function.

app.js:56

Each suggestion is individually added to the DOM and then an event listener is added to each suggestion.

You could build the whole list of suggestions, add listeners and THEN manipulate the dom>?