Skip to content

Instantly share code, notes, and snippets.

View davidcroda's full-sized avatar

David Roda davidcroda

  • ZaiNar
  • Philadelphia, PA
View GitHub Profile

Keybase proof

I hereby claim:

  • I am davidcroda on github.
  • I am thefreeman (https://keybase.io/thefreeman) on keybase.
  • I have a public key whose fingerprint is CCC5 21BB 7F53 7610 1540 C5B1 2A5B 6946 9FCB E532

To claim this, I am signing this object:

$(document).ready(function(){
// Get text from form input and display on list
$(".add").on("click", function(){
event.preventDefault(); // lets the user hit "enter" instead of having to click the "+" block
var item = $("input[name=item]").val();
// If no letters are entered, an alert message will pop up
if (item <= 0) {
alert ("Please add an item")
} else {