Ecosyste.ms: Awesome

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

Awesome Lists | Featured Topics | Projects

https://github.com/dmikaia/intro-dm


https://github.com/dmikaia/intro-dm

Last synced: 19 days ago
JSON representation

Awesome Lists containing this project

README

        

# Frontend Mentor - Intro section with dropdown navigation solution

This is a solution to the [Intro section with dropdown navigation challenge on Frontend Mentor](https://www.frontendmentor.io/challenges/intro-section-with-dropdown-navigation-ryaPetHE5). Frontend Mentor challenges help you improve your coding skills by building realistic projects.

## Table of contents

- [Overview](#overview)
- [The challenge](#the-challenge)
- [Links](#links)
- [My process](#my-process)
- [Built with](#built-with)
- [What I learned](#what-i-learned)
- [Useful resources](#useful-resources)
- [Author](#author)

## Overview

### The challenge

Users should be able to:

- View the relevant dropdown menus on desktop and mobile when interacting with the navigation links
- View the optimal layout for the content depending on their device's screen size
- See hover states for all interactive elements on the page

### Links

- Solution URL: [Solution](https://github.com/DMikaia/intro-dm)
- Live Site URL: [Demo](https://intro-dm.netlify.app)

## My process

### Built with

- Semantic HTML5 markup
- CSS custom properties
- Flexbox
- CSS Grid

### What I learned

I learned how to animate svg using anime.js:

```js
animation.add({
targets: "#feat-arrow-mobile .arrow-mobile",
d: [{ value: toggleDrop ? upPathM : downPathM }],
});
```

### Useful resources

- [Anime.js](https://animejs.com) - This helped me to do a little svg morphing and animation

## Author

- Frontend Mentor - [@DMikaia](https://www.frontendmentor.io/profile/DMikaia)