Javascript Course

The script presented in this page is a tool to calculate surface area, perimeter and other dimensions (radius, diagonal, height) of various 2D geometrical shapes: circle, ellipse, triangle, hexagon, parallelogram, rectangle, rhombus, square, trapezoid.
This calculator shows also the mathematical formulas used to calculate the area, perimeter, and the other dimensions.

Calculate Area and Perimeter

JavaScript script to calculate surface area and perimeter.
Find area and perimeter of various 2d geometrical shapes.

Select an object


• To Download this script, click: Area and Perimeter Calculator.

Daily Test with Code Example

HTML
CSS
JavaScript
PHP-MySQL
Which tag can be used to create input text field in web page?
<form> <input> <div>
<input type="text" name="a_name" value="val" />
Which CSS property displays the text in a small-caps font?
display font-variant font-style
h3 {
  font-variant: small-caps;
}
What instruction displays a notice box with a message inside it, in JavaScript?
for() Date() alert()
var msg = "Visit CoursesWeb.net";
alert(msg);
Indicate the PHP code used to get the users IP.
$_SERVER["HTTP_USER_AGENT"] $_SERVER["REMOTE_ADDR"] $_GET[]
$ip = $_SERVER["REMOTE_ADDR"];
echo $ip;
Area and Perimeter Calculator for 2D shapes

Last accessed pages

  1. The School for Gods (1214)
  2. Display image file in Canvas, Check its type and size before Upload (2263)
  3. Select in MySQL, Output results in HTML Table (12980)
  4. Recursive function to create Multi-Level Menu in JavaScript (4007)
  5. PuzzleImg - Script to Create Image Puzzle Game (5188)

Popular pages this month

  1. Courses Web: PHP-MySQL JavaScript Node.js Ajax HTML CSS (710)
  2. Register and show online users and visitors (491)
  3. querySelector and querySelectorAll (397)
  4. Node.js Move and Copy file (369)
  5. PHP-MySQL free course, online tutorials PHP MySQL code (364)