fac-11 / week2-baja Goto Github PK
View Code? Open in Web Editor NEWTeam BAJA week 2 to do app using TDD
Home Page: https://fac-11.github.io/week2-baja/
Team BAJA week 2 to do app using TDD
Home Page: https://fac-11.github.io/week2-baja/
Currently the todo elements are bunching up and overlapping over each other.
Runs the comment 1. Untitled BODY
Maybe the todo input and the list of todos should have different titles to explain what's on the page.
Should leave the input argument todos unchanged
In the new todo array, all elements will remain unchanged except the one with id: idToMark
This element will have its done value toggled
Consider using: array.map
This is nit-picky because I'm struggling to find fault, but I think that the first three todos they've provided are meant for testing - when using a todo app we don't want placeholders, so you might want to consider commenting them out.
https://github.com/FAC-11/week2-baja/blob/master/dom.js#L10-L12
Maybe think about enabling the highlight on focus, especially for your input. Also you cant tick/untick the check boxes using tab controls.
This is more of a suggestion really, but you could add an attribute of "placeholder" to your input message box to prompt the user to write something, which could make your app more intuitive and easy to use.
https://github.com/FAC-11/week2-baja/blob/master/index.html#L12
Your input 'description' needs to have a label
User story:
As a disorganised person I want to:
-mark tasks as complete so that I can focus on the tasks I have left
As currently we can only click on the small checkbox.
User story:
As a disorganised person I want to:
-the to-dos to be large enough so that I don't hit the wrong one with my thumb
This is EXTREMELY pedantic but I noticed your var toDoOther in your test.js file has 'toDo' rather than 'todo' like all your other vars.....
I'm really just trying to find any issue.
The should leave the input argument todos unchanged
Returns a new array, it should contain todos with the newTodo added to the end.
Adds an id to the newTodo. You can use the generateId function to create an id.
should consider using: array.concat
when submitting an item to a list, the text remains in the tab, where you have to delete it to add a new item to the list.
This should leave the input argument todos unchanged
Will return a new array, this should not contain any todo with an id of idToDelete
Consider using: array.filter
Include:
improve UX by avoiding frustration with accidentally added input
User story:
As a disorganised person I want to:
-enter tasks I need to do into a web page so that I don't forget them
To allow readability lets add comments to the file so that it will be easier to read & understand
should improve UX by saving user time when wanting to add multiple todos at once
The web page should have the content's human language indicated in the markup.
e.g. html lang = en.
User story:
As a disorganised person I want to:
Currently we are turning the inputted string into a object within the DOM file - perhaps we should consider having this in logic file to keep things tidy? L50: + var newState = todoFunctions.addTodo(state, { description: description }); // ?? change this!
relates issue #3
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.