GithubHelp home page GithubHelp logo

calculator-react.js's Introduction

React.js Calculator Project

This one one was not as hard, as it was annoying. Each time I managed to update state it would either have too many zeros or too many dots. If that was not a problem, then it would not have zeros or dots. And when I did manage to balance those two in perfect combination, the moment I would try to evaluate it, code would break. So, instead of slamming my head against table, I decided to search how to solve this problem. And I did find a solution, kinda! Code still breaks but at least it passes all 16 tests!

Which means, that when I do Calculator Project without freeCodeCamp restrictions, I should have more space to fix code so that it works properly in all the cases, even those that are not present in freecodecamp tests which I will use ONLY as guidelines!

Anyway, I did notice that I focused too much on React Hooks and state manipulations and I did not realise that this is tehnically easy project since it can be solved with few regex expressions and few if statements!

Well, beside hating Codepen, see ya in last project for freeCodeCamp Front End Libraries.

calculator-react.js's People

Contributors

illnas avatar

Watchers

James Cloos avatar  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.