An open API service indexing awesome lists of open source software.

https://github.com/haquanq-frontendmentor/article-preview-component

Solution for frontendmentor.io challenge: article-preview-component
https://github.com/haquanq-frontendmentor/article-preview-component

bem-css css frontendmentor html javascript

Last synced: 24 days ago
JSON representation

Solution for frontendmentor.io challenge: article-preview-component

Awesome Lists containing this project

README

          

## Frontend Mentor - Social Links Profile Solution

This is a solution to the [Social links profile challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/social-links-profile-UG32l9m6dQ).
Frontend Mentor challenges help you improve your coding skills by building realistic projects.



Solution post


Live demo


![](./docs/preview.jpg)

## Table of Contents

- [Project Overview](#sunrise-project-overview)
- [Tech Stack and Approach](#stars-tech-stack-and-approach)
- [Local Development](#leaves-local-development)
- [Deployment](#maple_leaf-deployment)

## :sunrise: Project Overview

### Challenge Requirements

- 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

### Status

Features

- [x] Tooltip like component that automatically hide on blur

Accessibility

- [x] Responsive accross different screen sizes
- [x] Added custom indicator when interactive elements focused

## :stars: Tech Stack and Approach

### Built with

- **HTML5** – Semantic structure
- **Vanilla CSS** – Flex layout
- **BrowserSync** - Easy development server

### Approach

- Mobile-first workflow for better performance on smaller devices
- Accessibility guided by [ARIA Authoring Practices Guide (APG)](https://www.w3.org/WAI/ARIA/apg/).

## :leaves: Local Development

### Prerequisites

Install the following:

- Git (latest version)
- Node.js (latest LTS recommended)
- pnpm (latest version)

### Setup

```
git clone https://github.com/haquanq-frontendmentor/article-preview-component.git
cd article-preview-component
pnpm install
```

### Start Development Server

```
pnpm dev
```

## :maple_leaf: Deployment

Deployed to Github Pages via Github Action.