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

adding exercise 1

parent 0a3889df
No related branches found
No related tags found
No related merge requests found
# 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
<!DOCTYPE html>
<html>
<body>
<script>
</script>
</body>
</html>
\ No newline at end of file
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