Submitted
Base Apparel with CSS Grid
- HTML
- CSS
- JS
I built the solution mobile first using CSS Grid with
- 1 column and 3 rows for mobile
- 2 columns and 2 rows for desktop, with the image spanning the 2 rows in the 2nd column
Is this a good way to approach the grid?
Accessibility
I tried linking the error text with the input by adding aria-describedy="subscribeErrorText"
to the input
field when the error is shown. Is this legitimate? Are there other/better ways of doing it?
Any other feedback on the layout and the code is appreciated :) Have fun