Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/dmikaia/intro-dm
https://github.com/dmikaia/intro-dm
Last synced: 19 days ago
JSON representation
- Host: GitHub
- URL: https://github.com/dmikaia/intro-dm
- Owner: DMikaia
- Created: 2024-02-27T17:20:27.000Z (11 months ago)
- Default Branch: main
- Last Pushed: 2024-02-29T06:52:30.000Z (10 months ago)
- Last Synced: 2024-11-03T07:42:45.314Z (2 months ago)
- Language: JavaScript
- Size: 560 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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)