Javascript Course

- All these scripts are free, many of them have helpful explanations in their code, useful for those interested to learn JavaScript.

Daily Test with Code Example

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;
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
JavaScript Scripts

Last accessed pages

  1. Add text between two DIV tags (3080)
  2. SHA256 Encrypt hash in JavaScript (25501)
  3. Node.js Move and Copy Directory (16476)
  4. Define and Use Classes in JavaScript (655)
  5. Read Excel file data in PHP - PhpExcelReader (91425)

Popular pages this month

  1. PHP Unzipper - Extract Zip, Rar Archives (97)
  2. Read Excel file data in PHP - PhpExcelReader (78)
  3. SHA256 Encrypt hash in JavaScript (64)
  4. Courses Web: PHP-MySQL JavaScript Node.js Ajax HTML CSS (48)
  5. querySelector and querySelectorAll (48)