Article Preview Using JS

Solution retrospective
Trying JavaScript for the first Time.
What challenges did you encounter, and how did you overcome them?I am stuck in how to handle the screen size accordingly with js and css so i made temporary adjustment to reload the page at 800px.. I know that's not the good way of solving issues but am not able to solve it.
What specific areas of your project would you like help with?An not able to handle responsiveness perfectly as if share button is clicked on small screen it does not show the similar active design on larger screen when that change the screen size whit inspect feature.. It would be really helpful if somebody tell me how did they do that in their project.
Please log in to post a comment
Log in with GitHubCommunity feedback
- @BeeAlmighty
Great work kunal90803, your solution is relatively close to the design given.I love how neat your code base is and how everything belongs where they belong. Honestly, i can't see much to correct here but:
- avoid using divs as much as possible as they interfere with web assessibilty such as screen readers and SEO.
- I think there are shorter ways to write the javascript you wrote but kudos to you because you said it's your first time and the code works as well. Great work!
Marked as helpful
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