IevgeniiaAbdulina / Note-React

Note React Application

Home Page:https://ievgeniiaabdulina.github.io/Note-React/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Note React Application

This is a solution to the Todo app challenge on Frontend Mentor.

Table of contents

Overview

The challenge

Users should be able to:

  • View the optimal layout for the app depending on their device's screen size
  • See hover states for all interactive elements on the page
  • Add new todos to the list
  • Mark todos as complete
  • Delete todos from the list
  • Filter by all/active/complete todos
  • Clear all completed todos
  • Toggle light and dark mode
  • Bonus: Drag and drop to reorder items on the list

Screenshot

Links

My process

Built with

  • CSS custom properties
  • Flexbox
  • Mobile-first workflow
  • React - JS library

What I learned

Using CSS variables:

:root {
  --dark-grayish-blue: hsl(236, 9%, 61%);
}

.wrapper {
  background-color: var(--dark-grayish-blue)
}

CSS rounded corners with gradient border :

.uncompleted:hover::before{
    content: '';
    width: 125%;
    height: 125%;
    display: inline-block;
    position: relative;
    top: -10%;
    left: -12%;
    background-image: var(--primary-check-background);
    border-radius: 50%;
}

.uncompleted:hover::after{
    content: '';
    width: 110%;
    height: 110%;
    display: inline-block;
    position: relative;
    top: -148%;
    left: -4%;
    border-radius: 50%;
}

Continued development

Drag and Drop to reorder items on the list.

Useful resources

Example resource Creating a Drag and Drop List with React Hooks - This source is very helped me to understand the principles of DnD with React Hooks.

Author

About

Note React Application

https://ievgeniiaabdulina.github.io/Note-React/


Languages

Language:JavaScript 52.1%Language:CSS 46.1%Language:HTML 1.8%