changed navHtmlList to use map instead of (x:xs) pattern recursion