GithubHelp home page GithubHelp logo

shevchenkool / event-istener Goto Github PK

View Code? Open in Web Editor NEW
0.0 1.0 0.0 1.02 MB

Home Page: https://shevchenkool.github.io/event-istener/

HTML 7.29% JavaScript 67.84% CSS 24.88%
react setstate classcomponents nanoid netlify-deployment notiflix

event-istener's Introduction

Event Listener

This project was bootstrapped with Create React App.

The project created to practice using an event listener in framework React:

  • Two identical counters, the first uses functional components (hooks - used to control state), the second using a class component (the old method);
  • Feedback is a functional component that has three buttons: Good, Neutral and Bad. After the user leaves rating, a statistics component appears at the bottom that counts the number of reviews left by category, the total and the percentage of positive reviews left;
  • The phone book is a functional component that has two fields for entering a name and phone number; after entering this data, a list of added contacts is created below, which we can delete, view details (a modal window opens) or find the contact we need by name. This project uses the nanoid library, which creates an id for each contact and notiflix.

How to Use the Repository

  1. Clone the repository: git clone https://github.com/ShevchenkoOl/event-istener.git

  2. use npm install command to install package dependencies

  3. Navigate to the relevant section to explore the corresponding material.

  4. Open files and study the provided code examples.

Author

This repository was created and maintained by Oleksii Shevchenko. Questions, suggestions and feedback can be directed to email or linkedin profile. If you have any questions or suggestions, feel free to create an issue or submit a pull request.

event-istener's People

Contributors

shevchenkool avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.