Course Details

  • Home
  • Courses
  • HTML, CSS and JavaScript: The Web Foundations
Web Development

HTML, CSS and JavaScript: The Web Foundations

Build accessible, responsive web pages and add useful interaction.

newtonkibira Beginner 0.00 hours 0 learners
HTML, CSS and JavaScript: The Web Foundations
Learn semantic HTML, responsive CSS, the DOM, events, form validation and basic API requests through a small multi-page project.

Course curriculum

Structure and presentation · 2 lessons
Semantic HTML Preview
Try preview · 12 min
CSS layout and responsive design Preview
Try preview · 12 min
JavaScript and APIs · 2 lessons
DOM events and validation Preview
Try preview · 12 min
Fetch data from an API Preview
Try preview · 12 min
Free lesson preview

Fetch data from an API

Display JSON data in a page.

const response = await fetch("/api/v1/courses");\nif (!response.ok) throw new Error("Could not load courses");\nconst payload = await response.json();\nconsole.log(payload.data);

Handle loading, empty and error states.

Learner reviews

No reviews yet. Enrolled learners can share their experience.