In your back end the variable names are good and quite explicit about what the code does.
But in front end, less so:
|
const arrayres = (value) => { |
what does arrayres mean? when I see this in dom.js I have to come and look at this file to know what it means. if it was named something like makeSuggestionsRequest then this would be much more clear.
Secondly
|
var carinput=document.getElementById('car'); |
Try to make sure you are using camelCase consistently in your code for variables
In your back end the variable names are good and quite explicit about what the code does.
But in front end, less so:
Carsdb/public/index.js
Line 1 in 121fb4d
what does
arrayresmean? when I see this indom.jsI have to come and look at this file to know what it means. if it was named something likemakeSuggestionsRequestthen this would be much more clear.Secondly
Carsdb/public/dom.js
Line 1 in 121fb4d
Try to make sure you are using camelCase consistently in your code for variables