menu
{ "item_title" : "You Don't Need JavaScript", "item_author" : [" Theo Soti "], "item_description" : "A CSS-first guide to replace unnecessary JavaScript with modern HTML and CSS. Learn to build modals, dark mode, smooth scrolling, form validation, popovers, and more with modern HTML and CSS.Key Features: - Build common UI patterns with modern HTML and CSS instead of unnecessary JavaScript- Learn solid production techniques and latest platform features you can adopt with progressive enhancement- Explore real interface problems about accessibility, performance, and maintainability with real-world examplesBook Description: For years, JavaScript has been the default answer for almost every interactive detail on the web. Need a modal, a dropdown, dark mode, smooth scrolling, or form validation? Most frontend developers reach for JavaScript without thinking twice. But the platform has changed.This book shows how much modern HTML and CSS can already do on their own. Through practical examples, you will learn how to build real interface patterns with less code, fewer dependencies, and a stronger focus on accessibility, performance, and maintainability.You will explore features such as: has(), native dialogs, accordions, sliders, counters, dark mode, smooth scrolling, form validation, border animations, view transitions, motion paths, and mask effects. The book also introduces newer browser features like popovers, anchor positioning, scroll-driven animations, customizable selects, and CSS carousels.The goal is not to avoid JavaScript at all costs. It is to use it when it actually adds value, and not by default. By the end of the book, you will have a clearer sense of what the platform can handle today and how to build interfaces that are lighter, cleaner, and more resilient.What You Will Learn: - Apply the Rule of Least Power in real UI decisions- Choose modern HTML and CSS over JS where it's sufficient- Build lightweight, accessible interfaces in practice- Use modern CSS features like: has(), view transitions, motion paths, masks, popovers, and anchor positioning- Create UI patterns like dark mode, dialogs, accordions, smooth scrolling, custom selects, and carousels- Implement progressive enhancement in real projects- Improve performance by reducing unnecessary JSWho this book is for: This book is for people who build interfaces and want to rely less on JavaScript when they do not have to. It is aimed at front-end developers, designers who code, and curious CSS people who already know the basics and want to see how far modern HTML and CSS can really go. If you have ever added JavaScript out of habit for something the browser can already handle, this book will give you a different way to think about that.Table of Contents- Conditionally Styling with: has()- Dark Mode in CSS- Smooth Scrolling to Sections- Native Modals with - Accordions with Pure CSS- Pure-CSS Automatic Slider- Auto-Numbered Headings- Other Use-Case of Counter- Custom Border Animations- View Transitions- CSS Motion Path- CSS Mask Effects- CSS-Only Form Validation- Scroll-Driven Animations- Native Popovers- Customized Selects- Anchor Positioning- Native CSS Carousels- And more to come...  - Closing Thoughts", "item_img_path" : "https://covers4.booksamillion.com/covers/bam/1/80/778/341/1807783413_b.jpg", "price_data" : { "retail_price" : "34.99", "online_price" : "34.99", "our_price" : "34.99", "club_price" : "34.99", "savings_pct" : "0", "savings_amt" : "0.00", "club_savings_pct" : "0", "club_savings_amt" : "0.00", "discount_pct" : "10", "store_price" : "" } }
You Don't Need JavaScript|Theo Soti

You Don't Need JavaScript : A practical guide to creating modern websites and interfaces using only CSS

local_shippingShip to Me
In Stock.
FREE Shipping for Club Members help

Overview

A CSS-first guide to replace unnecessary JavaScript with modern HTML and CSS. Learn to build modals, dark mode, smooth scrolling, form validation, popovers, and more with modern HTML and CSS.

Key Features:

- Build common UI patterns with modern HTML and CSS instead of unnecessary JavaScript

- Learn solid production techniques and latest platform features you can adopt with progressive enhancement

- Explore real interface problems about accessibility, performance, and maintainability with real-world examples

Book Description:

For years, JavaScript has been the default answer for almost every interactive detail on the web. Need a modal, a dropdown, dark mode, smooth scrolling, or form validation? Most frontend developers reach for JavaScript without thinking twice. But the platform has changed.

This book shows how much modern HTML and CSS can already do on their own. Through practical examples, you will learn how to build real interface patterns with less code, fewer dependencies, and a stronger focus on accessibility, performance, and maintainability.

You will explore features such as: has(), native dialogs, accordions, sliders, counters, dark mode, smooth scrolling, form validation, border animations, view transitions, motion paths, and mask effects. The book also introduces newer browser features like popovers, anchor positioning, scroll-driven animations, customizable selects, and CSS carousels.

The goal is not to avoid JavaScript at all costs. It is to use it when it actually adds value, and not by default. By the end of the book, you will have a clearer sense of what the platform can handle today and how to build interfaces that are lighter, cleaner, and more resilient.

What You Will Learn:

- Apply the Rule of Least Power in real UI decisions

- Choose modern HTML and CSS over JS where it's sufficient

- Build lightweight, accessible interfaces in practice

- Use modern CSS features like: has(), view transitions, motion paths, masks, popovers, and anchor positioning

- Create UI patterns like dark mode, dialogs, accordions, smooth scrolling, custom selects, and carousels

- Implement progressive enhancement in real projects

- Improve performance by reducing unnecessary JS

Who this book is for:

This book is for people who build interfaces and want to rely less on JavaScript when they do not have to. It is aimed at front-end developers, designers who code, and curious CSS people who already know the basics and want to see how far modern HTML and CSS can really go. If you have ever added JavaScript out of habit for something the browser can already handle, this book will give you a different way to think about that.

Table of Contents

- Conditionally Styling with: has()

- Dark Mode in CSS

- Smooth Scrolling to Sections

- Native Modals with

- Accordions with Pure CSS

- Pure-CSS Automatic Slider

- Auto-Numbered Headings

- Other Use-Case of Counter

- Custom Border Animations

- View Transitions

- CSS Motion Path

- CSS Mask Effects

- CSS-Only Form Validation

- Scroll-Driven Animations

- Native Popovers

- Customized Selects

- Anchor Positioning

- Native CSS Carousels

- And more to come...  

- Closing Thoughts

This item is Non-Returnable

Details

  • ISBN-13: 9781807783419
  • ISBN-10: 1807783413
  • Publisher: Packt Publishing
  • Publish Date: July 2026
  • Dimensions: 9.25 x 7.5 x 0.35 inches
  • Shipping Weight: 0.65 pounds
  • Page Count: 166

Related Categories

You May Also Like...

    1

BAM Customer Reviews