2019-02-07, 23:48:44
Another thing.
I see that menu items are marked by html/css CLASSes.
While it doesn't matter too much but I think that ID would be better suited for this purpose (not technically but semantically).
CLASS should be used when more than one element shares some stylistic property, while ID is a unique identifier of an element, such as in this case the menu name.
And menu items should have unique names after all (and if two share it we can still give their ID numbered endings).
This would also help because this way it would decrease the chance of a menu item class name coinciding with a class name that I create in a template.
I see that menu items are marked by html/css CLASSes.
While it doesn't matter too much but I think that ID would be better suited for this purpose (not technically but semantically).
CLASS should be used when more than one element shares some stylistic property, while ID is a unique identifier of an element, such as in this case the menu name.
And menu items should have unique names after all (and if two share it we can still give their ID numbered endings).
This would also help because this way it would decrease the chance of a menu item class name coinciding with a class name that I create in a template.