Skip to content

Commit e1620b3

Browse files
author
Brian Dietrich
committed
Committed 12/01/2024
1 parent 9178903 commit e1620b3

File tree

4 files changed

+37
-7
lines changed

4 files changed

+37
-7
lines changed

.vscode/launch.json

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
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+
}

projects/age-calculator/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
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 Calculatortitle>
88
<link rel="stylesheet" href="style.css">

projects/age-calculator/index.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
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

55
function calculateAge() {
66
const birthdayValue = birthdayEl.value;

projects/age-calculator/style.css

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,12 +2,12 @@ body {
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;

0 commit comments

Comments
 (0)