This 6-week introductory course provides a foundational understanding of web development, focusing on the core technologies: HTML for structuring content, CSS for styling, and JavaScript for adding interactivity. Designed for absolute beginners, this course will equip students with the skills to build simple, engaging web pages.
Duration: 6 Weeks, 1.5 hours per week (Total 9 hours) Target Audience: Individuals with no prior web development experience.
Upon successful completion of this course, students will be able to:
Understand the fundamental concepts of how the web works.
Structure web content using semantic HTML5 elements.
Style web pages effectively using CSS, including the Box Model and basic layout techniques.
Add basic interactivity to web pages using JavaScript, including DOM manipulation and event handling.
Utilize browser developer tools for debugging and inspecting web pages.
Build a simple, functional, and styled web page from scratch.
A computer (Windows, macOS, or Linux)
A modern web browser (e.g., Chrome, Firefox, Edge)
A code editor (e.g., VS Code, Sublime Text, Atom – VS Code is recommended)
Internet connection
Introduction to Web Development:
How the internet and web pages work (client-server model, HTTP).
What are HTML, CSS, and JavaScript? Their roles.
Setting Up Your Environment:
Installing a code editor (e.g., VS Code).
Creating your first HTML file.
HTML Document Structure:
<!DOCTYPE html>, <html>, <head>, <body>.
Understanding the purpose of <head> (metadata, links) and <body> (visible content).
Essential HTML Elements:
Headings (<h1> – <h6>).
Paragraphs (<p>).
Links (<a> – href, target).
Images (<img> – src, alt).
Unordered (<ul>) and Ordered (<ol>) Lists, List Items (<li>).
Semantic HTML5:
Introduction to structural elements: <header>, <nav>, <main>, <footer>, <section>, <article>, <aside>.
Why use semantic tags.
Hands-on Exercise: Create a simple personal profile page or a basic blog post structure using the learned HTML tags.
Introduction to CSS:
What is CSS? The cascade, specificity, and inheritance.
How CSS makes web pages visually appealing.
Ways to Include CSS:
Inline styles (brief mention – generally avoid).
Internal styles (<style> tag in <head>).
External stylesheets (primary focus): Linking .css files.
CSS Selectors:
Element selectors (p, h1).
Class selectors (.my-class).
ID selectors (#my-id).
Basic CSS Properties:
Text Styling: color, font-family, font-size, font-weight, text-align, line-height.
Backgrounds: background-color, background-image.
The CSS Box Model:
Understanding content, padding, border, and margin.
Practical application and visualization.
Hands-on Exercise: Apply CSS to the HTML page created in Week 1, styling headings, paragraphs, links, and adjusting spacing using the Box Model.
Display Properties:
display: block, display: inline, display: inline-block.
Understanding their default behaviors and how they affect layout.
Introduction to Flexbox:
A one-dimensional layout system.
display: flex, flex-direction, justify-content, align-items.
Creating simple rows and columns.
Introduction to CSS Grid (Brief Overview):
A two-dimensional layout system (mention its power for complex layouts).
Responsive Design Concepts:
Why responsive design is crucial (mobile-first approach).
The viewport meta tag (<meta name="viewport" content="width=device-width, initial-scale=1.0">).
Basic Media Queries (@media screen and (max-width: 768px)).
Hands-on Exercise: Re-layout your existing page using Flexbox to create a simple navigation bar and a multi-column content area. Implement a basic media query to adjust font size or column layout on smaller screens.
Introduction to JavaScript:
What is JavaScript? Its role in dynamic web pages.
Where to place JavaScript: Internal (<script>) and External (<script src="script.js">). Best practice: link at the end of <body>.
The Browser Console:
Using console.log() for debugging and output.
Introduction to browser Developer Tools.
JavaScript Variables & Data Types:
Declaring variables: var (briefly), let, const.
Primitive data types: String, Number, Boolean, null, undefined.
Operators:
Arithmetic: +, -, *, /, %.
Comparison: ==, ===, !=, !==, >, <, >=, <=.
Logical: && (AND), || (OR), ! (NOT).
Conditional Statements:
if, else if, else statements for decision-making.
Functions:
Defining and calling functions.
Parameters and return values.
Hands-on Exercise: Create a simple script that changes a paragraph’s text based on a condition, or a function that calculates and logs a result to the console.
The Document Object Model (DOM):
Understanding HTML as a tree structure (nodes).
How JavaScript interacts with the HTML structure.
Selecting Elements:
document.getElementById().
document.querySelector() and document.querySelectorAll().
Manipulating Elements:
Changing content: textContent, innerHTML.
Modifying styles: element.style.propertyName.
Adding/Removing classes: classList.add(), classList.remove(), classList.toggle().
Creating and appending new elements.
Event Listeners:
Responding to user interactions.
addEventListener() (e.g., click, mouseover, submit).
Event objects.
Basic Form Handling:
Accessing input values from form fields.
Hands-on Exercise: Enhance your existing page with interactivity:
Add a button that changes the background color of a section on click.
Create a simple “show/hide” element using a button.
Build a basic counter that increments/decrements on button clicks.
Review and Consolidation:
Recap of key HTML, CSS, and JavaScript concepts learned throughout the course.
Q&A session to clarify any doubts.
Mini-Project:
Students will work on a small, guided project that integrates HTML, CSS, and JavaScript.
Examples: A simple calculator, a basic to-do list application, an image carousel, or a color switcher.
Instructor provides guidance and troubleshooting.
Debugging with Developer Tools (Advanced):
Using the “Elements” tab to inspect and modify HTML/CSS.
Using the “Console” for JavaScript errors and logging.
Using the “Sources” tab for setting breakpoints and stepping through code.
Next Steps in Web Development (Brief Introduction):
Version Control (Git & GitHub).
Frontend Frameworks/Libraries (React, Vue, Angular – very brief mention).
Backend Development (Node.js, Python, PHP – very brief mention).
Hosting a website (briefly mention static hosting).
Course Wrap-up.
Weekly Exercises: Completion of hands-on exercises assigned in each session.
Final Mini-Project: Submission of a functional web page demonstrating learned skills.
Participation: Engagement in discussions and problem-solving during class.