When making a navbar, should I create a different app for all of the logic and styling, and then include it in the main html file or otherwise?
Unless you’re planning on using that navbar app across multiple projects, I wouldn’t bother making it a separate app. I would just include it in the main project. (I’m a member of the “One app unless proven otherwise” club.)