Vanilla (JavaScript)-only
Just a basic todo app that I wrote using vanilla JavaScript so there's not much to it.
var taskCompleted = function() { // Mark a task as complete
var listItem = this.parentNode; // We assign it for readability
completedTasksHolder.appendChild(listItem); // Append the task list item to the #completed-tasks
bindTaskEvents(listItem, taskIncomplete); // We bind it to the opposite holder
};
Learning and enforcing good structural and practical strategies for JavaScript development.
.
├── /css/ # CSS folder
│ └── /style.css # Basic CSS stylesheet
├── /js/ # JavaScript folder
│ └── /app.js # Main app source
├── .gitignore # Version control omission file
│── index.html # Main entry point
└── README.md # This file
Checkout this repo and open index.html:
> git clone git@github.com:Bartekus/todo-js-basic.git
> cd todo-js-basic
> open index.html
Use to add/edit/delete tasks without persistence (no backend).
- Fork it!
- Create your feature branch:
git checkout -b my-new-feature
- Commit your changes:
git commit -am 'Add some feature'
- Push to the branch:
git push origin my-new-feature
- Submit a pull request :D
0.1.0 Finalized the example
Basic non-automated manual browser test aka no test :P
Standing on the shoulders of all the giants before me.
- Homepage: http://bartekus.com
- E-mail: bartekus@gmail.com
- Twitter: @Bartekus
Copyright (c) 2015 Bartek Kus
Licensed under the MIT license