Skip to content

Commit 7df5e13

Browse files
Merge pull request #7 from StructuralWizard/include-day1
Day 4 finished
2 parents e6ed23b + fb9e3cf commit 7df5e13

File tree

12 files changed

+152
-21
lines changed

12 files changed

+152
-21
lines changed

docs/Day3/index.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ has_children: false
66
nav_exclude: false
77
---
88

9-
# Day 3. Python Advance. 🌐 Hack your Stocks, Flights and Habits<a href="#top" class="back-to-top-link" aria-label="Back to Top">↑</a>
9+
# Day 3. Python Advance. 🌐 Hack your Stocks, Flights and Habits
1010
{: .no_toc }
1111
🚀 In this lesson, you’ll unlock the power of APIs, automation, and data tracking to master real-world Python skills. From monitoring markets to finding flight deals and optimizing your routines—prepare to code smarter and live better. 🌐💡
1212

docs/Day4/Colour palettes.png

1.56 MB
Loading

docs/Day4/analogous-wheel.jpg

172 KB
Loading

docs/Day4/cadbury.png

1.61 MB
Loading

docs/Day4/cocacola.png

415 KB
Loading

docs/Day4/complimentary-wheel.jpg

141 KB
Loading

docs/Day4/index.md

Lines changed: 151 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ has_children: false
66
nav_exclude: false
77
---
88

9-
# Day 4. Web Foundations: HTML, CSS, Bootstrap & Web Design<a href="#top" class="back-to-top-link" aria-label="Back to Top">↑</a>
9+
# Day 4. Web Foundations: HTML, CSS, Bootstrap & Web Design
1010
{: .no_toc }
1111

1212
Welcome to Day 4! Today, you’ll build a solid foundation in web development by learning how the internet works, the essentials of HTML and CSS, and how to use Bootstrap for rapid, beautiful web design. We’ll also cover the basics of web design theory to help you create websites people will love.
@@ -207,6 +207,7 @@ The <div> HTML element is a generic container for flow content. It's a "division
207207

