This unit is about witting JavaScript in the website. After running through many ideas in my head, I decided to add these three features in my web:
Since the previous version(unit4) Only can detect if the user entered something or not. I decide to let the program detect other things: For names, The user can only enter standard alphabet letters, all over special characters will be warned. Phone number can only take numbers. And there is also a “badword” Detector at the input section.
Once the user click the button under the “stocks” page. The code will calculate a random number and added to its initial values, and a for loop is used so the number will be changed multiple times and added to previous itself. Thus the user can experience how volatile the stock market is
From this website: https://code-boxx.com/simple-vanilla-javascript-shopping-cart/ I learned how a shopping cart works. With modifications, I turned this cart to a shopping cart that allows the user to save the product they want to purchase.
The Landing is a social site for Athabasca University staff, students and invited guests. It is a space where they can share, communicate and connect with anyone or everyone.
Unless you are logged in, you will only be able to see the fraction of posts on the site that have been made public. Right now you are not logged in.
If you have an Athabasca University login ID, use your standard username and password to access this site.
We welcome comments on public posts from members of the public. Please note, however, that all comments made on public posts must be moderated by their owners before they become visible on the site. The owner of the post (and no one else) has to do that.
If you want the full range of features and you have a login ID, log in using the links at the top of the page or at https://landing.athabascau.ca/login (logins are secure and encrypted)
Posts made here are the responsibility of their owners and may not reflect the views of Athabasca University.