Learn HTML, CSS, JavaScript, REST APIs and backend development basics.
Month 6 HTML semantics
Concept & theory
Semantic tags help browsers, accessibility tools and search engines understand page structure. Use one descriptive main landmark, heading hierarchy and meaningful links.
Example code
<main>
<article>
<h1>Python loops for beginners</h1>
<p>Learn for and while loops with examples.</p>
<a href="/python/loops">Read the full lesson</a>
</article>
</main>
Code explained
main identifies primary content; article is standalone content; h1 names the topic; anchor creates a crawlable internal link.
Try it yourself
Create an accessible course page with nav, main and footer.
Month 6 CSS layout and responsive design
Concept & theory
Flexbox handles one-dimensional alignment; Grid handles two-dimensional layouts. Media queries adapt to narrow screens. Use relative widths and accessible focus styles.
<button id="count">Clicks: 0</button>
<script>
let n = 0;
document.querySelector('#count').addEventListener('click', e => {
n++; e.currentTarget.textContent = `Clicks: ${n}`;
});
</script>
Code explained
n stores state. The click handler increments n and updates the button label. textContent avoids HTML injection.
Try it yourself
Build a quiz with answer feedback and a reset button.
Month 7 REST APIs and backend basics
Concept & theory
A client sends HTTP requests to server endpoints. GET reads, POST creates, PUT replaces, PATCH updates, DELETE removes. Validate input and return appropriate status codes.
Example code
from flask import Flask, jsonify
app = Flask(__name__)
@app.get('/api/health')
def health():
return jsonify(status='ok')
# Run with: flask --app app run
Code explained
Flask maps GET /api/health to health(). jsonify serializes a JSON response. This is a development-only example; production requires deployment configuration.
Try it yourself
Design endpoints for courses and progress; specify request and response JSON.