Complete Library

All 164 Frontend Tutorials

Every tutorial on W3Tweaks in one place — deep-dive CSS guides,JavaScript explainers, andHTML accessibility patterns. Sorted newest first, updated weekly, free forever. Written for developers who want to level up fast.

164
Total Tutorials
12
New this month
Showing 12 of 164 · page 7 of 14
Call the OpenAI API from Vanilla JavaScript (No Backend)
JavaScript
13 min
May 21, 2026
Call the OpenAI API from Vanilla JavaScript (No Backend)
You do not need Node.js, React, or a backend server to start using the OpenAI API. This tutorial shows you how to call GPT models directly from plain JavaScript using the Fetch API — with streaming, error handling, and secure key management.
W
W3Tweaks Team
131 CSS Cards Collections: Free Code + Demos
CSS
25 min
Oct 18, 2023
131 CSS Cards Collections: Free Code + Demos
Explore 131 CSS cards designs for 2023. From creation tips to code demos, W3Tweaks provides top inspirations and neat layouts for web enthusiasts.
W
W3Tweaks Team
JavaScript API Call: fetch, Axios, TanStack Query & ky
JavaScript
18 min
Jul 26, 2023
JavaScript API Call: fetch, Axios, TanStack Query & ky
Most JavaScript API call guides are still in 2023 — fetch + Axios + XMLHttpRequest + jQuery. The real modern comparison is fetch + async/await + AbortController (the modern baseline), Axios (still popular for interceptors), TanStack Query (the React standard), and ky/ofetch (lightweight replacements). Plus the 4xx/5xx error gotcha fetch doesn't reject for, the Axios CancelToken deprecation, type-safe APIs with Zod, and FormData uploads done right.
W
W3Tweaks Team
59 Free CSS Buttons
CSS
12 min
Jul 20, 2023
59 Free CSS Buttons
listed the hand-picked awesome css buttons developed using only css and html. tutorials well played with colors, gradients or shapes.
W
W3Tweaks Team
CSS Masonry Grid Layouts: An Overview
CSS
2 min
Feb 27, 2023
CSS Masonry Grid Layouts: An Overview
Learn about CSS Masonry Grid Layouts and how to use them. We will give an overview of the Grid Layouts in this article, explaining what they are...
W
W3Tweaks Team
Mastering CSS Hover Effects With Demo
CSS
13 min
Feb 16, 2023
Mastering CSS Hover Effects With Demo
Learn how to create stunning hover effects with CSS. This article provides step-by-step guidance on mastering CSS hover effects.
W
W3Tweaks Team
CSS Transition: The Basics Explained
CSS
4 min
Feb 15, 2023
CSS Transition: The Basics Explained
W
W3Tweaks Team
The Benefits of Using Multi Step Forms in HTML
HTML
4 min
Feb 15, 2023
The Benefits of Using Multi Step Forms in HTML
Discover the advantages of using multi step forms in HTML for a better user experience and higher conversion rates.
W
W3Tweaks Team
YouTube Data API in JavaScript: List Channel Videos
JavaScript
16 min
Feb 14, 2023
YouTube Data API in JavaScript: List Channel Videos
Most 'list YouTube channel videos' tutorials use jQuery + the search.list endpoint — that costs 100 quota units per call (vs 1 for the uploads-playlist trick) and exposes your API key in the browser. This guide does it right: modern fetch + async/await, the playlistItems.list pattern, server-side API key proxying with Cloudflare Workers or Next.js Route Handlers, channel handle → ID resolution, pagination with nextPageToken, and the oEmbed fallback for simple embeds without any API key at all.
W
W3Tweaks Team
10 Free CSS Toast/Notification
CSS
4 min
Feb 13, 2023
10 Free CSS Toast/Notification
Free CSS toast/notification collections. A website's or app's user experience can be improved by adding toast notifications because they deliver feedback and
W
W3Tweaks Team
HTML media tags
HTML
3 min
Feb 9, 2023
HTML media tags
W
W3Tweaks Team
JavaScript Primitive and Non-Primitive Data Types
JavaScript
2 min
Feb 8, 2023
JavaScript Primitive and Non-Primitive Data Types
W
W3Tweaks Team