Skip to content

Commit

Permalink
Add basic files without js code
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanmora committed Feb 26, 2018
1 parent 1000c15 commit 2cb6601
Show file tree
Hide file tree
Showing 3 changed files with 30 additions and 0 deletions.
16 changes: 16 additions & 0 deletions index.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<!DOCTYPE html>
<html>
<head>
<title>DOM I</title>
<link rel="stylesheet" href="./styles.css">
</head>
<body>
<div class="digits">
<div class="digit" id="secondTens">-</div>
<div class="digit" id="secondOnes">-</div>
<div class="digit" id="colon">:</div>
<div class="digit" id="msHundreds">-</div>
<div class="digit" id="msTens">-</div>
</div>
</body>
</html>
Empty file added index.js
Empty file.
14 changes: 14 additions & 0 deletions styles.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
body {
display: flex;
justify-content: center;
align-items: center;
}

.digit {
display: inline-block;
font-size: 80px;
}

.redDigit {
color: red;
}

0 comments on commit 2cb6601

Please sign in to comment.