General Instructions
Use your site on the Lourdes DMS Domain to submit your files. Transfer your code files to the server, and then submit the URL of the specific page to the Assignments tool in Canvas.
Assignment Instructions
Create a code page that...
- demonstrates correct initialization and use of variables
- demonstrates use of the Math.random() object method to generate a random number between 1 and 1000
- demonstrates use of at least one other Math object method that was not covered in the tutorials for this module
- demonstrates locating the start index of a specific substring in a string variable
- demonstrates extracting a substring from a string variable based on a located start index
- demonstrates use of at least one other string handling method that was not explicitly covered in the tutorials for this module
For this assignment...
- you may use the starter template
The starter template includes 2 button triggers and 2 functions. You can use 1 for numeric values and one for string values. Feel free to add any additional components to the file.
- you may not copy code
Evaluation Criteria
To successfully complete this assignment, your page must
- demonstrate assigning values to variables
- demonstrate using methods of the Math object in JavaScript
- demonstrate using string handling methods in JavaScript
- demonstrate learning new skills
- be free of coding errors