Submitted over 4 years agoA solution to the Article preview component challenge
HTML, SCSS, JS
@susumantan

Solution retrospective
This is my solution to the challenge. There's some problem I encountered while finishing this challenge (mostly CSS 😢).
- My approach on the share button tooltip was to create one HTML element and change to whom it absolutely position based on the screen size. I was thinking it will create a cleaner HTML but in CSS it create a whole new mess since i must know which parent and which child is it 🤕 . Is it better to just create two different tooltip (even though the content is nearly the same)? One for mobile and one for desktop?
Any advice on that or other things is much appreciated 🙏. Keep on coding! 🤟
Code
Loading...
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on SuzuMantan's solution.
Join 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