• Wrong document? Swap it for free
  • Written by students who passed
  • Immediately available after payment
  • Read online or as PDF
Sell
Where do you study
Your language
Document preview thumbnail
Preview 1 out of 1 pages
Exam (elaborations)

WGU D277 UCM2 Task 2: Front-End Web Development | Complete Texas Website, HTML, CSS, JavaScript & Source Code | 2026/2027 Updated

Document preview thumbnail
Preview 1 out of 1 pages

WGU D277 UCM2 Task 2: Front-End Web Development | Complete Texas Website, HTML, CSS, JavaScript & Source Code | 2026/2027 Updated

Content preview

WGU D277 UCM2 Task 2 ENHANCED: Front-End Web Development |
Complete Texas Website + SOME MORE | HTML, CSS, JavaScript, Extra
Cities, Dark Mode, Carousel, LocalStorage | 2026/2027 Updated


A. ENHANCED Overview - What is SOME MORE?
Original Task 2 required 5 pages, CSS, JS email match. This ENHANCED version includes SOME MORE per your
request: 2 extra city pages (San Antonio - Alamo City UNESCO World Heritage, Fort Worth - Cowtown Stockyards),
advanced JS features (Dark Mode toggle with localStorage, Image Carousel auto-play 5s with prev/next, Visit
Counter, Texas Facts Rotation 8 facts, Form LocalStorage save), enhanced CSS (dark mode variables [data-theme],
card hover lift, animations, carousel styles), improved responsive, README, and project docs. All core requirements
still met plus extra credit features.


B. Enhanced File Structure - 7 HTML Pages
index.html (Home Enhanced with carousel, dark mode toggle, visit counter, facts rotation, 7 nav links), austin.html
(Capital enhanced), houston.html, dallas.html, sanantonio.html NEW, fortworth.html NEW, contact.html (enhanced
with localStorage + extra validations), css/style.css (enhanced with dark mode, carousel, animations, hover),
js/script.js (enhanced with 6 features), images/ (7 images needed), README.md (detailed).


C. Core Requirement Still Met - Email Match Validation
Code: const email = document.getElementById('email').value.trim(); const confirmEmail =
document.getElementById('confirmEmail').value.trim(); if(email !== confirmEmail){ e.preventDefault(); alert('Email
addresses do not match...'); border red; focus(); return false; } This is in contactForm submit listener per WGU rubric.
Extra: Also validates @ and ., firstName length >=2, saves to localStorage, clears on success.


D. SOME MORE Features Detailed
1. Dark Mode Toggle: Button #themeToggle top-left, text ■ Dark Mode / ■■ Light Mode, click toggles
document.documentElement data-theme dark/light, saves to localStorage texasTheme, CSS variables --bg --card-bg
--text switch. 2. Carousel: .carousel with .carousel-track display flex, slides min-width 100%, prev/next buttons
absolute positioned, JS updates transform translateX(-index*100%), auto-play setInterval 5s, 4 slides Texas
experiences. 3. LocalStorage Form: On input saves firstName and email to texasFormData JSON, on load parses
and fills fields, on submit success removes. 4. Visit Counter: localStorage texasVisits increments each load, displays
in #visitCounter 'You have visited this Texas site X time(s)'. 5. Texas Facts Rotation: Array 8 facts, initial display,
setInterval 4s with opacity fade 0.3s, updates text. 6. Hover Effects: Cards translateY(-5px) box-shadow increase,
buttons lift, capital links gold highlight on mouseenter. 7. Extra Cities: San Antonio table 1718 oldest city, UNESCO,
River Walk 2.5 miles 14M visitors, attractions grid 3 cards, ordered list 3 steps. Fort Worth 1849 fort, Cowtown,
Stockyards twice-daily cattle drive, Kimbell Museum, Sundance Square.


E. How to Submit Enhanced
1. Download both ZIPs: Original and Enhanced. Submit Enhanced as main. 2. Add 7 royalty-free images to images/.
3. Open index.html test navigation 7 pages, test dark mode toggle, carousel buttons and auto-play, Texas facts
rotation, visit counter increments on reload, contact form mismatch alert red border, match success. 4. Screenshots:
Email mismatch alert, Dark mode on, Carousel slide, Responsive mobile nav stacked, Visit counter. 5. Include
README.md and this PDF as documentation mentioning SOME MORE enhancements. Sources in footer.

Document information

Uploaded on
November 2, 2026
Number of pages
1
Written in
2026/2027
Type
Exam (elaborations)
Contains
Questions & answers
$15.99

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Seller avatar
Reputation scores are based on the amount of documents a seller has sold for a fee and the reviews they have received for those documents. There are three levels: Bronze, Silver and Gold. The better the reputation, the more your can rely on the quality of the sellers work.
GradeAchiver
3.5
(11)
Sold
68
Followers
3
Items
7841
Last sold
2 days ago



Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions