The href="#" was a duplication and prevented the correct url to be used, tested on Firefox 98.0.2.
Firefox, for example, upon seeing the second occurrence of href, replaced the calculated value with the hardcoded # and thus none of the menu items were working.
The
href="#"
was a duplication and prevented the correct url to be used, tested on Firefox 98.0.2.Firefox, for example, upon seeing the second occurrence of
href
, replaced the calculated value with the hardcoded#
and thus none of the menu items were working.