Skip to content

Commit 2f8ee8e

Browse files
committed
refactor: Restructure assignment files
1 parent 96f1a17 commit 2f8ee8e

35 files changed

+88
-95
lines changed

p01/index.html

Lines changed: 0 additions & 1 deletion
This file was deleted.

p01/logo.gif

-11.2 KB
Binary file not shown.

p02/index.html

Lines changed: 0 additions & 31 deletions
This file was deleted.

p11/images/logo.png

9.14 KB
Loading

p11/index.html

Lines changed: 1 addition & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1 @@
1-
<!DOCTYPE html>
2-
<head>
3-
<title>JS Exercise 1</title>
4-
<meta charset="utf-8" />
5-
<style>
6-
#color-box {
7-
width: 800px;
8-
height: 450px;
9-
border: 2px solid black;
10-
}
11-
</style>
12-
<script src="./script.js" type="text/javascript" defer></script>
13-
</head>
14-
<body>
15-
<div id="color-box"></div>
16-
<button onclick="setRandomBgColor()">Change Color</button>
17-
</body>
1+
<!-- TODO -->

p12/index.html

Lines changed: 24 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,24 @@
1-
<!DOCTYPE html>
2-
<head>
3-
<title>JS Exercise 2</title>
4-
<meta charset="utf-8" />
5-
<script src="./script.js" type="text/javascript" defer></script>
6-
</head>
7-
<body>
8-
<h1>Times Table</h1>
9-
<h3>Input an integer between 1 - 9.</h3>
10-
<div>
11-
<input type="text" id="number" name="number" />
12-
<button onclick="displayTimes()">Show Result</button>
13-
</div>
14-
<div id="times-result"></div>
15-
</body>
1+
<h3>Input username:</h3>
2+
<input type="text" name="username" />
3+
4+
<h3>Input password:</h3>
5+
<input type="password" name="password" />
6+
7+
<h3>Gender:</h3>
8+
<label><input type="radio" name="gender" value="male" />Male</label>
9+
<label><input type="radio" name="gender" value="female" />Female</label>
10+
<label><input type="radio" name="gender" value="other" />Other</label>
11+
<h3>Your Major:</h3>
12+
<select name="major">
13+
<option value="cs">Computer Science</option>
14+
<option value="phy">Physics</option>
15+
<option value="chm">Chemistry</option>
16+
<option value="math">Mathematics</option>
17+
</select>
18+
<h3>Introduce yourself:</h3>
19+
<textarea
20+
cols="40"
21+
rows="5"
22+
placeholder="Introduce yourself"
23+
name="introduction"
24+
></textarea>

p03/index.html renamed to p21/index.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<title>CSS Exercise 1</title>
4+
<title>CSS Exercise: Text Styling</title>
55
<meta charset="utf-8" />
6-
<link rel="stylesheet" text="type/css" href="./style.css" />
6+
<link rel="stylesheet" text="type/css" href="./text-styling.css" />
77
</head>
88
<body>
99
<h1>Chapters</h1>
1010
<div class="horizontal-lists">
1111
Ch 2. HTML: The Basic Structure / Ch 3. CSS: Desiging HTML / Ch 4. Basics
12-
of Javascript
12+
of JavaScript
1313
</div>
1414
<br />
1515
<div class="chapter">
@@ -27,9 +27,9 @@ <h1>Chapters</h1>
2727
</div>
2828
<br />
2929
<div class="chapter">
30-
<div class="chapter-name">Ch 4. Basics of Javascript</div>
30+
<div class="chapter-name">Ch 4. Basics of JavaScript</div>
3131
<div class="horizontal-lists">
32-
Introducing Javascript / Declaration of Variables / Data Types
32+
Introducing JavaScript / Declaration of Variables / Data Types
3333
</div>
3434
</div>
3535
</body>
File renamed without changes.
File renamed without changes.

p04/index.html renamed to p22/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
<!DOCTYPE html>
22
<html>
33
<head>
4-
<title>CSS Exercise 2</title>
4+
<title>CSS Exercise: ARS Buttons</title>
55
<meta charset="utf-8" />
6-
<link rel="stylesheet" text="type/css" href="./style.css" />
6+
<link rel="stylesheet" text="type/css" href="./ars-buttons.css" />
77
</head>
88
<body>
99
<div class="container" style="width: 500px">

0 commit comments

Comments
 (0)