Skip to content
Snippets Groups Projects
Commit 6a64fc61 authored by Andrej Rasevic's avatar Andrej Rasevic
Browse files

Update exercises/exercise1/Exercise1_Description.md

parent 43112175
No related branches found
No related tags found
1 merge request!1Update exercises/exercise1/Exercise1_Description.md
......@@ -5,8 +5,8 @@
## 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.
2. You need to define two 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
__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.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment