This page is to showcase some front-end components I've made. All of these are built by me using only JavaScript and jQuery. Some of them are based on components I made when on the job, while others are personal projects.
These components are responsive as well! Try viewing them in mobile view and in dark mode.
You may have noticed that there are two toggle buttons below the navigation at the top of the page. The first will change the page from day to night mode, for a darker theme that is easier on the eyes. The other will turn off animation effects for the text for those who are bothered by too much motion. Try them out on the other site pages!
In addition, all components on this website are responsive, apart from the LCD game. Try viewing this site on a mobile device or resizing the window to see how responsive design affects the page.
In addition, all components on this website are responsive, apart from the LCD game. Try viewing this site on a larger screen to see how responsive design affects the page.
LCD-style game
This is a small game made in pure JavaScript, based off of LCD screen games of the past. Click the left and right buttons to move the boat and catch the falling parachuters. Catching one will increase your score, and missing three will end the game. The game becomes progressively faster the more parachuters you save. The font used is Digital 7 by Style-7.
Product cards
Order successful
You have successfully ordered Dinner
Breakfast
Click the button below to "order" a product. This will display a modal window. These images are from Wikimedia Commons under a Creative Commons license.
$10.99
Lunch
These product cards are responsive. Try resizing the window or viewing on a mobile device to see changes in layout.
$14.99
Dinner
This "card" style layout is based on similar components on bell.ca. Packages for TV and Internet come in a similar, easy to understand layout.
$19.99
Collapsible sections
Click on or use tab and enter to expand these sections.
Collapsible sections are a design pattern used on many websites. Sections of the page are initially hidden and are made to be shown by clicking on a link which expands the content. Clicking again collapses the content, hence the name.
This type of component is easy to make with a small bit of JavaScript. Despite this, there is no consistent implemention of collapsible sections across all web browsers, so how they are implemented is dependent on the website developer.
Yes, this type of component can be made to be navigable using the keyboard. Content is shown and hidden to screen readers accordingly, and the aria expanded property is updated.