Skip to content

ndelligatta/Simple-React-Poll-App

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

React Poll Web App

Welcome to the React Poll Web App! This web application provides a simple and interactive way to gather user ratings and display the average rating and positive ratio based on the collected votes.

About

This project showcases the power of React, HTML, and CSS in creating an engaging poll interface. The app allows users to vote for positive, neutral, or negative options, and it computes and displays insightful statistics based on the votes.

Usage

To experience the React Poll Web App:

  1. Ensure you have Node.js and npm (Node Package Manager) installed.

  2. Clone this repository to your local machine.

  3. Open your terminal or command prompt.

  4. Navigate to the project directory.

  5. Install the required dependencies by running:

    npm install

Start the development server:

npm start

Open your web browser and visit http://localhost:3000 to interact with the app.

Vote for one of the provided options (positive, neutral, or negative).

Observe the displayed average rating and positive ratio based on the collected votes.

Contents

src/: Directory containing the React components, styles, and assets. public/: Directory with the public assets and HTML template. package.json: Configuration file with project details and dependencies. README.md: This file providing an overview of the project. Notes This project demonstrates the use of React components for building interactive user interfaces. The app collects user votes and calculates the average rating and positive ratio. Feel free to explore the code, experiment with the app, and adapt it for your own web development projects.

About

Simple web app that presents you with a poll between three options of positive, neutral, negative and displays the average rating [1, -1] and the average positive ratio to all votes/

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors