Problem with Dawn header edit following instructions on youtube video

Hey @PaulNewton

Several points:

  • We’re not selling items that can be grouped as “All products”.
  • Is there only one way of creating a hierarchy? For example, we may think of the menu as an outline of educational content.
  • The way Shopify forces the menu to be is not for us or for our community perhaps?

And a comment: what’s the need to say things like the following?

I may have become a humble squirrel in this life, but I’ve worked in various capacities in others.

There seems to be a genuine issue with the code. I had emailed the vlogger before asking the forum. I’m new to coding but I understand mathematical logic. I’d really appreciate it if someone can have a look and give a hand. Source of the code is: Hover Dropdown Shopify Dawn Theme Pt. 2 - Making Title Menu Items Clickable - YouTube