start the code that dynamically builds the nav so far (see message)
The code seems to be working and returning the proper values but it's still not working. Going to check in what I have now before writing this code in pure JS on another branch.