-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAssessment 2
More file actions
23 lines (16 loc) · 824 Bytes
/
Assessment 2
File metadata and controls
23 lines (16 loc) · 824 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
Assessment 2: Write a function to return a value (25%)
Due: June 11th, 2019
Students will have to write a function to accept a parameter, and return
a value based on the contents of the parameter sent in.
Instructions
Using an HTML file, use the <script> block at the top of the page to write a
function that will evaluate the incoming parameter and return a different value
based on that parameter.
Please refer to the rubric at the end of this document for evaluation details.
Requirements
• Function and variables should be named something meaningful
• The evaluation of the parameter coming in and its resulting value should make
sense
• Receive the returned value on a line of JavaScript outside of the function
Submission
• Upload to D2L Dropbox folder labeled “Assessment 2: Write a Function”