Node.js is a free, open source server framework that can run on various platforms (Windows, Linux, Unix, Mac OS X, etc.), and allows you to run JavaScript on the server. It uses asynchronous programming.
- In this course I add tutorials with the things I learn about Node JS from various resources I find on the internet.
What Can Node.js Do?
- Node.js can generate dynamic page content.
- It can create, open, read, write, delete, and close files on the server.
- Node.js can collect form data.
- It can add, delete, modify data in a database.
References:
-
Node.js Full Documentation
-
Pure JavaScript Client implementing the MySql protocol
-
Node.js w3schools Tutorial
Daily Test with Code Example
HTML
CSS
JavaScript
PHP-MySQL
Which meta tag provides a short description of the page?
<meta content="..."> <meta description="..."> <meta http-equiv="..."><meta name="description" content="70-160 characters that describes the content of the page" />
Which CSS property is used to stop the wrapping effect of the "float"?
clear text-align position#some_id {
clear: both;
}
Click on the method which gets an array with all the elements in the document that have a specified tag name.
getElementsByName() getElementById() getElementsByTagName()var divs = document.getElementsByTagName("div");
var nr_divs = divs.length;
alert(nr_divs);
Indicate the PHP function which returns the number of elements in array.
is_[) count() strlen()$arr =[7, 8, "abc", 10);
$nri = count($arr);
echo $nri; // 4