
Sometimes you may need to check for hash in URL using JavaScript. Here are the steps to do it.
Often web developers need to measure execution time in JS. Here is how to measure time taken by JS function to execute.
Sometimes you may need to check if string starts with another string in JavaScript. Here are the steps to do so.
Sometimes you may need to check if a date is valid or not in JavaScript. Here is how to detect invalid date in JavaScript.
Sometimes you may need to split URL into hostname and pathname in JavaScript. Here is how to parse URL into hostname & pathname in JS.
Sometimes you may need to smooth scroll on clicking links on web pages. Here is how to do this using JavaScript and jQuery.