Skip to content

Code-Beaker/article-preview-component

Repository files navigation

Solution for Article Preview Card

This is a solution to the Article Preview Card.

Preview

Below are the screenshots from both desktop and mobile screens.

Desktop

Desktop default preview

Desktop - active

Desktop active preview

Mobile

Desktop default preview

Mobile - active

Desktop active preview

Tools

  • Visual Studio Code
  • HTML
  • CSS grid
  • CSS flexbox
  • IonIcons

My JS code

I'm still new to Javascript, and I still have a lot to learn.

The code to toggle the popup

I used this to make the share button functional. This might not be great.

shareBtn.addEventListener("click", () => {
  popup.classList.toggle("popup-show");
});

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published