Javascript Resources
An introduction to Javascript programming, client-side and server-side scripts, coding projects, resources for parents and more. Javascript is the foundation of modern websites and applications.
How to not allow special characters in a textbox
Sep 5 2022
Learn a simple approach to validate your user’s input in a textbox so as to not allow special characters!
Read moreWhat is NaN in Javascript?
Jul 22 2022
NaNs refer to objects in Javascript that are not valid numbers. Learn how they occur and how to check for them!
Read moreHow to get user input in Javascript
Jul 22 2022
Learn two approaches to get user input in Javascript: the prompt() method and a textbox.
Read moreHow to check if a letter is uppercase in Javascript
Jul 20 2022
Learn a handy way to check if a letter is uppercase in Javascript!
Read moreHow to Reverse a String in Javascript
Jul 20 2022
Learn four different ways to reverse a string in Javascript. Which one will be your favorite?
Read moreHow to get yesterday’s date (or tomorrow’s date) in Javascript
Jul 19 2022
Need a handy way to get yesterday’s date (or tomorrow’s date) in your Javascript code? Learn how!
Read moreFind your current time zone in Javascript
Jul 19 2022
Here’s a very handy program to determine your current time zone programmatically in Javascript.
Read moreGetting the value of a clicked button in Javascript
Jul 17 2022
Want to setup buttons on your page and recognize when they are clicked? Learn how to do so!
Read moreHiding Dropdown Values in Javascript
Jul 17 2022
Learn how to hide dropdown values in Javascript based on user selections elsewhere. This is very useful in creating interactive menus.
Read moreRemoving Elements from a DOM in Javascript
Jul 6 2022
Learn how to programmatically remove elements from a DOM and modify a webpage!
Read moreJavascript instanceof
Jul 6 2022
Javascript’s instanceof operator is a very convenient way to understand objects and their types. Learn how to use it!
Read moreHow to scramble a word in Javascript
Jul 5 2022
Want to randomly permute the order of characters in a Javascript string? Learn how!
Read moreCan a Javascript function return multiple values?
Jul 5 2022
Dive deeper into Javascript functions and see whether a function can return multiple values.
Read moreJavascript’s Array reduce() method
Jul 4 2022
Learn about the reduce() method in Javascript that computes functions over an entire array and returns accumulated results.
Read moreHow to loop through two arrays in Javascript
Jul 4 2022
Learn how to do the Javascript equivalent of the zip function from Python!
Read moreThe valueOf method in Javascript
Jun 6 2022
The valueOf method in Javascript returns the primitive value of an object without changing its original value.
Read moreJavaScript’s Math.floor() Method
Jun 6 2022
Learn Javascript’s Math.floor() method using simple examples!
Read moreJavascript's Array shift() method
Jun 3 2022
Javascript’s shift() method offers a convenient way to remove the first element of an array. Learn how to use it!
Read moreJavascript’s Math.max() function
Jun 3 2022
Learn about the very useful Math.max() function in Javascript!
Read moreHow to check if a number is between two numbers in JavaScript
May 31 2022
Writing a Javascript program and trying to check if a number is in between two values? Learn how to do so!
Read moreComputing powers in Javascript
May 31 2022