Article Preview Component

Solution retrospective
Since this is my first solution using React JS, I am glad I was able to make a responsive design with React.
What challenges did you encounter, and how did you overcome them?The tough part was the share button. You need to change the style after clicking the button based on the screen size. Also, the styling of the layout after clicking the button was not as easy as I thought.
What specific areas of your project would you like help with?I want to know if there is any other way to change the layout after clicking the share button due to screen width. I created the 2 different HTML elements and based on the width of the screen I am inserting them using states in the DOM. Is there a better way to do that? Maybe relying more on CSS?
Please log in to post a comment
Log in with GitHubCommunity feedback
No feedback yet. Be the first to give feedback on Gloryjaw’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