Landing : Athabascau University

Unit 5 - Addendum

  • Public
By Jasmin Gallant in the group COMP 266 September 4, 2019 - 5:18pm

I have made modification before and during Unit 6 on my JavaScript code an added 2 games related to my website theme. It uses a game of dice and a game of rock paper scissors to create a promo code for the user to use on companies products that the website will review.

 I used pure JavaScript. I realize that, in unit 5 I jumped into the coding right away without enough knowledge of the syntax. Having knowledge of Java doesn't determine competency in JavaScript syntax. 

 After thorough studies into the w3schools website and some JavaScript documentation I was able to implement 2 games using only JavaScript. I also took the opportunity to clean up my code there were div container inside div bodies that were unnecessary. 

 I also took the time to comment my code as much as possible and restructured the code in a way that it will be better suited for future maintenance. It was necessary as I will implement new features later and wish to be able to easily read the code and understand what is where.

 It is imperative to learn the syntax well, even if you have previous experience in programming. Do not let your pride confuse you as I did. 

 Well, now I feel better about my website.

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)


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 : Misc