Landing : Athabascau University

Unit 5 - Code submission

  • Public
By Noureen K October 26, 2016 - 5:45pm

 Unit 5:

This was a great learning opportunity and I learnt quite a bit about integrating JavaScript into HTML. Although, I have had exposure to JavaScript through school I never really had an opportunity to implement it for use in real life.

My site has been updated to reflect the changes here: http://student.athabascau.ca/~noureenkh/comp266

Following is the JS file attached: registration.zip 

Resources used to learn JavaScript

Following were the resources I used to learn JavaScript implementation in HTML:

Form Validation functionality:

It was important for me to add a form validation onto my website as it would save the administration a lot of time in attempting to reach back parents to verify incorrectly entered form details. I was able to add it on the ‘Why us?’ section under ‘About us?’ with the rationale that new parents visiting the school website would fill out the form  and cut down their registration time.

I began the task by doing plenty of research as I needed to know what’s currently ‘in’. After visiting a number of school websites and testing their form /contact us form capacity, I was clear on my requirements. I also went through a few different formats to find a possible fit for my design space on the website

 Obstacles faced and were overcome

The biggest obstacle I faced was debugging. It was difficult because there wasn’t much assistance available and constantly refreshing after correcting errors was tedious. I ended up removing the JavaScript code and debugging it via notepad++ console.  Although some of the synthax errors were ambiguous, I was able to google and go from there. I also do not have much experience with validation and have only attempted it in VB with the assistance of error handlers.

I researched quite a bit into form validation and form there usually were quite a few ways to get a task completed.

Persona:

I was able to code in plenty of self explanatory alerts and remarks into my form validation. This would greatly save my persona’s time  and make it easier to send through an enquiry. It would also make it easier for the school administrator to contact the parents in a timelier manner as the validation makes sure the form details are appropriately entered.

 

 

Done different next time:

I would definitely give myself more time as debugging is labor and time intensive and can never be rushed.

 

Thanks,

Noureen K