script.js
// search history sidebar in order to show clear history btn
search history sidebar in order to show clear history btn
search history sidebar in order to show clear history btn
function showClear() {
    if (searchHistoryList.text() !== "") {
        clearHistoryButton.removeClass("hide");
    }
}
function showClear ( ) { if ( searchHistoryList . text ( ) !== "" ) { clearHistoryButton . removeClass ( "hide" ) ; } }
search history sidebar in order to show clear history btn
search history sidebar in order to show clear history btn