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 bem-methodology css frontendmentor frontendmentor-challenge frontendmentor-newbie frontendmentor-solution html javascript

Last synced: 7 months 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


## Table of contents

- [Project overview](#sunrise-project-overview)
- [Development workflow](#stars-development-workflow)
- [Working in this repository](#astronaut-working-in-this-repository)

## :sunrise: Project overview

### Challenge equirements

- 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

### Todo

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

### Preview

![](./docs/design/desktop-design.jpg)

## :stars: Development workflow

### Approach

Site built with mobile-first workflow to prioritize mobile devices, made accessible using [ARIA Authoring Practices Guide (APG)](https://www.w3.org/WAI/ARIA/apg/).

### Tools

- **HTML + CSS:** vanilla CSS for styling.
- **Browsersync:** live development server (sync files changes).

### Deployment

- Deployed on github page using Github Actions (manually triggered).

## :astronaut: Working in this repository

### Presequisites

Having these tools installed:

- Git (prefer lastest LTS version)
- NodeJS (prefer latest LTS version)

### Clone this project to your machine

Open new terminal, run the following command:

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

Then, run `npm install` to install all dependencies.

```
npm install
```

### Start development server

In terminal, run `npm run dev` to start development server:

```
npm run dev
```