Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit 68243b2

Browse files
css and html some part cover
1 parent 07ac311 commit 68243b2

File tree

2 files changed

+47
-0
lines changed

2 files changed

+47
-0
lines changed

‎project/index.html

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
4+
<head>
5+
<meta charset="UTF-8">
6+
<meta http-equiv="X-UA-Compatible" content="IE=edge">
7+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
8+
<title>creating stop watch using js</title>
9+
10+
<link rel="stylesheet" href="style.css">
11+
12+
<link rel="stylesheet" href="script.js">
13+
</head>
14+
15+
<body>
16+
17+
<div class="container">
18+
<h1>stopwatch</h1>
19+
<h2>vanila javascript stopwatch</h2>
20+
21+
22+
<p>time</p>
23+
24+
<button class="btn">start</button>
25+
<button class="btn">stop</button>
26+
<button class="btn">reset</button>
27+
</div>
28+
</body>
29+
30+
</html>

‎project/style.css

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
body{
2+
background-color: orange;
3+
font-family: 'Franklin Gothic Medium', 'Arial Narrow', Arial, sans-serif;
4+
}
5+
6+
.container{
7+
margin: auto;
8+
width: 40%;
9+
margin-top: 15%;
10+
border: 2px solid red;
11+
text-align: center;
12+
}
13+
14+
.btn{
15+
background-color: transparent;
16+
border: 1px solid white;
17+
}

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /