2014年8月28日 星期四

Advanced JS Chapter 1


HTML網頁的應用:
http://qqboxy.blogspot.com/p/bijint.html
http://qqboxy.blogspot.com/p/lol.html
http://foodboxy.blogspot.tw/2011/09/nfu.html
http://youtuberepeat.blogspot.com/

JavaScript的應用:
http://threejs.org/
http://qqboxy.blogspot.com/p/tetris.html
http://qqboxy.blogspot.com/p/sudoku.html



EmEditor記事本編輯器:
http://qqboxy.blogspot.com/2010/06/emeditor-6004.html
http://notepad-plus-plus.org/

Node.js官方網站:
http://nodejs.org/

Node.js架設教學:
http://qqboxy.blogspot.com/2013/07/portable-nodejsnpmexpress-windows.html

Express官方網站:
http://expressjs.com/

w3school教學網站:
http://www.w3schools.com/

HTML標準架構 (index.html):
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>賣火柴的小女孩</title>
</head>
<body>
我是賣火柴的小女孩這樣,<br />
我是妳爸,去賣火柴。
</body>
</html>

建立基礎靜態網站 (index.js):
var express = require("./node_modules/express"),
    url = require("url");
var app = express();
var port = 1337;

app.listen(port);

app.use('/', express.static(__dirname + '/'));

app.get("/", function(req, res) {
    res.send("Hello World!!");
});

console.log("Start express server");

分組作業:
每個人都建立一個屬於自己的個人介紹網站,
需要包含超連結、圖片、特效、清單、表格等語法,
最後請你同學進去你的網站晃晃認識一下你自己。

沒有留言:

張貼留言