dapperAuteur / dapperAuteur/todo_app
add function
- Dominant language
- JavaScript
- Stars
- 0
- Forks
- 0
- PR merge metrics
- No merged PRs in 30d
Description
function add() {
var task = document.getElementById('task').value;
```
var todos = get_todos();
todos.push(task);
localStorage.setItem('todo', JSON.stringify(todos));
show();
return false;
```
}
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by locating the add() entry point shown in the issue and inspect how the task field, get_todos(), localStorage, and show() work together. The issue does not specify the desired behavior beyond adding this function, so confirm the expected result before changing code; done should be verified by adding a task and checking that it is persisted and displayed.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- frontend
- Issue type
- Feature
- Difficulty
- 2/5
- Estimated time
- 1-3 hours
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 30/100