Saturday, July 16th

There are many great ways to learn... but there are two GREAT ways to learn: Trying to apply your knowledge without reference and teaching it to others (or yourself). 

I wanted to learn how to do in page search with JavaScript and this is what I came up with:


And here is how I did it with JQuery in five lines of code:

$("#input").on("input", function() {
  var text = $("#input").val();
  $("li").hide();
  $("li:contains('" + text + "')").fadeIn();
});
Subscribe

Subscribe