1
+ <!DOCTYPE html>
2
+ < html lang ="en ">
3
+
4
+ < head >
5
+ < meta charset ="UTF-8 ">
6
+ < meta name ="viewport " content ="width=device-width, height=device-height, initial-scale=1 user-scalable=no, shrink-to-fit=no ">
7
+ < meta http-equiv ="X-UA-Compatible " content ="ie=edge ">
8
+ < title > Simple Calculator Harsh Trivedi</ title >
9
+ < link rel ="stylesheet " href ="style.css ">
10
+ < link href ="https://fonts.googleapis.com/css?family=Fjalla+One&display=swap " rel ="stylesheet ">
11
+ <!-- Common Tags -->
12
+ < meta content ='#171825 ' name ='theme-color ' />
13
+
14
+ < meta name ="keywords "
15
+ content ="Simple JavaScript Calculator, Harsh, JavaScript, Calculator, JavaScript Calculator, JSCalci, JavaScriptCalci, Harsh Trivedi ">
16
+
17
+ <!-- Open Graph general (Facebook, Pinterest & Google+) -->
18
+ < meta property ="og:title " content ="Simple JavaScript Calculator " />
19
+ < meta property ="og:description "
20
+ content ="Simple JavaScript Calculator by Harsh Trivedi " />
21
+ < meta property ="og:image "
22
+ content ="https://raw.github.com/harsh98trivedi/Simple-JavaScript-Calculator/meta.jpg " />
23
+ < meta property ="og:url " content ="https://harsh98trivedi.github.io/Simple-JavaScript-Calculator/ " />
24
+ < meta property ="og:site_name " content ="Simple JavaScript Calculator " />
25
+ < meta property ="og:locale " content ="en_US " />
26
+ < meta property ="fb:admins " content ="245221532650178 " />
27
+ < meta property ="og:type " content ="website " />
28
+ < meta content ='https://www.facebook.com/TheHarshTrivedi ' property ='article:author ' />
29
+ < meta property ="og:url " content ="https://harsh98trivedi.github.io/Simple-JavaScript-Calculator/ " />
30
+ <!-- Search Engine -->
31
+ < meta property ="description "
32
+ content ="Simple JavaScript Calculator by Harsh Trivedi " />
33
+ < meta property ="image "
34
+ content ="https://raw.github.com/harsh98trivedi/Simple-JavaScript-Calculator/meta.jpg " />
35
+ <!-- Schema.org for Google -->
36
+ < meta itemprop ="name " content ="Simple JavaScript Calculator " />
37
+ < meta itemprop ="description "
38
+ content ="Simple JavaScript Calculator by Harsh Trivedi " />
39
+ < meta itemprop ="image "
40
+ content ="https://raw.github.com/harsh98trivedi/Simple-JavaScript-Calculator/meta.jpg " />
41
+ <!-- Twitter -->
42
+ < meta property ="twitter:card " content ="summary_large_image " />
43
+ < meta property ="twitter:title " content ="Simple JavaScript Calculator " />
44
+ < meta property ="twitter:description "
45
+ content ="Simple JavaScript Calculator by Harsh Trivedi " />
46
+ < meta property ="twitter:creator " content ="@harsh98trivedi " />
47
+ < meta property ="twitter:creator:id " content ="@harsh98trivedi " />
48
+ < meta property ="twitter:image:src "
49
+ content ="https://raw.github.com/harsh98trivedi/Simple-JavaScript-Calculator/meta.jpg " />
50
+ < meta property ="twitter:image " content ="Calculator by Harsh Trivedi " />
51
+ < link rel ='icon ' type ='image/x-icon ' href ='favicon.png ' />
52
+ </ head >
53
+
54
+ < body >
55
+ < div class ="container ">
56
+ < h1 > < a style ="text-decoration: none; color: #f1c40f; margin-left: 0.25rem; " href ="" onclick ="location.reload(); "> CALCULATOR</ a > </ h1 >
57
+ < div class ="calculator ">
58
+ < input type ="text " name ="screen " id ="answer ">
59
+ < table >
60
+ < tr >
61
+ < td > < button > (</ button > </ td >
62
+ < td > < button > )</ button > </ td >
63
+ < td > < button style ="background-color: #e74c3c; font-weight: bold; color: #ecf0f1; "> C</ button > </ td >
64
+ < td > < button > %</ button > </ td >
65
+ </ tr >
66
+ < tr >
67
+ < td > < button > 7</ button > </ td >
68
+ < td > < button > 8</ button > </ td >
69
+ < td > < button > 9</ button > </ td >
70
+ < td > < button > X</ button > </ td >
71
+ </ tr >
72
+ < tr >
73
+ < td > < button > 4</ button > </ td >
74
+ < td > < button > 5</ button > </ td >
75
+ < td > < button > 6</ button > </ td >
76
+ < td > < button > -</ button > </ td >
77
+ </ tr >
78
+ < tr >
79
+ < td > < button > 1</ button > </ td >
80
+ < td > < button > 2</ button > </ td >
81
+ < td > < button > 3</ button > </ td >
82
+ < td > < button > +</ button > </ td >
83
+ </ tr >
84
+ < tr >
85
+ < td > < button > 0</ button > </ td >
86
+ < td > < button style ="font-weight: bold; "> .</ button > </ td >
87
+ < td > < button > /</ button > </ td >
88
+ < td > < button style ="background-color: #2ecc71; font-weight: bold; color: #ecf0f1; "> =</ button > </ td >
89
+ </ tr >
90
+ </ table >
91
+ < hr style ="max-width: 50vw; ">
92
+ < div style ="font-size:1rem; display: flex; align-items: center; justify-content: center; "> Made with < img style ="margin: 0.15rem; " src ="heart.png "> by< a style ="text-decoration: none; color: #f1c40f; margin-left: 0.25rem; "
93
+ target ="_blank " href ="https://harsh98trivedi.github.io "> Harsh Trivedi</ a > </ div >
94
+ </ div >
95
+ </ div >
96
+ < div id ="turn ">
97
+ PLEASE TURN YOUR DEVICE
98
+ </ div >
99
+ </ body >
100
+ < script src ="calc.js "> </ script >
101
+ </ html >
0 commit comments