Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found
Not Found

Submitted

Article Preview Component Solution

@daniyalmaster693

Desktop design screenshot for the Article preview component coding challenge

This is a solution for...

  • HTML
  • CSS
  • JS
1newbie
View challenge

Design comparison


SolutionDesign

Solution retrospective


What are you most proud of, and what would you do differently next time?

I started by creating all the HTML elements and assigning them classes. I moved onto the CSS, and started by adding the background color to body. Next, I started to design the card, and spent some time experimenting with small details until I go the look I liked. I then moved to styling elements like text, and buttons. Then, I moved onto the Javascript. I used pseudo code to figure out how I was going to create a system to show and hide the social media images. After spending some time figuring out the right values for properties, I got the design I wanted. Lastly, I spent some time figuring out how to hide and show the socials. Overall, this project helped me improve my problem solving skills, and allowed me to further improve my basic Javascript skills. Once I finished, I tested the website on multiple browsers, and used the built in device size emulation feature to view what the website would look like on different devices. My next steps, would be to spend more time thinking and writing things out instead of using trial and error to solve issues and bugs.

Community feedback

Please log in to post a comment

Log in with GitHub
Discord logo

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