@ms097530
Posted
Hi Graham,
The structure of the HTML looks fine to me, though it may be worth considering using section
tags in place of the outermost div
tags. Instead of using two separate inputs for MM and YY I would advise using the fieldset as it is made for grouping inputs together.
I found moving to a mobile-first approach helped me structure my styling more effectively. The reasoning is that if you approach the layout from a mobile-first perspective you will often be able to keep much of the default styling (i.e. content stacking to form a column) and then simply adjusting from there for wider screens. This may help you tidy up your styling and make it feel less complex.
Cheers, Mike
Marked as helpful