Coder Social home page Coder Social logo

scriptedtodo's Introduction

ScriptEdTodo

###A TODO App project to get you thinking about CRUD Design

Hints: Even if you don't think you're not going to have enough time to make it to the challenge, think about how you would have to structure your code to get the challenges running

  • Don't just use jQuery append stuff to your html, think about how you can use JavaScript to render a bunch of items and have control over them

####Minimum Requirements:

  • Can create new items!
  • Have a button that deletes all the todos
  • Have counter that tells you which order the todos were made in

####Challenges (aka if you finish the above, get started on these):

  • Can Edit and Delete Individual Items (If you do this, you've built a CRUD App!)
  • Hard Challenge: Display Items depending on whether or not they're completed (If you do this, I'd give you Bonus Points if I could)

####Some Useful JavaScript Hints

var x = 5; // Declaring a variable in JavaScript
var array = ["some", "awesome", "stuff"]; // Making an Array

// What does this code do?
var array = [“hello”, “world”, “and”, “anyone”, “else”];
var html = [];
for (var i = 0; i < array.length; i++) {
  var newItem = “<p>” + array[i] + “</p>”;
  html.push(newItem);
}
console.log(html); // What will I print?
html = [];
console.log(html); // How about now?

scriptedtodo's People

Contributors

robbizorg avatar

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.