Assignment 4

 

1. Task: Create a simple website and upload it to web hosting space. The completed steps are as follows:

 

(1) Download the web template website

Or go to the website and download it yourself: http://www.openwebdesign.org/browse.php?page=2

 

(2) Modify the website's title, encoding, heading, and copyright statement.

 

(3) Create five hyperlinks on the website:

 

(3-1) Homepage: **index.htm**

 

(3-2) Task 1: **a1.htm** (Copy the design from the index template) 

HTML: List 

Create a list using the commands: `ul...li`.

 

CSS¦³3ºØ¡G

¡P       style

¡P       class

¡P       link¥~³¡css

 

 

(3-3) Task 2: **a2.htm** (Copy the design from the index template) 

Third type of CSS: External link 

Link to an external CSS file: https://acupun.site/lecture/html5_CSS_javascript/3-css1.css

Command: <link href=" " rel="stylesheet"/>

 

(a).¤å¦r¤è¶ôªºhtml«ü¥O¡G<input type="text" value="Åã¥Ü­È" size="´X­Ó¦r¼e«×" />

«ö¶sªºhtml«ü¥O¡G<input type="button" value="Åã¥Ü­È" size="´X­Ó¦r¼e«×" />

 

(b) Convert text to an integer: `parseInt("text");` 

(c) Set the value of a text box: `textBoxName.value = ...;`

 

(3-5) Task 4: **a4.htm** (Copy the design from the index template) 

JavaScript: If statement for comparing values 

Command structure:

 

(4) Upload the website to Github hosting.

 

(5) Paste the URL into Zuvio 

Submit the URL in the assignment section for Assignment 3 on Zuvio to complete the task.