-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathindex.html
More file actions
113 lines (112 loc) · 2.77 KB
/
index.html
File metadata and controls
113 lines (112 loc) · 2.77 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8" />
<style type="text/css">
body {
font-size:0.8em;
font-family: dotum;
line-height:1.6em;
}
body.black{
background-color: black;
color:white;
}
body.black a{
color:white;
}
body.black a:hover{
color:#f60;
}
.black header{
border-bottom:1px solid #333;
}
.black nav {
border-right: 1px solid #333;
}
header{
border-bottom:1px solid #ccc;
padding: 20px 0; }
#toolbar {
padding:10px;
float:right;
}
nav{
float:left;
margin-right: 20px;
min-height: 500px;
border-right:1px solid #ccc;
}
nav ul{
list-style:none;
padding-left:0;
padding-right:20px;
}
article{
float:left;
}
footer{
clear:both;
}
a {
text-decoration:none;
}
a:link,
a:visited{
color:#333;
}
a:hover {
color:#f60;
}
h1 {
font-size:1.4em;
}
</style>
</head>
<body id="body">
<div>
<header>
<h1>JavaScript</h1>
</header>
<div id="toolbar">
<input type="button" value="black" onclick="document.getElementById('body').className='black'" />
<input type="button" value="white" onclick="document.getElementById('body').className='white'" />
</div>
<nav>
<ul>
<li><a href="http://opentutorials.org/course/49/16">JavaScript</a></li>
<li><a href="http://opentutorials.org/course/49/17">변수와 상수</a></li>
<li><a href="http://opentutorials.org/course/49/18">연산자</a></li>
<li><a href="http://opentutorials.org/course/49/19">함수</a></li>
<li><a href="http://opentutorials.org/course/49/20">이벤트</a></li>
<li><a href="http://opentutorials.org/course/49/21">객체</a></li>
</ul>
</nav>
<article>
<h2>변수와 상수</h2>
<div>
<p>변수란</p>
<ul>
<li>
변하는 값
</li>
<li>
x = 10 일 때 왼쪽항인 x는 오른쪽 항인 10에 따라 다른 값이 지정된다.
</li>
</ul>
<p>
상수란
</p>
<ul>
<li>
변하지 않는 값
</li>
<li>
x = 10 일 때 오른쪽항인 10이 상수가 된다.
</li>
</ul>
</div>
</article>
</div>
</body>
</html>