Hello! The issue is that you were incorrectly using hide function. You have mapping from array to Mobile List and using JS preelement.hide();/pre you hide some list elements. But this way you hide only text inside Mobile List Item. To hide entire element use preelement.closest("li").hide()/pre