/Calculator-React-Version

Calculator(for x^2)

Primary LanguageJavaScript

Calculator(for x^2) created by React

Just wanna try to use react to finish the homework last week since using simple HTML CSS and JavaScript alone seems a little easy.

Just to challenge myself with many details to be improved (such as components not extracted, poor readability...and so on)(but I am lazy)

  • you should input a, b and c in the corresponding input boxes.

  • after that you can click button colored with pink and result will appear in the next two boxes.

  • if your inputs are illegal, you will get a warning by alert.

By RainChain