This is a beginner project developed as part of the Fundamentals module of the Web Development course at Trybe. The main goal was to create a simple calculator application using React, JavaScript, CSS, and HTML. The project involved manipulating the script.js
, index.html
, and style.css
files.
The application allows users to:
- Perform basic arithmetic operations: Addition, subtraction, multiplication, and division.
- Clear input: Reset the calculator to its initial state.
- Work with decimal points: Add decimal points to numbers.
- Calculate results: Display the result of the arithmetic operation.
During the development of this project, the following skills were enhanced:
- Manipulating DOM elements using React.
- Implementing state management with React hooks.
- Applying programming logic to handle user inputs and operations.
- Utilizing event handling for user interactions.
- Using conditional statements and loops to manage application logic.
- Writing modular functions to effectively maintain and manage code.
Here are other projects I developed during the early stages of my development journey:
- Clone this repository:
git clone https://github.com/SamuelRocha91/calculator.git
- Navigate to the project directory:
cd calculator
- Install the dependencies:
npm install
- Start the development server:
npm run dev
- Open your browser and access
http://localhost:3000
to see the application in action.