Skip to content

Category: javascript lessons

onload Event

JavaScript onload Event

The JavaScript onload feature works when the web page’s images, videos, and articles are fully loaded.

JavaScript Let,Var and Const

JavaScript Let,Var and Const

In ES6, a new way to define the variable is const and let keywords. Before ES6, developers used "var" to report different variables.


JavaScript Date.setTime()

Javascript Date setTime() method sets the Date object to the time represented by a number of milliseconds since January 1, 1970, 00:00:00 UTC.


JavaScript Date.setHours()

The JavaScript Date setHours () method is a built-in function. Sets the time of a specific date according to local time