diff --git a/INFO-1272 (JS 1)/Notes/Midterm/index.html b/INFO-1272 (JS 1)/Notes/Midterm/index.html index 892d84e..1f72c53 100644 --- a/INFO-1272 (JS 1)/Notes/Midterm/index.html +++ b/INFO-1272 (JS 1)/Notes/Midterm/index.html @@ -1,123 +1,141 @@ -
-Answers:
+ +Answers:
+Answers:
+Answers:
+Answers:
-
+ Data Types and Variables
+
+ - Name JavaScript's three data types. Describe the types of data they store
+ - JavaScript is a weakly-typed language. Describe what this means.
+ - What are the naming rules for a variables name? What are naming conventions?
+ - What is a constant in JavaScript? Describe how you would declare a JavaScript constant.
+
+ Answers:
+
+ - Number, String and Boolean
+ - weakly-typed language implies that data types do not need to be defined at initialization, the compiler will
+ decide, cast and convert the data type unless explicitly cast
+ - A naming convention is a recommended way of naming variables to ensure readability and organize code.
+ JavaScript uses camelCase for variables and classes and UPPER_SNAKE_CASE for constants
+
let customerAge = 23;
const ONT_TAX_RATE = 0.13;
- - A constant is a variable whose value cannot be changed once initialized, making it constant. To define a constant, use the "const" keyword.
-
-
+ - A constant is a variable whose value cannot be changed once initialized, making it constant. To define a
+ constant, use the "const" keyword.
+ Answers:
-Answers:
+Answers:
+Answers:
+Answers:
+Answers:
+Interactive JavaScript follows
+ + + - - \ No newline at end of file diff --git a/INFO-1272 (JS 1)/Notes/Midterm/index.js b/INFO-1272 (JS 1)/Notes/Midterm/index.js index e454c94..e69de29 100644 --- a/INFO-1272 (JS 1)/Notes/Midterm/index.js +++ b/INFO-1272 (JS 1)/Notes/Midterm/index.js @@ -1,30 +0,0 @@ -// Window dialogue boxes -window.alert("This is an alert!"); -window.prompt("This is a prompt"); -window.confirm("This is a confirm"); - -// Data types -let userAge = Number("22"); -let userName = String("Levi"); -let isAdmin = Boolean(1); -console.log("User age: " + userAge); -console.log("User name: " + userName); -console.log("Is admin? " + isAdmin); - -// Weakly-typed variables - -// Constants - -// Operators - -// Math object methods - -// Number object methods - -// String object methods - -// Selection structure - -// Functions - -// Repitition structure \ No newline at end of file diff --git a/INFO-1274 (Graphic Design)/Projects/Project 1/Footer Icons/FAQ.png b/INFO-1274 (Graphic Design)/Projects/Project 1/Footer Icons/FAQ.png new file mode 100644 index 0000000..72bee5f Binary files /dev/null and b/INFO-1274 (Graphic Design)/Projects/Project 1/Footer Icons/FAQ.png differ diff --git a/INFO-1274 (Graphic Design)/Projects/Project 1/Footer Icons/careers.png b/INFO-1274 (Graphic Design)/Projects/Project 1/Footer Icons/careers.png new file mode 100644 index 0000000..6e59706 Binary files /dev/null and b/INFO-1274 (Graphic Design)/Projects/Project 1/Footer Icons/careers.png differ diff --git a/INFO-1274 (Graphic Design)/Projects/Project 1/Footer Icons/contact.png b/INFO-1274 (Graphic Design)/Projects/Project 1/Footer Icons/contact.png new file mode 100644 index 0000000..ddae7ac Binary files /dev/null and b/INFO-1274 (Graphic Design)/Projects/Project 1/Footer Icons/contact.png differ diff --git a/INFO-1274 (Graphic Design)/Projects/Project 1/Footer Icons/returns.png b/INFO-1274 (Graphic Design)/Projects/Project 1/Footer Icons/returns.png new file mode 100644 index 0000000..170207c Binary files /dev/null and b/INFO-1274 (Graphic Design)/Projects/Project 1/Footer Icons/returns.png differ diff --git a/INFO-1274 (Graphic Design)/Projects/Project 1/Footer Icons/shop.png b/INFO-1274 (Graphic Design)/Projects/Project 1/Footer Icons/shop.png new file mode 100644 index 0000000..375c38b Binary files /dev/null and b/INFO-1274 (Graphic Design)/Projects/Project 1/Footer Icons/shop.png differ diff --git a/INFO-1274 (Graphic Design)/Projects/Project 1/Footer Icons/stores.png b/INFO-1274 (Graphic Design)/Projects/Project 1/Footer Icons/stores.png new file mode 100644 index 0000000..ce2dfd0 Binary files /dev/null and b/INFO-1274 (Graphic Design)/Projects/Project 1/Footer Icons/stores.png differ diff --git a/INFO-1274 (Graphic Design)/Projects/Project 1/McLean_Project1_displayAds.psd b/INFO-1274 (Graphic Design)/Projects/Project 1/McLean_Project1_displayAds.psd new file mode 100644 index 0000000..617ed12 Binary files /dev/null and b/INFO-1274 (Graphic Design)/Projects/Project 1/McLean_Project1_displayAds.psd differ diff --git a/INFO-1274 (Graphic Design)/Projects/Project 1/McLean_Project1_website.jpg b/INFO-1274 (Graphic Design)/Projects/Project 1/McLean_Project1_website.jpg new file mode 100644 index 0000000..d828fe4 Binary files /dev/null and b/INFO-1274 (Graphic Design)/Projects/Project 1/McLean_Project1_website.jpg differ diff --git a/INFO-1274 (Graphic Design)/Projects/Project 1/McLean_Project1_website.psd b/INFO-1274 (Graphic Design)/Projects/Project 1/McLean_Project1_website.psd new file mode 100644 index 0000000..8a180f7 Binary files /dev/null and b/INFO-1274 (Graphic Design)/Projects/Project 1/McLean_Project1_website.psd differ diff --git a/INFO-1274 (Graphic Design)/Projects/Project 1/bubble-tea-1.jpg b/INFO-1274 (Graphic Design)/Projects/Project 1/bubble-tea-1.jpg new file mode 100644 index 0000000..179e26d Binary files /dev/null and b/INFO-1274 (Graphic Design)/Projects/Project 1/bubble-tea-1.jpg differ diff --git a/INFO-1274 (Graphic Design)/Projects/Project 1/bubble-tea-2.jpg b/INFO-1274 (Graphic Design)/Projects/Project 1/bubble-tea-2.jpg new file mode 100644 index 0000000..a17630e Binary files /dev/null and b/INFO-1274 (Graphic Design)/Projects/Project 1/bubble-tea-2.jpg differ diff --git a/INFO-1274 (Graphic Design)/Projects/Project 1/bubble-tea-3.jpg b/INFO-1274 (Graphic Design)/Projects/Project 1/bubble-tea-3.jpg new file mode 100644 index 0000000..3d0d259 Binary files /dev/null and b/INFO-1274 (Graphic Design)/Projects/Project 1/bubble-tea-3.jpg differ diff --git a/INFO-1274 (Graphic Design)/Projects/Project 1/planet 3.jpg b/INFO-1274 (Graphic Design)/Projects/Project 1/planet 3.jpg new file mode 100644 index 0000000..72d7401 Binary files /dev/null and b/INFO-1274 (Graphic Design)/Projects/Project 1/planet 3.jpg differ diff --git a/INFO-1274 (Graphic Design)/Projects/Project 1/planet-1.jpg b/INFO-1274 (Graphic Design)/Projects/Project 1/planet-1.jpg new file mode 100644 index 0000000..2e999d2 Binary files /dev/null and b/INFO-1274 (Graphic Design)/Projects/Project 1/planet-1.jpg differ diff --git a/INFO-1274 (Graphic Design)/Projects/Project 1/planet-2.jpg b/INFO-1274 (Graphic Design)/Projects/Project 1/planet-2.jpg new file mode 100644 index 0000000..8385104 Binary files /dev/null and b/INFO-1274 (Graphic Design)/Projects/Project 1/planet-2.jpg differ diff --git a/INFO-1274 (Graphic Design)/Projects/Project 1/planet-4.jpg b/INFO-1274 (Graphic Design)/Projects/Project 1/planet-4.jpg new file mode 100644 index 0000000..32fa422 Binary files /dev/null and b/INFO-1274 (Graphic Design)/Projects/Project 1/planet-4.jpg differ diff --git a/INFO-1274 (Graphic Design)/Projects/Project 1/planet-5.jpg b/INFO-1274 (Graphic Design)/Projects/Project 1/planet-5.jpg new file mode 100644 index 0000000..b5082b2 Binary files /dev/null and b/INFO-1274 (Graphic Design)/Projects/Project 1/planet-5.jpg differ diff --git a/INFO-1274 (Graphic Design)/Projects/Project 1/planet-5.psd b/INFO-1274 (Graphic Design)/Projects/Project 1/planet-5.psd new file mode 100644 index 0000000..63c7fb2 Binary files /dev/null and b/INFO-1274 (Graphic Design)/Projects/Project 1/planet-5.psd differ