diff --git a/exercises/exercise1/Exercise1_Description.md b/exercises/exercise1/Exercise1_Description.md new file mode 100644 index 0000000000000000000000000000000000000000..971ec7137b024fecf8ecb5cd5a3294fc429bb410 --- /dev/null +++ b/exercises/exercise1/Exercise1_Description.md @@ -0,0 +1,12 @@ +# Exercise 1: + +## Due Date: Friday, June 3, 2022 11:30 AM +## Objectives: To gain practice with our git workflow for distributiing course materials and submitting projects as well as write our first javascript code in the browser. + +## Specifications/Requirements +1. Everything you need to do is inside the `script tag` inside the `index.html` starter file we have provided you with. +2. You need to define to variables: firstName and lastName. You can initialize them to whatever values you choose. +3. You need to define a function named MyConcatenate that takes 2 parameters, first and last. It will return a string that will be equal to this: "Hello. My name is <first> <last>. +4. You will invoke this function with the values you defined for requirement 2 and print out the result to the console. +5. You will need to commit your changes and push them to your repository on the University Gitlab server. +__NOTE__ You may not declare your variables with the `var` keyword. You must also use the template literal syntax I covered in lecture. You may not concatenate strings. \ No newline at end of file diff --git a/exercises/exercise1/index.html b/exercises/exercise1/index.html new file mode 100644 index 0000000000000000000000000000000000000000..b5e8490c8474a733febee0a6491cbb8480a16992 --- /dev/null +++ b/exercises/exercise1/index.html @@ -0,0 +1,12 @@ +<!DOCTYPE html> +<html> +<body> + + + +<script> + +</script> + +</body> +</html> \ No newline at end of file