Toggle navigation
Toggle navigation
This project
Loading...
Sign in
Joung Jiwon
/
OSS-TongGilMut
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Snippets
Network
Create a new issue
Builds
Commits
Issue Boards
Authored by
Joung Jiwon
2020-12-10 19:59:39 +0900
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
30c9ec198a6d8ec43241edeff335af0f5c80de81
30c9ec19
1 parent
3690ef80
함수 연결 수정
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
6 deletions
project/index.html
project/index.html
View file @
30c9ec1
...
...
@@ -93,7 +93,7 @@
</div>
<div
class=
"question-field question-grade"
>
몇학년인가요?
</div>
<div
class=
"input-grade"
><div
class=
"custom-select"
style=
"width:208px; margin-right:40px"
>
<select>
<select
name=
"semester"
id=
"semester"
>
<option
value=
"0"
>
1학년 1학기
</option>
<option
value=
"sem-1-1"
>
1학년 1학기
</option>
<option
value=
"sem-1-2"
>
1학년 2학기
</option>
...
...
@@ -107,7 +107,7 @@
</div></div>
</div>
<a
href=
"#result"
class=
"button2 text-center tm-down-arrow-link"
>
<button
style=
"color:black"
class=
"fas fa-3x fa-caret-down tm-down-arrow"
type=
"button"
onclick=
"semester()
;return false;
"
>
계산해보기
</button>
<button
style=
"color:black"
class=
"fas fa-3x fa-caret-down tm-down-arrow"
type=
"button"
onclick=
"semester()"
>
계산해보기
</button>
</a>
</div>
</section>
...
...
@@ -429,6 +429,8 @@
var
since
,
until
,
salary
,
dish
,
everest
,
earth
// 임시값 지정
var
since
=
0
var
until
=
0
var
time
=
2
var
distance
=
30000
var
pay
=
100000
...
...
@@ -475,10 +477,10 @@
sum
(
input
)
}
document
.
getElementById
(
"since"
).
innerHTML
=
since
document
.
getElementById
(
"until"
).
innerHTML
=
until
document
.
getElementById
(
"salary"
).
innerHTML
=
salary
document
.
getElementById
(
"dish"
).
innerHTML
=
dish
document
.
getElementById
(
"since"
).
innerHTML
=
since
.
toLocaleString
();
document
.
getElementById
(
"until"
).
innerHTML
=
until
.
toLocaleString
();
document
.
getElementById
(
"salary"
).
innerHTML
=
salary
.
toLocaleString
();
document
.
getElementById
(
"dish"
).
innerHTML
=
dish
.
toLocaleString
();
document
.
getElementById
(
"everest"
).
innerHTML
=
everest
document
.
getElementById
(
"earth"
).
innerHTML
=
earth
}
...
...
Please
register
or
login
to post a comment