[Project3] skeleton HTML + completed script
This commit is contained in:
parent
84a7eeab46
commit
94a9d26309
2
.vscode/settings.json
vendored
2
.vscode/settings.json
vendored
@ -1,3 +1,3 @@
|
|||||||
{
|
{
|
||||||
"cSpell.words": ["bondiblue", "dimen"]
|
"cSpell.words": ["Alssya", "bondiblue", "Colton", "dimen", "Tonisha"]
|
||||||
}
|
}
|
||||||
|
17
Chapter3Project/index.html
Normal file
17
Chapter3Project/index.html
Normal file
@ -0,0 +1,17 @@
|
|||||||
|
<!DOCTYPE html>
|
||||||
|
<!--
|
||||||
|
Nicola Clark
|
||||||
|
30MAR25
|
||||||
|
-->
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<title>WEB124 ‐ Project 3 ‐ 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>
|
29
Chapter3Project/project3.js
Normal file
29
Chapter3Project/project3.js
Normal 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);
|
0
Chapter3Project/styles.css
Normal file
0
Chapter3Project/styles.css
Normal file
Loading…
x
Reference in New Issue
Block a user