Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,17 @@ Welcome to GSSoC! Here's how the contribution flow works for this project:
```bash
git checkout -b your-feature-name
```
5. **Install Dependencies**
```bash
npm install
```
6. Create a .env file and copy paste everything from .env.example and replace your api key there.

7. **Run the backend** (Backend serves Frontend)
```bash
npm start
```
8. Start [Local Host 3000](http://localhost:3000/)

---

Expand Down
12 changes: 12 additions & 0 deletions js/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,18 @@ const addItemsBtn = document.getElementById('add-btn');
const downloadBtn = document.getElementById('download-btn');
const newTaskBtn = document.getElementById('add-task-btn');

// Event listener for extract-btn
pasteInput.addEventListener('keydown', (e) => {
if (e.key === 'Enter' && !e.shiftKey) {
e.preventDefault();

if (!pasteInput.value.trim()) return;
if (extractBtn.disabled) return;

extractBtn.click();
}
});



const SUBJECT_COLORS = [
Expand Down