diff --git a/BMI_Calculator/.gitignore b/BMI_Calculator/.gitignore new file mode 100644 index 000000000..a88639f82 --- /dev/null +++ b/BMI_Calculator/.gitignore @@ -0,0 +1,15 @@ +# Ignore node_modules directory +node_modules/ + +# Ignore build output +build/ + +# Ignore IDE and editor files +.vscode/ +.idea/ + +# Ignore environment-specific files +.env + +# Ignore log files +*.log diff --git a/BMI_Calculator/README.md b/BMI_Calculator/README.md new file mode 100644 index 000000000..4ba07f600 --- /dev/null +++ b/BMI_Calculator/README.md @@ -0,0 +1,34 @@ +# BMI - Calculator + +## Tech Stack + +- React +- JavaScript +- HTML +- CSS + +## How to Run the Code + +To run the code, follow these steps: + +1. Clone the repository. +2. Navigate to the project directory. +3. Install the dependencies by running the following command in your terminal: + + ```bash + npm install + ``` + +4. Start the development server by running the following command: + + ```bash + npm start + ``` + +5. Open your browser and visit `http://localhost:3000` to view the application. + +## Demo Video + +Check out the demo video below to see the BMI Calculator in action: + +[![BMI Calculator Demo](https://youtu.be/WEU9jhG0hSE?si=4_XtXizDHEUxOh85/0.jpg)](https://youtu.be/WEU9jhG0hSE?si=4_XtXizDHEUxOh85) diff --git a/BMI_Calculator/package.json b/BMI_Calculator/package.json new file mode 100644 index 000000000..2355e8f50 --- /dev/null +++ b/BMI_Calculator/package.json @@ -0,0 +1,28 @@ +{ + "name": "simple-bmi-calculatorreact", + "version": "1.0.0", + "description": "", + "keywords": [], + "main": "src/index.js", + "dependencies": { + "react": "17.0.2", + "react-dom": "17.0.2", + "react-scripts": "4.0.0" + }, + "devDependencies": { + "@babel/runtime": "7.13.8", + "typescript": "4.1.3" + }, + "scripts": { + "start": "react-scripts start", + "build": "react-scripts build", + "test": "react-scripts test --env=jsdom", + "eject": "react-scripts eject" + }, + "browserslist": [ + ">0.2%", + "not dead", + "not ie <= 11", + "not op_mini all" + ] + } \ No newline at end of file diff --git a/BMI_Calculator/public/index.html b/BMI_Calculator/public/index.html new file mode 100644 index 000000000..9e3546dd6 --- /dev/null +++ b/BMI_Calculator/public/index.html @@ -0,0 +1,20 @@ + + + +
+ + + + + +{getTime(note)}{getContent(note)}
\r\n{notes.length}
\r\n{getTime(note)}{getContent(note)}
+{notes.length}
+