function addSkill() {
  $("#new_skill").on("submit", function (event) {
    event.preventDefault();
    var $target = $(event.target);
    console.log($target);
    if ($('#skill_title').val() === "") {
      alert("No skill specified");
    } else {
      $.ajax({
        url: $target.attr("action") + '.json',
        type: "post",
        data: $target.serialize()
      }).done(function (response) {
        $('.skills').append(response.title + " - Time remaining: 24:00:00" + "<br>");
        $target[0][2].value = "";
      });
    }
  });
}
function addSkill() {
  $("#new_skill").on("submit", function (event) {
    event.preventDefault();
    var $target = $(event.target);
    console.log($target)
    if ($('#skill_title').val() === "") {
      alert("No skill specified")
    } else {
      $.ajax({
        url: $target.attr("action") + '.json',
        type: "post",
        data: $target.serialize()
      }).done(function (response) {
        $('.skills').append(response.title + "<br>");
        $target[0][2].value = "";
      });
    }
  });
}
--- 
+++ 
@@ -2,16 +2,16 @@
   $("#new_skill").on("submit", function (event) {
     event.preventDefault();
     var $target = $(event.target);
-    console.log($target)
+    console.log($target);
     if ($('#skill_title').val() === "") {
-      alert("No skill specified")
+      alert("No skill specified");
     } else {
       $.ajax({
         url: $target.attr("action") + '.json',
         type: "post",
         data: $target.serialize()
       }).done(function (response) {
-        $('.skills').append(response.title + "<br>");
+        $('.skills').append(response.title + " - Time remaining: 24:00:00" + "<br>");
         $target[0][2].value = "";
       });
     }
Add semicolons and add temporary string for time remaining
