File tree Expand file tree Collapse file tree 4 files changed +37
-7
lines changed
Expand file tree Collapse file tree 4 files changed +37
-7
lines changed Original file line number Diff line number Diff line change 1+ {
2+ // Use IntelliSense to learn about possible attributes.
3+ // Hover to view descriptions of existing attributes.
4+ // For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
5+ "version" : " 0.2.0" ,
6+ "configurations" : [
7+
8+ {
9+ "type" : " chrome" ,
10+ "request" : " launch" ,
11+ "name" : " Launch Chrome against localhost" ,
12+ "url" : " http://localhost:8080" ,
13+ "webRoot" : " ${workspaceFolder}"
14+ },
15+ {
16+ "type" : " firefox" ,
17+ "request" : " launch" ,
18+ "name" : " Launch firefox against localhost" ,
19+ "url" : " http://localhost:8080" ,
20+ "webRoot" : " ${workspaceFolder}"
21+ },
22+ {
23+ "type" : " msedge" ,
24+ "request" : " launch" ,
25+ "name" : " Launch edge against localhost" ,
26+ "url" : " http://localhost:8080" ,
27+ "webRoot" : " ${workspaceFolder}"
28+ }
29+ ]
30+ }
Original file line number Diff line number Diff line change 22< html lang ="en ">
33< head >
44 < meta charset ="UTF-8 ">
5- < meta http-equiv ="X-UA-Compatible " content ="IE=edge ">
5+ < meta http-equiv ="X-UA-Compatible " content ="IE=Chrome ">
66 < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
77 < title > Age Calculator</ title >
88 < link rel ="stylesheet " href ="style.css ">
Original file line number Diff line number Diff line change 1- const btnEl = document . getElementById ( "btn" ) ;
2- const birthdayEl = document . getElementById ( "birthday" ) ;
3- const resultEl = document . getElementById ( "result" ) ;
1+ let btnEl = document . getElementById ( "btn" ) ;
2+ let birthdayEl = document . getElementById ( "birthday" ) ;
3+ let resultEl = document . getElementById ( "result" ) ;
44
55function calculateAge ( ) {
66 const birthdayValue = birthdayEl . value ;
Original file line number Diff line number Diff line change 22 margin : 0 ;
33 padding : 20px ;
44 font-family : "Montserrat" , sans-serif;
5- background-color : # f7f7f7 ;
5+ background-color : # 080000 ;
66}
77
88.container {
9- background-color : white ;
10- box-shadow : 0 0 10px rgba (0 , 0 , 0 , 0.2 );
9+ background-color : rgb ( 240 , 237 , 237 ) ;
10+ box-shadow : 0 0 10px rgba (243 , 241 , 241 , 0.2 );
1111 padding : 20px ;
1212 max-width : 600px ;
1313 margin : 0 auto;
You can’t perform that action at this time.
0 commit comments