html
html
1
2
3
4
5
6
7
8
9
10
11
<!-- Created by Sina -->
<!DOCTYPE html>
<html>
<head>
<title>Page Title</title>
</head>
<body>
</body>
</html>
Enter to Rename, Shift+Enter to Preview
css
css
1
2
3
4
5
/* Created by Sina */
body {
}
Enter to Rename, Shift+Enter to Preview
js
js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
// Created by Sina
//get the year that person has born
//get the month
//get the day
//calculate 2024-the year u got
//calculate the month-10
//if the value of above number is positie then add the diffrenece to his age otherwise minus
/*var year = Number(prompt("Enter the year u were born"))
var month = prompt("enter the name of theo month u were born like november december and .. all in lower case")
var monthNumber;
if (month = "january"){
monthNumber == 1
alert("1")
}
else if(month = "february"){
monthNumber == 2
alert("2")
}
else if(month = "march"){
monthNumber == 3
alert("3")
}
else if(month = "april"){
Enter to Rename, Shift+Enter to Preview
BROWSER
Console
Run