This repository contains lab exercises for the WebDev101 course. Each lab builds foundational concepts for HTML, CSS, JavaScript, DOM manipulation, forms, animations, web frameworks, and API development.
๐ Course Reference: Course1 - HTML & CSS Basics
In this lab, I learned the fundamentals of web development using HTML and CSS:
- HTML Structure & Tags (
<p>,<img>,<div>,<h1>etc.) - Using class and id attributes for styling
- Embedding images and creating div containers
- CSS Basics: selectors, colors, text styling
- Box Model:
margin,padding,border - Linking CSS to HTML
๐ Course Reference: Course2 - CSS & Layouts
This lab introduced CSS positioning techniques and layouts:
- CSS Units:
px,%,em,vh,vw - CSS Positioning:
relative,absolute,fixed,sticky - Flexbox & Grid for responsive layouts
- CSS Animations & Transitions (
@keyframes,transform,transition)
๐ Course Reference: Course3 - JavaScript Basics
This lab covered JavaScript programming and DOM manipulation:
- JavaScript Variables (
var,let,const) - Functions and Event Listeners (
addEventListener) - DOM Selection & Manipulation (
getElementById,querySelector) - Modifying HTML & CSS using JavaScript
- Handling User Events (clicks, form inputs, etc.)
๐ Course Reference: Course4 - Forms & User Input
This lab focused on handling user input and forms in web applications:
- Creating HTML Forms (
<input>,<textarea>,<select>,<button>) - Form Validation using JavaScript
- Handling Input Events (
onchange,onsubmit) - Pseudoclasses for Forms (
:focus,:hover,:checked)
๐ Course Reference: Course5 - JavaScript Timers & Events
This lab introduced asynchronous JavaScript and timers:
- setTimeout & setInterval (
setInterval(func, 1000)) - Creating dynamic elements (
document.createElement,appendChild) - Event Loop & Asynchronous Execution
- Handling multiple user interactions asynchronously
As part of the midterm exam, I had to develop a 2D platformer game featuring Sonic the Hedgehog ๐ฆ. The game mechanics include jumping over obstacles, dodging phantoms, and background switching to enhance visual appeal.
- Press SPACE to make Sonic jump.
- Avoid phantomsโcolliding with them reduces your lives!
- Press "B" to change the background dynamically.
- Survive as long as possible to achieve a high score.
| Initial Background | Jumping Animation | Background Change |
|---|---|---|
![]() |
![]() |
![]() |
๐ Course Reference: Git Cheat Sheet
A separate Git workshop covered version control for web development:
- Git vs. GitHub โ Managing repositories
- Cloning, committing, pushing, and pulling
- Branching & Merging for collaborative projects
- Using GitHub Classroom for lab submissions
All course slides and notes are available in the docs/ directory.
๐ The courses are in Romanian ๐ท๐ด.


