Giter Site home page Giter Site logo

week2-baja's People

Contributors

astroash avatar azayneeva avatar bartbucknill avatar jen-harris avatar

Watchers

 avatar  avatar

week2-baja's Issues

create a 'markToDo' function using TDD

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

Tab controls

Maybe think about enabling the highlight on focus, especially for your input. Also you cant tick/untick the check boxes using tab controls.

Mark completed 'tasks' in DOM

User story:
As a disorganised person I want to:
-mark tasks as complete so that I can focus on the tasks I have left

var toDoOther camelcase is slightly off

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.

Create 'addToDo' function using TDD

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

Create 'deleteToDo' function using TDD

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

Add 'to do list' to the DOM

User story:
As a disorganised person I want to:

  • view the tasks I have added in a list so that I can plan my day

Think about using logic.js file to ensure separation DOM & Logic

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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.