by arrowrowe
(background image by anonymous)
Browser | Nginx - index.html
(Screenshots from Bilibili)
/etc/nginx/conf.d/playground.conf
server {
root /playground/;
server_name playground.lk;
}
More: listen, index, sendfile, try_files, location block, with php-fpm...
BTW: Got Nginx 1.8.1? Google 'nginx ppa'.
Q: No 'playground.lk'? A: Modify `/etc/hosts`.
Q: Who loads this .conf? A: See `/etc/nginx/nginx.conf`.
So, JavaScript?
...
| ...
|
|
|
|
Q? Just move on...
(a glance)
Review the last demo...
(Move on for more details......)
The
window
object represents a window containing a DOM document; thedocument
property points to the DOM document loaded in that window.
The Document Object Model (DOM) is a programming interface for HTML, XML and SVG documents. It provides a structured representation of the document as a tree.
The Document interface represents any web page loaded in the browser and serves as an entry point into the web page's content, which is the DOM tree.
(Now begins the boring part... Let's go through the basic together...)
'use strict';
(In fact all MDN JavaScript Tutorials are recommended......)
(Know it when its time comes...)
(Twin?)
In Browser | For Node
Utilities & Frameworks
ANYTHING