I am seeing the desktop version and it looks very broken on mobile landscape.
The bigger issues with this though, are with the html.
-
The semantics don’t make sense using h2s for numbers. They need to be in the same semantic element as the word, as both should be read out together. Eg use a list item or a paragraph around both, then use a span or strong tag around the number to target styling
-
you should not have duplicate html. This is bad for search engines, bad for performance, and completely unnecessary. Instead just change the styling with css. All that needs to change in this is a max-width, flex-direction and text alignment in one media query
I hope this helps
@1aleksa
Posted
@grace-snow Hey, thanks for the detailed feedback. Regarding the point 2) I couldn't figure out how to change the order of the layout on mobile screen. When I was searching for it I found on StackOverflow where someone explained with doubling the html (which didn't seem to be very practical). After checking flex-direction what you wrote, now I got an idea how it could be solved just with css. Thanks a ton!