For this lab, you continue to work with the material you created for Lab 3.
Note: If you did not complete Lab 3. See the Lab 3 Handout for instructions on the requirements of that lab
– You will be modifying your work from Lab 3 to implement the following:
(a) Arrow Functions, these should be used throughout your code to replace the function expression syntax that
was previously used, and should be used where suitable (See Lab 4 Slides).
(
b) Destructing Assignment, should be used to increase the readability of your code (e.g., handling user details
obtained from a registration form, handle an array of error message).
(c) Error Handling Techniques, should be used in order to make your code much safer (e.g., using try catch
blocks to catch any errors where needed).
Note: Remember, you must make use of arrow functions, destructing assignment and error handling while doing
this assignment. Also, the usage of built-in functions is allowed for this assignment.
– You may choose to use any JavaScript built-in functions for this lab.
– In regards to the look-and-feel of your assignment, you have complete creative freedom for this lab. You are
encouraged to work towards an aesthetically pleasing website that applies the design and development principles you
have learned thus far in your academic and/or web development career. You may use Creative Commons images and/
or logos with proper author attribution (provided through code comments, and/or README.txt or
README.md file).
Note: Do keep in mind that as part of this lab, you are expected to work individually, you may discuss
ideas with your classmates, but do refrain from sharing any code.


0 comments