This page is the marking guide to your website that your tutor will use to find your elements. Do not name this page anything other than assignment.html (all lower case) or else we may not be able to find and mark your assignment elements. How to use this page:
Purrfect Companions: A Deep Dive into the World of Cats
Note: You will not be able to change this topic in the future.
Notes: I use Edge browser for development, and my screen resolution is 2560 x 1600.
Notes: None.
Notes: None.
Notes: None.
Notes: Add a Javascript to create a pop window when clicking on the "Submit Feedback" button.
Notes: None.
Notes: Both CTA sections are in my Home page.
Notes: None.
I am doing Javascript.
Notes: None.
Notes: The script.js contains two main functionalities: a feedback form submission alert that confirms user submissions, and a set of lightbox and slideshow controls for navigating photos in the gallery.
I also improved the design of the Feedback webpage based on the feedback from the Release 2.0.
Notes: For Feedback, mailSubmit() displays an alert message thanking the user for their feedback and informs them that they will receive a response soon.
For Photo Gallery,when a user clicks on a photo, the openbox() function displays the lightbox by changing the display style of an element. The closebox() function hides the lightbox when called. The plusSlides() and currentSlide() functions allow the user to navigate through the slides either by moving forward/backward or jumping directly to a specific slide, respectively. The showSlides() function is the core mechanism that updates the display of slides and their corresponding thumbnail indicators based on the current slide index.
Notes: None.
Notes: To switch to the dark mode theme, simply click the "Toggle Dark Mode" button located on the top right of the Home webpage. The Dark Mode button is fixed in the top right corner of the page, no matter how the page is scrolled, the button stays in this position and is not obscured by other elements on the page.
The dark mode theme changes the background color, theme color (from blue to pink), text color, font, button color, etc.
Notes: I chose to create Social Networking Feeds, which are located on the Home page.
Notes: All my website pages are checked by ChatGPT to ensure that they are accessible somewhat to a WCAG 2.1 AA standard and follow the requirements listed on the doc.
Notes: None of my website HTML files or CSS files have error.
1. Dark Mode using JS
Notes: The functions in the JavaScript file are to remember the user's choices so that even after refreshing the page, the site maintains the pattern set by the user.
2. Dropdown Menu
Notes: There is an dropdwon menu in the navigation bar "About Me & My Site" on every webpage.