For this unit I studied implementation of JavaScript code from html tags. Using lessons and tutorials on some of the JavaScript sites provided by Athabasca I have managed to dive into this scripting language to make a web gallery of my website.
The JavaScript code that I found was written by The WebShala. I decided to use it because I want my projects to be displayed as a carousel. Although the code was long, I think it is good because it works as intended. However, one thing I would change is the readability of the code because there are barely any spaces. For example,
for(let i=0; i<responsive.length;i++){has no spaces between operators so I changed it so that it would be more readable by adding spaces. Another thing that I changed is the number of projects to be shown. I changed the items from 4 to 3 because I only want 3 to show, but the original code showed 4 projects per slide.
One major takeaway from unit 4 is utilizing variables and functions effectively in scripting languages may vary from procedural or functional programming languages.
Responsive Thumbnail Slider using by Html Css Javascript. (2019, August 31). YouTube. https://www.youtube.com/watch?v=Gi4CTYOs7J4
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.