HOME Learning Protfolio
Architecture

Module 4

Module Four: JavaScript

JavaScript ("JS") is a high-level, dynamic, untyped, and interpreted run-time language. It has been standardized in the ECMAScript language specification. It is one of the three core technologies of the World Wide Web production; the majority of websites employ it, and all modern web browsers support it without the use of plug-ins.

JavaScript is a high-level, dynamic, untyped, and interpreted programming language; it contains API for working with text, arrays, dates and regular expressions. On of its unique flaws is it does not include any I/O, such as storage, graphic facilities, networking; therefore relying on these upon the host environment in which is embedded.

I know Java and JavaScript are two completely distinct languages that differ in their design because I took the course that was focusing on Java language before.

In module four, I would say JavaScript Codecademy tutorial was the best assignment I loved to practice on. I learned lessons about JavaScript from two assignments which were Codecademy and W3Schools. I was enjoying with this module four because Codecademy and W3Schools were my favortie sourses to practice. The assignment tutorial introducted me to programming JavaScript and using functions within JavaScript I knew nothing about other than HTML&CSS, PHP, and MySQL. The tutorial helped my learning process because it was an easy way to test myself and my knowledge. If my code was not running correctlu, a hint was always available to help me to understand why I did wrong. I practiced the JavaScript code on Codeacdemy enough to improve my knowledge better on JavaScript. Below is an example of my practice on Codecademy.

Functions of the JavaScript: The below is the example of the game "rock, paper, scissors!" The user inputs an answer and the computer randomly picks an answer using "Math.random();". If both the user and computer pick the same answer, the game then asks the user for another answer.