↗ RankSenseAll coursesPlacement prep

Home / Web Development Tutorials

FREE ENGINEERING LEARNING RESOURCES

Web Development Tutorials

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.

Example code

.cards {display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1rem;}
@media(max-width:700px){.cards{grid-template-columns:1fr;}}
a:focus-visible{outline:3px solid #2563eb;}

Code explained

Grid creates three equal columns. Under 700px, cards stack. focus-visible highlights keyboard focus.

Try it yourself

Build a responsive three-card tutorial grid.

Month 6 JavaScript DOM and events

Concept & theory

JavaScript adds interaction. querySelector selects elements; addEventListener registers handlers; textContent safely updates plain text.

Example code

<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.

Explore more topics

C++ Tutorials for Beginners
Python Tutorials for Beginners
Java Tutorials and OOP
Data Structures and Algorithms Tutorials
Core Computer Science Tutorials
Engineering Placement Preparation
Beginner Programming Projects
SEO Tutorials and Technical SEO