File tree Expand file tree Collapse file tree 1 file changed +30
-2
lines changed Expand file tree Collapse file tree 1 file changed +30
-2
lines changed Original file line number Diff line number Diff line change 4
4
< meta charset ="UTF-8 ">
5
5
< meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
6
6
< title > Calculator</ title >
7
+ < link rel ="stylesheet " href ="style.css ">
7
8
</ head >
8
9
< body >
9
-
10
+ < div class ="calculator ">
11
+ < input type ="text " class ="calculator-screen " value ="" disabled />
12
+ < div class ="calculator-keys ">
13
+
14
+ < button type ="button " value ="7 "> 7</ button >
15
+ < button type ="button " value ="8 "> 8</ button >
16
+ < button type ="button " value ="9 "> 9</ button >
17
+ < button type ="button " class ="operator " value ="+ "> +</ button >
18
+
19
+ < button type ="button " value ="4 "> 4</ button >
20
+ < button type ="button " value ="5 "> 5</ button >
21
+ < button type ="button " value ="6 "> 6</ button >
22
+ < button type ="button " class ="operator " value ="- "> -</ button >
23
+
24
+ < button type ="button " value ="1 "> 1</ button >
25
+ < button type ="button " value ="2 "> 2</ button >
26
+ < button type ="button " value ="3 "> 3</ button >
27
+ < button type ="button " class ="operator " value ="* "> ×</ button >
28
+
29
+ < button type ="button " value ="0 "> 0</ button >
30
+ < button type ="button " class ="decimal " value =". "> .</ button >
31
+ < button type ="button " class ="all-clear " value ="all-clear "> AC</ button >
32
+ < button type ="button " class ="operator " value ="/ "> ÷</ button >
33
+
34
+ < button type ="button " class ="equal-sign operator " value ="= "> =</ button >
35
+ </ div >
36
+ </ div >
37
+ < script src ="script.js "> </ script >
10
38
</ body >
11
- </ html >
39
+ </ html >
You can’t perform that action at this time.
0 commit comments