Giter Site home page Giter Site logo

simple-counter-using-react.github.io's Introduction

Simple Counter using React

A simple counter built using HTML, CSS, JavaScript, Webpack and ReactJs. Once the user opens the application, the counter immediately starts and will continue indefinitely.

See the Live Demo here: https://enriqueesmith.github.io/Simple-Counter-using-React.github.io/ .

Hello World with React and Cloud 9

Requirements: Make sure you are using node version 8

  • $ node -v to check which node version you are using
  • $ nvm use 8 to switch to using version 8
  • $ nvm install 8 to install version 8 if necessary
Download the boilerplate using the BreatheCode CLI
$ npm i breathecode-cli -g
Download the boilerplate using the BreatheCode CLI
$ bc start:react-project -r
and install the npm package:
$ npm install

Start coding!

Start the webpack server with live reload:

  • $ npm run c9 for Cloud 9 Users.
  • $ npm run dev-server for windows, mac or linux.

You can update the styles/index.scss or js/index.js depending on your needs. Add more files into your, ./src/js/components or styles folder as you need them.

Publish your website!

This boilerplate is 100% compatible with the free github pages hosting. To publish your website you need to push your code to your github repository and run the following command after:

$ npm run deploy

Other features

  • Automatic Code Formatting: Use of Prettier for automatic code identation and formating.
  • Error reporting: Use of esling for better error reporting.
  • Hot Deploy: Use of Webpack Development Server for hot deploy and live reload.
  • One-click publish of the code to github pages.
  • Babel 7 (really fast).

simple-counter-using-react.github.io's People

Contributors

alesanchezr avatar charlesharper avatar emily-v avatar enriqueesmith avatar ixaxtav avatar joeblackdandt avatar jtoledo88 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.