208208
This can be visualised in [W3Schools html web testing](https://www.w3schools.com/html/tryit.asp?filename=tryhtml_basic)
209209

210+
{% raw %}
210211
```html
211212
<!DOCTYPE html>
212213
<html lang="en">
@@ -595,6 +596,7 @@ This can be visualised in [W3Schools html web testing](https://www.w3schools.com
595596
</body>
596597
</html>
597598
```
599+
{% endraw %}
598600

599601
</details>
600602

@@ -604,6 +606,7 @@ This can be visualised in [W3Schools html web testing](https://www.w3schools.com
604606
</summary>
605607
You can use F12 or right click inspect to see the html code for each element.
606608

609+
{% raw %}
607610
```
608611
<html lang="en">
609612
<head>
@@ -991,6 +994,7 @@ You can use F12 or right click inspect to see the html code for each element.
991994
</body>
992995
</html>
993996
```
997+
{% endraw %}
994998

995999
</details>
9961000

@@ -1741,6 +1745,7 @@ You can visualise this code in [W3Schools html web testing](https://www.w3school
17411745
Bootstrap template Rendered
17421746
</summary>
17431747

1748+
```
17441749
<html lang="en">
17451750
<head>
17461751
<meta charset="UTF-8">
@@ -2070,41 +2075,168 @@ You can visualise this code in [W3Schools html web testing](https://www.w3school
20702075
<script src="https://cdn.jsdelivr.net/npm/[email protected]/dist/js/bootstrap.bundle.min.js" xintegrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
20712076
</body>
20722077
</html>
2078+
```
20732079

20742080
</details>
20752081

20762082

2083+
### Markdown, Jekyll and Ruby<a href="#top" class="back-to-top-link" aria-label="Back to Top">↑</a>
2084+
2085+
#### What is Markdown?
2086+
2087+
Markdown is a lightweight markup language for formatting text using plain text syntax. It's designed to be easy to read and write, and is widely used for documentation, README files, and static site generators.
2088+
2089+
**Basic Markdown Syntax:**
2090+
- Headings: `# Heading 1`, `## Heading 2`, ..., up to `###### Heading 6`
2091+
- Bold: `**bold text**` or `__bold text__`
2092+
- Italic: `*italic text*` or `_italic text_`
2093+
- Lists:
2094+
- Unordered: `- item` or `* item`
2095+
- Ordered: `1. item`
2096+
- Links: `[link text](https://example.com)`
2097+
- Images: `![alt text](image-url)`
2098+
- Code:
2099+
- Inline: `` `code` ``
2100+
- Block:
2101+
```
2102+
code block
2103+
```
2104+
- Blockquote: `> quoted text`
2105+
2106+
**Differences with HTML:**
2107+
- Markdown is simpler and more readable in raw form.
2108+
- HTML is more powerful and flexible, but more verbose.
2109+
- Markdown can be converted to HTML, but not all HTML features are available in Markdown.
2110+
2111+
For a full reference, see [Markdown Guide](https://www.markdownguide.org/basic-syntax/).
2112+
2113+
#### Jekyll and Ruby
2114+
2115+
[Jekyll](https://jekyllrb.com/) is a static site generator that converts Markdown files into HTML websites. It is the engine behind GitHub Pages, allowing you to publish documentation or blogs directly from a GitHub repository for free. Jekyll is written in the Ruby programming language.
2116+
2117+
#### This Website
2118+
2119+
This website is built using the [just-the-docs](https://just-the-docs.github.io/) theme, which is a Jekyll-based theme designed for documentation sites.
2120+
2121+
2122+
2123+
20772124
---
20782125
20792126
## 🎨 Web Design School: How to Create a Website People Will Love<a href="#top" class="back-to-top-link" aria-label="Back to Top">↑</a>
20802127
20812128
### Introduction to Web Design<a href="#top" class="back-to-top-link" aria-label="Back to Top">↑</a>
20822129
2083-
Web design is about more than code—it’s about creating a great experience.
2130+
Web design is about more than just writing clean code—it’s about crafting a visual and emotional experience that speaks to your users. A successful design invites people in, tells a story, and guides them effortlessly toward a goal. In this guide, we explore the four pillars of effective web design: **Color Theory, Typography, User Interface (UI), and User Experience (UX)**. Once you've mastered these, you'll be equipped to create beautiful, human-centered websites.
20842131
2085-
#### Understanding Color Theory<a href="#top" class="back-to-top-link" aria-label="Back to Top">↑</a>
2132+
---
20862133
2087-
- Use a consistent color palette.
2088-
- Use contrast for readability.
2089-
- Tools: [Coolors](https://coolors.co/), [Adobe Color](https://color.adobe.com/)
2134+
### 🎨 Understanding Color Theory<a href="#top" class="back-to-top-link" aria-label="Back to Top">↑</a>
2135+
2136+
Color isn't just decoration—it conveys meaning, influences mood, and can even affect behavior. Here are key principles:
2137+
2138+
- **Consistency is key**: Avoid clashing colors. Instead, choose palettes that align with your brand and message.
2139+
- **Tell a story with color**:
2140+
- 🔴**Red**: passion, energy, urgency—great for action-driven brands.
2141+
> *Example:* <a href="https://www.coca-cola.com/" target="_blank">Coca-Cola</a>
2142+
<img src="cocacola.png" alt="cocacola thumbnail" width="50%" style="display: block; margin: auto;">
2143+
> *Why it works:* Coca-Cola’s brand is all about excitement, fun, and refreshment. The bold red color sparks energy and urgency, making it feel dynamic and iconic.
2144+
- 🟡**Yellow**: optimism, intellect, attention—effective for grabbing interest but avoid using it for large backgrounds.
2145+
> *Example:* <a href="https://www.mcdonalds.com/" target="_blank">McDonald’s</a>
2146+
<img src="mcdonalds.png" alt="mcdonalds thumbnail" width="50%" style="display: block; margin: auto;">
2147+
> *Why it works:* McDonald's uses yellow to grab attention and convey a sense of happiness and friendliness. It’s especially effective in logos and accents, not overwhelming the background.
2148+
- 🟢 **Green**: freshness, safety—ideal for eco or food-related businesses.
2149+
> *Example:* <a href="https://www.wholefoodsmarket.com/" target="_blank">Whole Foods Market</a>
2150+
<img src="wholefoods.png" alt="wholefoods thumbnail" width="50%" style="display: block; margin: auto;">
2151+
> *Why it works:* Whole Foods emphasizes health, nature, and sustainability. Green reinforces their commitment to fresh, organic food and environmentally conscious practices.
2152+
- 🔵 **Blue**: trust, calm—popular with finance and tech firms.
2153+
> *Example:* <a href="https://www.paypal.com/" target="_blank">PayPal</a>
2154+
<img src="paypal.png" alt="paypal thumbnail" width="50%" style="display: block; margin: auto;">
2155+
> *Why it works:* Blue is the dominant color in PayPal’s design, evoking trust, security, and professionalism—critical for a financial service provider.
2156+
- 🟣 **Purple**: royalty, femininity—often used in luxury and beauty products.
2157+
> *Example:* <a href="https://www.cadbury.co.uk/" target="_blank">Cadbury</a>
2158+
<img src="cadbury.png" alt="cadbury thumbnail" width="50%" style="display: block; margin: auto;">
2159+
> *Why it works:* Cadbury uses a rich purple to reflect luxury and indulgence. The color also helps distinguish its products and adds a sense of premium quality.
2160+
2161+
- **Use scientific palettes**:
2162+
- **Analogous**: harmonious, side-by-side colors on the color wheel.
2163+
<img src="analogous-wheel.jpg" alt="analogous palettes" width="30%" style="display: block; margin: auto;">
2164+
- **Complementary**: opposite on the wheel—eye-catching, but best for accents, not text.
2165+
<img src="complimentary-wheel.jpg" alt="complimentary palettes" width="30%" style="display: block; margin: auto;">
2166+
- **Triadic and Square palettes**: well-balanced and vibrant.
2167+
<div style="display: flex; justify-content: center; gap: 20px;">
2168+
<img src="triangular-wheel.jpg" alt="triangular palettes" width="30%">
2169+
<img src="rectangular-wheel.jpg" alt="rectangular palettes" width="30%">
2170+
</div>
20902171
2091-
#### Understanding Typography<a href="#top" class="back-to-top-link" aria-label="Back to Top">↑</a>
20922172
2093-
- Choose readable fonts.
2094-
- Limit the number of font families.
2095-
- Use font size and weight for hierarchy.
20962173
2097-
#### Managing Attention with UI Design<a href="#top" class="back-to-top-link" aria-label="Back to Top">↑</a>
2174+
- **Use professional tools**:
2175+
- <a href="https://color.adobe.com/" target="_blank">Adobe Color</a>: for creating colour themes and transfer into content
2176+
- <a href="https://coolors.co/" target="_blank">Coolors</a>: preset colour palets
2177+
- <a href="https://colorhunt.co" target="_blank">Color Hunt</a>: preset colour palets
20982178
2099-
- Use whitespace to separate content.
2100-
- Highlight important actions (buttons, links).
2101-
- Guide the user’s eye with layout and color.
2179+
Choose color combinations that reflect your website’s purpose. A good palette makes your design feel intentional, coherent, and memorable.
21022180
2103-
#### User Experience (UX) Design<a href="#top" class="back-to-top-link" aria-label="Back to Top">↑</a>
2181+
---
2182+
2183+
### ✍️ Understanding Typography<a href="#top" class="back-to-top-link" aria-label="Back to Top">↑</a>
2184+
2185+
Typography guides the reader’s journey. Great typography brings clarity and mood to your content.
2186+
2187+
- **Choose readable fonts**: Prioritize legibility across all screen sizes.
2188+
- **Limit to 2–3 font families**: Too many can overwhelm and distract.
2189+
- <strong>Serif fonts</strong> (like <span style="font-family: 'Georgia', serif;">Georgia</span> or <span style="font-family: 'Times New Roman', serif;">Times New Roman</span>) have small decorative strokes, or "feet," at the ends of their letterforms, giving them a traditional and elegant feel often used in print.<br>
2190+
- <strong>Sans-serif fonts</strong> (like Arial) lack these decorative strokes, offering a clean, modern, and minimalist look that is highly legible, especially on digital screens.<br>
2191+
- The choice between them often depends on the medium (print vs. digital) and the desired mood (classic vs. modern).
2192+
- **Establish hierarchy**:
2193+
- Use size, weight (bold vs. regular), and spacing to indicate importance.
2194+
- Pair serif fonts (<span style="font-family: 'Georgia', serif;">classic, established</span>) with sans-serif (modern, clean) for contrast.
2195+
- **Consider your brand tone**: A <span style="font-family: 'Times New Roman', serif;">serif font</span> conveys tradition, while a bold sans-serif feels tech-forward. Use script for more <span style="font-family: 'Dancing Script', cursive;">personal</span> or <span style="font-family: 'Great Vibes', cursive;">elegant</span>.
2196+
2197+
Design is communication—your font choices should help users absorb your message, not fight against it.
2198+
2199+
---
2200+
2201+
### 👁️ Managing Attention with UI Design<a href="#top" class="back-to-top-link" aria-label="Back to Top">↑</a>
2202+
2203+
Your users don’t read—they scan. UI design is about guiding their attention where it matters most.
2204+
2205+
#### ✅ Hierarchy
2206+
- Bigger and bolder elements get noticed first.
2207+
- Use **color contrast** and **<span style="font-size: larger;">size</span>** to show what matters—like a green "Buy Now" button on a grayscale layout.
2208+
2209+
#### 🧱 Layout
2210+
- Break up text blocks with images and whitespace.
2211+
- Ideal line length: **40–60 characters** for easy reading.
2212+
- Avoid overwhelming walls of text like those found on Wikipedia.
2213+
2214+
#### 📐 Alignment
2215+
- Align elements to create structure.
2216+
- Reduce the number of alignment points—uniformity makes your layout feel more professional.
2217+
2218+
#### 🌌 White Space
2219+
- Emptiness adds elegance. High-end designs (think Apple) use white space to suggest value and clarity.
2220+
- Don’t cram your content—let each element breathe.
2221+
2222+
#### 🧑‍🎨 Design for Your Audience
2223+
- A kids’ website should look different from a fintech site.
2224+
- Match color, layout, and font to your user’s expectations and desires.
2225+
2226+
When UI is done right, users won’t even notice it—they’ll just glide through your site happily.
2227+
2228+
---
2229+
2230+
### 💡 User Experience (UX) Design<a href="#top" class="back-to-top-link" aria-label="Back to Top">↑</a>
2231+
2232+
UX is about **empathy**—designing with your user’s journey in mind. Ask yourself: Can users find what they need easily? Can they interact comfortably on all devices?
2233+
2234+
- **Make navigation intuitive**: Use familiar patterns like top navbars or hamburger menus.
2235+
- **Responsive design**: Your website should look great on phones, tablets, and desktops.
2236+
- **Test early and often**: Get feedback from real users. Watch how they interact, and iterate based on their behavior—not your assumptions.
2237+
2238+
Think of UX as invisible scaffolding—it’s not glamorous, but it holds your entire design together
21042239
2105-
- Make navigation intuitive.
2106-
- Ensure your site is responsive (works on all devices).
2107-
- Test with real users and iterate.
21082240
21092241
---
21102242
@@ -2117,5 +2249,4 @@ Today you learned:
21172249
- How to use Bootstrap for fast, responsive design
21182250
- Key web design principles for beautiful, user-friendly sites
21192251
2120-
**Next Steps:** Try building a simple web page using HTML, style it with CSS, and experiment with Bootstrap components!
2121-
2252+
**Next Steps:** Try building a simple web page using HTML, style it with CSS, and experiment with Bootstrap components! You can speed up your design by using <a href="https://www.canva.com/" target="_blank">Canva</a> which alows you to design a website in your browser, publish it and then you can see its code.

docs/Day4/mcdonalds.png

261 KB
Loading

docs/Day4/paypal.png

141 KB
Loading

docs/Day4/rectangular-wheel.jpg

165 KB
Loading

0 commit comments

Comments
 (0)