Javascript Course

The script presented in this page is a tool to calculate surface area, volume and other dimensions (radius, diagonal, center of gravity) of various uniform 3D objects: cube, barrel, cone, sphere, torus, cylinder, pyramid, parallelepiped, hexagonal prism, ...
This calculator shows also the mathematical formulas used to calculate the volume, area, and the other dimensions.

Calculate Volume and Area

JavaScript script to calculate volume and surface area.
Find volume, and area of various 3d objects.

Select an object


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

Daily Test with Code Example

HTML
CSS
JavaScript
PHP-MySQL
What attribute makes the input text box to not be modified by the user?
checked="checked" readonly="readonly" disabled="disabled"
<input type="text" value="fixed-value" readonly="readonly" name="a_name" />
What CSS property allows you to create rounded corners in your webpage design?
background-size border-size border-radius
.class {
  border:2px solid blue;
  border-radius:1.2em;
}
What instruction displays a confirmation dialog box to the viewer, who must then click OK or Cancel to proceed?
indexOf() confirm() prompt()
var ques = window.confirm("The result of 0+0 is 0?");
if (ques) alert("Corect");
else alert("Incorrect");
Indicate the PHP function that returns the lowest number of the parameter values.
floor() ceil() min()
$min_nr = min(12, 8, 25, 13);
echo $min_nr;        // 8
Volume and Surface Area Calculator for 3D objects

Last accessed pages

  1. Using v-model in form input fields (857)
  2. AJAX with POST and PHP (18840)
  3. PHP PDO - prepare and execute (9132)
  4. PHP MySQL - WHERE and LIKE (29339)
  5. Validate radio and checkbox buttons (9988)

Popular pages this month

  1. Courses Web: PHP-MySQL JavaScript Node.js Ajax HTML CSS (50)
  2. Read Excel file data in PHP - PhpExcelReader (14)
  3. SSEP - Site Search Engine PHP-Ajax (10)
  4. PHP Unzipper - Extract Zip, Rar Archives (10)
  5. PHP-MySQL free course, online tutorials PHP MySQL code (8)