Comparing 2 inputs with data set.

@riveraanuar22 If you follow the logic it says:

If this array ( query.items ) has the length bigger than 0 (it got a result inside the array that matched the query), then take me to principal . Or else (if the length is not bigger than 0 ), you .hide() the text then .show() the text then console.error() .

Does it seem right to you?

I think, this .hide() method show be used somewhere else, don’t you?