From c2e2aaa64d1485ced3bb15d0f545658368ce70e8 Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Sat, 25 Oct 2025 07:37:07 +0000
Subject: [PATCH 1/3] Initial plan
From 233539c7e61a45ec0de6c211b3e4aadd063f921a Mon Sep 17 00:00:00 2001
From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com>
Date: Sat, 25 Oct 2025 07:43:02 +0000
Subject: [PATCH 2/3] Add simple calculator web application with HTML, CSS, and
 JavaScript
Co-authored-by: ElinorCoding <144338832+ElinorCoding@users.noreply.github.com>
---
 README.md  | 56 +++++++++++++++++++++++++++++++++-
 index.html | 42 ++++++++++++++++++++++++++
 script.js  | 56 ++++++++++++++++++++++++++++++++++
 style.css  | 88 ++++++++++++++++++++++++++++++++++++++++++++++++++++++
 4 files changed, 241 insertions(+), 1 deletion(-)
 create mode 100644 index.html
 create mode 100644 script.js
 create mode 100644 style.css
diff --git a/README.md b/README.md
index 1d3ae29..f745c24 100644
--- a/README.md
+++ b/README.md
@@ -1 +1,55 @@
-# web_se_ex1
\ No newline at end of file
+# Web SE Exercise 1 - Simple Calculator
+
+A simple, interactive calculator web application built with HTML, CSS, and JavaScript.
+
+## Features
+
+- Basic arithmetic operations (addition, subtraction, multiplication, division)
+- Clear and delete functions
+- Keyboard support for easy input
+- Responsive design with gradient background
+- Error handling for invalid expressions
+
+## How to Use
+
+1. **Open the Application**
+   - Simply open `index.html` in your web browser
+   - No installation or build process required
+
+2. **Using the Calculator**
+   - Click on the number and operator buttons to build your calculation
+   - Press `=` or `Enter` to calculate the result
+   - Use `C` or `Escape` to clear the display
+   - Use `DEL` or `Backspace` to delete the last character
+
+3. **Keyboard Shortcuts**
+   - Numbers: `0-9`
+   - Operators: `+`, `-`, `*`, `/`
+   - Decimal: `.`
+   - Calculate: `Enter` or `=`
+   - Clear: `Escape` or `C`
+   - Delete: `Backspace`
+
+## File Structure
+
+```
+web_se_ex1/
+├── index.html    # Main HTML structure
+├── style.css     # CSS styling
+├── script.js     # JavaScript functionality
+└── README.md     # This file
+```
+
+## Technologies Used
+
+- HTML5
+- CSS3 (with Grid layout and gradients)
+- Vanilla JavaScript (ES6+)
+
+## Browser Compatibility
+
+Works on all modern browsers including:
+- Chrome
+- Firefox
+- Safari
+- Edge
\ No newline at end of file
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..2d33652
--- /dev/null
+++ b/index.html
@@ -0,0 +1,42 @@
+
+
+
+    Simple Calculator - Web SE Exercise 1 
+    
+        
Simple Calculator 
+        
+            
+            
+                C 
+                DEL 
+                / 
+                * 
+                
+                7 
+                8 
+                9 
+                - 
+                
+                4 
+                5 
+                6 
+                + 
+                
+                1 
+                2 
+                3 
+                = 
+                
+                0 
+                . 
+            
+        
+