[Project3] skeleton HTML + completed script

This commit is contained in:
Nicola Clark 2025-03-30 23:42:27 -05:00
parent 84a7eeab46
commit 94a9d26309
Signed by: nicola
GPG Key ID: BEF8036296D094BF
4 changed files with 47 additions and 1 deletions

View File

@ -1,3 +1,3 @@
{
"cSpell.words": ["bondiblue", "dimen"]
"cSpell.words": ["Alssya", "bondiblue", "Colton", "dimen", "Tonisha"]
}

View File

@ -0,0 +1,17 @@
<!DOCTYPE html>
<!--
Nicola Clark
30MAR25
-->
<html lang="en">
<head>
<title>WEB124 &dash; Project 3 &dash; Nicola Clark</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link rel="stylesheet" href="styles.css">
</head>
<body>
<h1>WEB124 Project 3</h1>
<h2>Nicola Clark</h2>
<script src="project3.js"></script>
</body>
</html>

View File

@ -0,0 +1,29 @@
// Nicola Clark - 30MAR25
// Q1
const myName = 'Nicola Clark';
console.log(myName);
// Q2
const myDesiredAnnualSalary = 60_000;
console.log(myDesiredAnnualSalary);
// Q3
const amIAVeteran = false;
console.log(amIAVeteran);
// Q4
const threeOfMyFriends = ['Jay', 'Alssya', 'Tonisha'];
console.log(threeOfMyFriends);
// Q5
const myThreeFriendsDesiredSalaries = [84_000, 72_000, 60_000];
console.log(myThreeFriendsDesiredSalaries);
// Q5
const myFourthFriend = {
firstName: 'Colton',
lastName: 'H',
desiredSalary: 84_000,
};
console.log(myFourthFriend);

View File