Skip to content

Commit

Permalink
move css to style.css
Browse files Browse the repository at this point in the history
  • Loading branch information
atch2203 committed Oct 12, 2024
1 parent 52431ca commit a6b8e7d
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 23 deletions.
24 changes: 1 addition & 23 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -4,29 +4,7 @@
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>JS Calculator</title>
<style>
body {
font-family: Arial, sans-serif;
text-align: center;
}
#calculator {
width: 400px;
margin: 0 auto;
padding: 20px;
border: 2px solid #000;
}
button {
width: 60px;
height: 40px;
font-size: 18px;
}
input {
width: 360px;
height: 40px;
text-align: right;
font-size: 18px;
}
</style>
<link rel="stylesheet" href="style.css" />
</head>
<body>

Expand Down
21 changes: 21 additions & 0 deletions style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
body {
font-family: Arial, sans-serif;
text-align: center;
}
#calculator {
width: 400px;
margin: 0 auto;
padding: 20px;
border: 2px solid #000;
}
button {
width: 60px;
height: 40px;
font-size: 18px;
}
input {
width: 360px;
height: 40px;
text-align: right;
font-size: 18px;
}

0 comments on commit a6b8e7d

Please sign in to comment.