Project Interstellar Travel Adventures - Website Structure Lab Exercise
Introduction
Welcome to this engaging lab exercise in web development! In this project, you'll step into the role of a web designer for "Interstellar Travel Adventures," a fictional space tourism company offering economy-class galactic cruises to the western spiral arm of the Milky Way.
The website you'll build promotes tours to key destinations in our Sol System, including Mercury, Venus, Earth, Mars, Jupiter, Saturn, Uranus, Neptune, the Asteroid Belt, and even a nod to Pluto.
Each planetary page will highlight attractions, weather, seasons, eco-tourism opportunities, local commerce, culture, dining, leisure activities, and arts/entertainment— all with a fun, futuristic twist.
A word of caution from the client: Inexperienced travelers should steer clear of Earth, as locals there have a strange aversion to off-worlders (or as they call them, "space aliens")! This project is designed to be both educational and entertaining, helping you master the fundamentals of HTML structure while tying in CSS for styling and preparing the ground for JavaScript interactions.
For assignments, you cannot use AI to create code but you CAN use AI to generate images and narrative text such as descriptions of planets.
Learning Objectives
By the end of this lab, you will be able to:
Identify and implement two types of HTML nodes: content tags (e.g., h1-h6, p, img, table) and structural tags (e.g., section, div, article, aside) to organize web content semantically. Connect CSS styles and (future) JavaScript to DOM nodes using selectors like HTML tag names, IDs, and classes. Create hyperlinks between pages using the <a href> element for seamless navigation. Use common structural elements like <header>, <nav>, and <footer> to ensure consistent site-wide appearance and functionality. Lab Tasks
Create the Website Structure: Build a set of interconnected HTML pages starting with the home page (index.html) and individual destination pages (e.g., mercury.html, venus.html, etc.). Ensure each page uses semantic HTML elements to structure content logically. Incorporate Common Elements: Every page must include: A <header> with the site logo and main navigation. A <nav> section (inside the header) with links to all planetary pages. A <footer> with copyright and contact info. Additional elements like <article>, <section>, <aside>, <figure>, <figcaption>, and <main> for organizing content. Apply Styling with CSS: Link an external styles.css file to all pages (include it in the <head> of each HTML file). Use the provided CSS code as a starting point, which includes resets, body styling, header backgrounds (e.g., #003366 for a space-themed blue), navigation lists, and responsive main content. Customize as needed to enhance the interstellar theme. Home Page Details (index.html): Title: "Out of This World Tours: Solar System Edition." Include a sponsor section for "Quantum Fizz Cola" (the official energy drink for galactic explorers) with a blue background and border. They are paying for this campaign! Feature sections for each planet with humorous descriptions (e.g., Mercury's "hot spots" or Venus's "steamy nightlife") and hyperlinks to their respective pages. Mention the sponsor in each section for branding fun. Destination Pages: For each planet (and the Asteroid Belt/Pluto), create dedicated pages with sections on attractions, weather, eco-tourism, etc. Use classes like .planet or .sponsor for styling, and ensure navigation links highlight the active page (e.g., via .active class). Testing and Reflection: Test all hyperlinks and styling across pages. Submit a short reflection (1-2 paragraphs) on what you learned about HTML semantics and CSS selectors, plus any challenges faced. Resources
Provided CSS Sample: (Included in the PDF for copy-pasting—basic reset and styling for body, header, nav, main, section, and footer.) Image: Use the retro spaceship illustration from the PDF as a header or background element (download and insert via <img>). Tools: Edit in any code editor (e.g., VS Code). For AI assistance, upload to Google Drive and use Gemini to generate ideas, debug code, or suggest improvements. Reference: Review the full Coda document for exact HTML skeletons and examples. This project combines creativity with technical skills—think of it as your ticket to the stars! If you have questions, post in the discussion forum or email me. Can't wait to see your cosmic websites! 🚀