BinaryTree
BinaryTree
Digital Literacy Program
Digital Literacy and Digital Entrepreneurship
BinaryTree
Week 4
Good vs. Bad Websites & Web Dev
Overview
First Impressions Count
Good vs. Bad Websites
Good Website
Easy navigation that makes sense. Pages load fast (under 2 seconds). Works on phones and computers. Clear buttons that tell users what to do.
Bad Website
Too much info crammed on one page. Broken links and outdated content. Doesn't work on mobile. Hard to find what you're looking for.
User Experience (UX) Basics
UX is how people feel when using your website. Good UX = intuitive, accessible, tested design.
Visual Design & Navigation
Visual Design:
Navigation:
Discussion
Would you rather visit a website with vibrant but random colors, or one with dull but well-coordinated colors?
Explain your reasoning.
Website Performance & Mobile Design
Performance
Slow websites lose visitors fast. Compress images, don't load too many elements at once, use fast servers, and check your site speed regularly.
Mobile Design
Over half of internet users browse on phones. Make buttons large enough to tap, simplify navigation for small screens, and ensure fast loading on mobile connections.
Content Strategy
To write good website content:
Web Development Languages
Frontend vs. Backend Development
Frontend
What users see and interact with — built with HTML, CSS, and JavaScript. Everything visible on the homepage is frontend.
Backend
The behind-the-scenes functionality — handles data, user accounts, databases, and business logic.
Full-Stack
Developers who work on both frontend and backend. APIs help the two sides communicate with each other.
True or False
If I am looking at the home page of a website, am I looking at the backend?
A
True — the homepage is all backend
B
False — the homepage is frontend (what users see)
C
True — all pages are backend
D
False — there is no backend on websites
How HTML, CSS & JavaScript Work Together
A good website uses all three languages — each for a different job:
HTML — Structure
Defines headings, paragraphs, images, links, and page layout. Some debate whether it's a true programming language, but it is foundational.
CSS — Presentation
Styles the HTML — colors, borders, spacing, and animations. Drives the visual look and feel of the site.
JS — Interactivity
Powers the things users interact with — buttons, alerts, popups, and animations. Makes the page dynamic and alive.
HTML Syntax
Key HTML syntax rules:
<!DOCTYPE html> <!-- declares HTML document -->�<html> ... </html> <!-- wraps entire doc -->�<h1>Title</h1> <!-- heading (h1-h6) -->�<a href="url">Text</a> <!-- link -->�<img src="file.jpg" alt="desc"> <!-- image -->
CSS Basics
CSS (Cascading Style Sheets) styles HTML. Activate it inside HTML with <style> tags:
body {� background-color: lightblue;
color:
navy;
font-size:
16px;
}
Discussion
Do you think HTML is more similar to CSS, or does HTML have more in common with JavaScript?
Explain your answer.
JavaScript Basics
JavaScript powers what users can interact with. Activate it inside HTML with <script> tags:
// Alert popup�alert("Hello JavaScript!");��// Variables�let name = "BinaryTree";�console.log(name); // prints to console
Conclusion
BinaryTree
Thank You For Attending!
Next week: Introduction to Python Programming!