Skip to content

boudgnosis/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.

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

Desktop - Mobile

Stats active

Links

My process

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • Desktop-first workflow
  • Accessibility
  • Media queries
  • Pseudo-classes
  • JavaScript vanilla
  • Google Fonts
  • Normalize

What I learned

I met a very useful new method called toggle, which allows to tell the name of a CSS class and if it is active or not.

Continued development

I continue to improve my learning about DOM manipulation.

Useful resources

  • Desarrollo Web 6 - It was on this site that I discovered the method I used for this project.
  • MDN web docs - It helped me to better understand the toggle method.

Author