Lab: Calculator and React App Setup

Lab: Calculator and React App Setup

  • Create a project using Create React App Instructions
  • Create a webpage that does the following:
    • Has the following fields:
      • Input field for a number
      • Select field for one of four mathematical operators ( +, -, /, *)
      • Input field for another number
      • Should have a submit button
    • After filling out a number, an operator, and another number, when submit is clicked, there should be a separate <div> where the answer is calculated (e.g. 5 + 3 = 8)