Skip to content

YayoKB/fem-article-preview-component

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Frontend Mentor - Article preview component solution

This is a solution to the Article preview component challenge on Frontend Mentor. Frontend Mentor challenges help you improve your coding skills by building realistic projects.

Table of contents

Overview

The challenge

Users should be able to:

  • View the optimal layout for the component depending on their device's screen size
  • See the social media share links when they click the share icon

Screenshot

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • CSS Grid
  • Mobile-first workflow

What I learned

  • I learned how to make a tooltip effect in CSS
  • I learned about using mask to change the color of an SVG. As I didn't know much about using SVGs and changing their colour, I googled ways in which to do so. I ended up placing a div inside another div, so that I could both change the background colour of the parent div and then the colour of the child div/icon.
  • I learned more about using JavaScript and event handlers.

Continued development

  • The Javascript really got to me here combined with the cascading effects of CSS in addition to media queries. I struggled a bit with these and therefore I would like to do some more practice with this, especially media queries in CSS.

Useful resources

Author

Acknowledgments

I would like to thank Web Dev Simplified for making such helpful videos.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published