Design comparison
Solution retrospective
Hello, I'm still new in creating websites and I still don't know how to create a mobile version. Please tell me what should I do because I think my code is messy and also what I should learn. Thank you!
Community feedback
- @AdrianoEscarabotePosted about 2 years ago
Hi Niño, how are you?
I really liked the result of your project, but I have some tips that I think you will enjoy:
- avoid using id when you are developing with just html and css, prefer using classes in that case!
- images must have alt text unless it is a decorative image, for any decorative image each IMG tag must have empty
alt=""
and addaria-hidden="true"
attributes to make all the assistive technologies of the Web , the screen readers. Learn the differences between decorative/meaningless images vs important content.
The rest is great!
I hope it helps... 👍
Marked as helpful1 - @BikoiFrPosted about 2 years ago
Hi, to create a mobile version you need to use @media screen
@media screen and (max-width: 900px) { #id { display: flex; } }
You can also put alternative text for all images and You should avoid to use position absolute for all your div but to try to use flex box or css grid. Happy Codding !
Marked as helpful1
Please log in to post a comment
Log in with GitHubJoin our Discord community
Join thousands of Frontend Mentor community members taking the challenges, sharing resources, helping each other, and chatting about all things front-end!
Join our Discord