Latest solutions
CSS Flex, HTML5
#astro#tailwind-cssSubmitted 6 months ago"This project was straightforward, so I don’t think I need much help with it. That said, I’d like to improve my systematic coding skills and would appreciate any suggestions you might have."
Let me know if you'd like any additional tweaks! 😊
Latest comments
- @AminForouzan@stephenlit
Your link to preview the site is not working,
- @snigdha-sukunWhat are you most proud of, and what would you do differently next time?
I am proud of learning how to use custom marker in
ul
:
What challenges did you encounter, and how did you overcome them?ul { list-style: none; padding-bottom: 1em; } ul li:before { content: url('./assets/images/icon-list.svg'); margin-right: 1em; }
I faced a challenge to get the dismiss button in the correct position in the mobile view. But after some trial and error, I was able to get it right:
What specific areas of your project would you like help with?.success-message { padding: 1em; position: relative; } .dismiss-btn { position: absolute; bottom: 1em; width: calc(100% - 2em); }
Responsive CSS & JS do's & don'ts
@stephenlitGreat Job!
Looks really good! I notice in your mobile view the heading image slides down when you shrink the size down to 375px. I believe this is because of your align-items in your <main>.
After your media query try adding a align-items: start to your main.
main { background-color: var(--white); align-items: start; }
I think this will stop the heading image from moving down as you shrink the screen size. I hope this was some help in some way, of course I could be wrong as well lol
cheers!