Deep Dive — What We Learned & How We Used It

Technical explanations, code examples, and creative choices.

Our Learning Story

We started with curiosity: a single lesson on what HTML tags look like. Over weeks we practiced creating headings, writing paragraphs, inserting images, and crafting small layouts. As assignments grew, we learned to structure pages with semantic tags (<header>, <main>, <footer>), style elements using <style> or external CSS, and make pages interactive with forms and media.

Here we explain the most important elements we used — with sample code and reasons why they matter.

HTML Elements & Why We Use Them

<img src="khyra.jpg" alt="Khyra smiling in graduation outfit" width="180">

We put images inside cards, gave them rounded borders, and added captions to describe what they show.

Links & Navigation (<a>) — expand to see examples

Links connect pages, external resources, or open email apps. Example: <a href="about.html">About</a>. For emails we use mailto (this opens Gmail / default mail client on click):

<a href="mailto:khyragomz@gmail.com">Email Khyra</a>

Lists are used to group items: ordered lists (<ol>) for steps and unordered lists (<ul>) for bullet points.

Tables are for structured data (timetables, quick comparisons). We styled tables to be readable and accessible.

<table> ... </table>

Design & CSS Techniques

Design is about readability and emotion. For this project we experimented with:

Sample CSS snippet we used for card hover effect:

.card { transition: transform .45s, box-shadow .45s; }
.card:hover { transform: translateY(-8px); box-shadow: 0 30px 60px rgba(0,0,0,.28); }

We also learned responsive basics with simple media queries to make pages look good on phones.

Forms & User Interaction

Forms let visitors send us messages. Our project uses a simple form (no backend) to show that we know how to build input controls:

<form>
  <label>Name:</label>
  <input type="text" name="name" required>
  <button type="submit">Send</button>
</form>

We added validation attributes (like required) and proper labels so screen readers can understand the form fields.

Quick Reference Table

Common tags we used (short description)
TagPurpose
<header>Top area (site title, nav)
<nav>Navigation links between pages
<main>Main content of the page
<footer>Site credits, contact notes

Extras — Media & Embedded Content

We also learned to embed media:

Sample embed code
<iframe src="https://www.wikipedia.org" width="560" height="315"></iframe>

We used comments (like <!-- note -->) in our code to explain parts to future readers — that’s important in teamwork.