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 more
What 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 more
How 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 more
How 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 more
How 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 more
How 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 more
Find 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 more
Getting 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 more
Hiding 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 more
Removing Elements from a DOM in Javascript

Jul 6 2022

Learn how to programmatically remove elements from a DOM and modify a webpage!
Read more
Javascript 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 more
How to scramble a word in Javascript

Jul 5 2022

Want to randomly permute the order of characters in a Javascript string? Learn how!
Read more
Can a Javascript function return multiple values?

Jul 5 2022

Dive deeper into Javascript functions and see whether a function can return multiple values.
Read more
Javascript’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 more
How to loop through two arrays in Javascript

Jul 4 2022

Learn how to do the Javascript equivalent of the zip function from Python!
Read more
The 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 more
JavaScript’s Math.floor() Method

Jun 6 2022

Learn Javascript’s Math.floor() method using simple examples!
Read more
Javascript'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 more
Javascript’s Math.max() function

Jun 3 2022

Learn about the very useful Math.max() function in Javascript!
Read more
How 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 more
Computing powers in Javascript

May 31 2022

Looking to compute powers of numbers in your interactive webpage? Learn how to do so!
Read more
  • ABOUT

Copyright @ Kodeclik 2022. All rights reserved.