GithubHelp home page GithubHelp logo

olgatenison / goit-react-hw-04-feedback Goto Github PK

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

This project represents a homework assignment completed as part of a React course. The assignment involved creating a feedback widget application with various functionalities, implemented using React functional components and hooks.

Home Page: https://olgatenison.github.io/goit-react-hw-04-feedback/

HTML 42.48% JavaScript 37.82% CSS 19.70%
css3 goit html5 javascript react goit-react-hw-04-feedback

goit-react-hw-04-feedback's Introduction

Project Image

React Homework Assignment

Overview

This project represents a homework assignment completed as part of a React course. The assignment involved creating a feedback widget application with various functionalities, implemented using React functional components and hooks.

Key Demonstrated Skills

  1. React Basics:

    • Creating functional components using the useState hook for state management.
    • Organizing components in separate files.
  2. Code and Component Organization:

    • Placing each functional component in a separate file within the appropriate folder.
    • Using components according to the logical structure of the project.
  3. Refactoring and Component Composition:

    • Maintaining state in the root component using the useState hook to support state changes in child components.
    • Separating logic and presentation into distinct components (<Statistics> and <FeedbackOptions> components).
  4. State Management and Event Handling:

    • Utilizing the useState hook to update the state of components upon user interaction (adding feedback).
    • Calculating the total count and percentage of positive feedback.
  5. GitHub Usage:

    • Creating repositories on GitHub.
    • Using GitHub Pages to host the working pages of the projects.
  6. Code Formatting and Cleanliness:

    • Utilizing Prettier for automatic code formatting and ensuring code cleanliness.
  7. CSS Modules and Styled Components:

    • Styling components using either CSS Modules or Styled Components.
  8. Conditional Rendering:

    • Displaying the statistics block only when feedback is present.
  9. Working with External Libraries and Add-ons:

    • Using PropTypes for validating component props.

Conclusion

This project showcases an understanding of fundamental React concepts, including functional components and hooks. It demonstrates the ability to create a feedback application with clean code organization and state management using hooks.

React homework template

Create React App. Documentation.

goit-react-hw-04-feedback's People

Contributors

olgatenison 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.