/candy-cocoa

Responsive landing pages made with Bootstrap

Primary LanguageHTML

previous 100 days of code next

Candy and Cocoa


Candy and Cocoa

Table of Contents


#100DaysOfCode

Day 39: December 29, 2022


Installation

1. Git clone and cd into the repo folder:

git clone git@github.com:emjose/candy-cocoa.git && cd candy-cocoa

2. Run the command:

open index.html

Live Site

Live Site


Candy and Cocoa is responsive and can be viewed in mobile devices or computers.

Candy and Cocoa is keyboard-navigable and is a progressive web app.

Click below to expand GIFs

Please pardon any delay in the loading of GIFs. Thank you for your patience.


GIF demo: Candy Theme

Live Site

The candy theme has a pink / red / pastel color scheme, with a fixed navbar as a user scrolls.

GIF demo: Switching Themes

Live Site

Users can toggle between candy and cocoa themes with the switch link in the navbar.

GIF demo: Cocoa Theme

Live Site

The cocoa theme has a darker color scheme, with copy and media switching to cocoa references.

GIF demo: Modal Box

Live Site

Users can view the footer's modal box of acknowledgments and image credits.

GIF demo: Responsiveness

Live Site

On mobile devices and smaller screens, the navbar collapses into a hamburger menu button.


Improvement

There are several areas for improvement for the Candy and Cocoa website:

  • Adding more content, media, and copy can enhance the user experience.

  • While the website is scrolled, the navbar's background color does not always appear when the user switches modes or refreshes the page. For consistency, it would be ideal to maintain the navbar's background color.

  • To improve responsiveness, editing the typography or swapping the hero images on smaller devices should be considered to ensure that the navigation links remain legible over the hero image.

  • The repeating "Museum of" headlines at the top of the website are decorative and are hidden from the accessibility API using the aria-hidden="true" attribute. However, Chrome DevTools flags these headlines for lack of color contrast. Further investigation and style editing is needed to improve accessibility for users who rely on assistive technologies.


Resources


Copyright


Let's Connect!

Twitter badge Linkedin badge Medium badge Instagram badge Gmail badge Portfolio badge Github badge

Back to Top