IHYPRESS PROGRAMMING
Tutorials and JavaScript programs with code and output for beginners
HOME
|
ASP
|
C
|
CSS
|
GNUPLOT
|
HTML
|
JAVASCRIPT
|
PERL
|
PHP
|
PYTHON
|
RUBY
|
SVG
share
First JavaScript Program
Writing a sentence in the browser's window using the
document.write
method.
The Alert Box
A simple alert box using a function and the
alert
method.
The
if
Statement
A simple example of nested
if
statements showing different outcomes depending on the visitor's local time.
The Counting Loop Statements
Simple examples of counting loops using the
while
,
for
and
do-while
statements.
The Enumeration Loop Statements
Simple examples of enumaration loops using the
for-in
,
for-of
and
foreach
statements.
The Confirmation Box
A program showing a simple example of a confirmation dialog box.
Timed Redirection
A simple redirection after a delay of 8.5 seconds.
Pop-Up Window
A simple pop-up window.
Time and Date
A simple time and date display.
String Properties and Methods
Some properties and methods that can be used on arrays.
Change Properties
Javascript changes an image on a click of a button.
Time/Date Actualization
Live time and date display. Stops on a click of a button.
Form Validation 1
Checks a form for empty fields.
Form Validation 2
Checks a form for numeric fields.
Array Properties
Some of the most useful methods that can be used on arrays.
Geolocation API
A script that shows the latitude and logitude of the site's visitor.
Form Validation API
The form validation API makes the task of validating forms easier.
jQuery Curved Text
Curve words and sentences using the arctext() jQuery third-party method.
Tutorials:
JavaScript Reserved Words
The list of reserved keywords that you can't use as identifiers.
JavaScript Events
List of JavaScript events.
CSS/JavaScript Properties
Complete list of CSS parameters and their corresponding JavaScript properties.
Regular Expressions in JavaScript
Tutorial on regular expressions in JavaScript with examples.
COPYRIGHT © 2015-2025 IHY PRESS Frankfurt am Main 60329 Deutschland