Landing : Athabascau University

Group members: this is the place for your learning diary. Use this to post your zipped-up site at least once each unit, and your reflections as often as you wish (at least once per unit). Please write your reflections directly in the post, not as attached files. Where you do need to attach documents, such as for unit 1 designs, use PDF, PNG or JPG formats. You can attach files using the 'Embed content' link in the editor.

QUICK COURSE LINKS:  Add blog post - Read latest group postsFAQs: Course process : Site design : HTML : CSS : JavaScript : JQuery : AJAX : MiscPodcasts for each unit

Updated resource pages:  Unit 1 - Unit 2  - Unit 3Units 4 & 5 - Unit 6 - Unit 7

Unit 4 and Learning Diary

  • Public
By Andrew Jackson in the group COMP 266 October 28, 2022 - 1:05pm

Code can be found:

https://landing.athabascau.ca/file/owner/andrewja25#15638742

Learning Diary:

In this unit I added the first bit of JavaScript code. The code that I used was for validating an email and phone number. I implemented it as part of my registering a vendor form to ensure that the information that they inputted is correct. This functionality related back to the scenario of a contractor trying to display their services. While simultaneously helping to reduce fake entries by sending an alert to the screen if it is either an invalid phone number or an invalid email. I found this section to relate very closely to what I experience as a developer as you rarely every write completely new code. Finding something that matches what you are trying to accomplish then modifying it to my specific needs help prepare much more for a professional work environment. The code which I took is stored in the takenCode.js and was originally found at //https://stackoverflow.com/questions/19646276/javascript-email-and-phone-validation.

Comments

These comments are moderated. Your comment will not be visible unless accepted by the content owner.

Only simple HTML formatting is allowed and any hyperlinks will be stripped away. If you need to include a URL then please simply type it so that users can copy and paste it if needed.

(Required)

(Required)