AlanSeyfir / article-preview-component

A frontend mentor challenge.

Home Page:https://alanseyfir.github.io/article-preview-component/index.html

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

Links

Built with

  • Semantic HTML5 markup
  • CSS custom properties
  • Flexbox
  • Mobile-first workflow
  • A bit of Javascript

What I learned

My first encounter with event listeners and some basic logic in Javascript.

shareButton.addEventListener('click', function(){
    let shareInfo = document.getElementById('hoverInfo');
});

Continued development

I want to increase my skills in JS and try React.

Author

About

A frontend mentor challenge.

https://alanseyfir.github.io/article-preview-component/index.html


Languages

Language:SCSS 61.9%Language:HTML 33.0%Language:JavaScript 5.1%