You Don't Need JavaScript | A practical guide to creating modern websites and interfaces using only CSS
Language: English
Published by Packt Publishing, 2026
- Softcover
- New

Seller: preigu, Osnabrück, Germanypreigu
AbeBooks seller since August 5, 2024
Condition: New
£ 40.72
Quantity: 5 available
Add to basketItem description from seller
Seller Inventory # 135893279
- Title
- You Don't Need JavaScript | A practical guide to creating modern websites and interfaces using only CSS
- Author
- Theo Soti
- Publisher
- Packt Publishing
- Publication year
- 2026
- Condition
- Neu
- Binding
- Taschenbuch
- Language
- English
- ISBN 10
- 1807783413
- ISBN 13
- 9781807783419
- Item weight
- 323 grams
- Dimensions
- 235 x 191 x 10 mm
- Seller catalogs
- Bücher
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
"Synopsis" may belong to another edition of this title.
About the Author
Theo Soti is a frontend developer, writer, and educator focused on modern CSS, semantic HTML, and building lighter web experiences. Through practical experiments and real interface patterns, he helps developers question JavaScript-first habits and make better use of the platform. His work centers on accessibility, performance, and progressive enhancement, with a clear goal: helping teams build websites that are faster, and more resilient.
"About the title" may belong to another edition of this title.
Shipping rates from Germany to U.S.A.
| Item | 60 to 60 business days | 60 to 60 business days |
|---|---|---|
| First item | £ 60.03 | £ 60.03 |
Payment methods
- Paypal
Store description
Specialty
Bücher, SpielwarenSeller's business information
preigu GmbH & Co. KG
Lengericher Landstraße 19
Osnabrück, Germany 49078
Terms of sale
About Us
Legal website operator identification:
preigu GmbH & Co. KG
Lengericher Landstr. 19
49078 Osnabrück
Germany
Telephone: +49 (0) 541 / 580 72 84
Email: mail@preigu.de
VAT No: DE 455 380 498
AG Osnabrück - HRA 209647
PhG: preigu Verwaltung GmbH
AG Osnabrück - HRB 221793
CEO: Ansas Meyer
We are neither willing nor obliged to participate in dispute resolution proceedings before consumer arbitration boards.
We are a member of the initiative "FairCommerce" since 30.11.2016.
For more information, see: https://www.haendlerbund.de/de/haendlerbund/interessenvertretung/faircommerce
Right of withdrawal
Instructions for revocation
Right of withdrawal for the sale of goods
Revocation right for consumers
(A ‘consumer' is any natural person who concludes a legal transaction which, to an overwhelming extent, cannot be attributed to either his commercial or independent professional activities.)
Instructions for revocation
Revocation right
You have the right to revoke this contract within 14 days without specifying any reasons.
The revocation period is 14 days with effect from the day,
-
on which you or a third party nominated by you, which is not the carrier, had taken possession of the products, provided you had ordered one or more products within the scope of a standard order and this/these product/products is/are delivered uniformly;
-
on which you or a third party nominated by you, which is not the carrier, had taken possession of the last product, provided you had ordered several products within the scope of a standard order and these products are delivered separately;
-
on which you or a third party nominated by you, which is not the carrier, had taken possession of the last part delivery or the last unit, provided you had ordered a product, which is delivered in several part deliveries or units;
To exercise your right of withdrawal, you must inform us (preigu GmbH & Co. KG, Lengericher Landstr. 19, 49078 Osnabrück, Telephone number: +49 (0) 541 / 580 72 84, E-Mail address: mail@preigu.de) by means of a clear declaration (e.g. a letter sent by post, or an e-mail) of your decision to withdraw from this contract. You can use the attached model withdrawal form for this purpose, which is, however, not mandatory.
You can also exercise your right of withdrawal online by clicking on a button labelled accordingly (such as ‘Withdraw from contract' or similar) on the AbeBooks/ZVAB website. If you use this online function, you will immediately receive a confirmation of receipt on a durable medium (e.g. via email) containing information on the content of the withdrawal notice, as well as the date and time of its receipt.
In order to safeguard the revocation period, it is sufficient that you send the notification about the exercise of the revocation right before the expiry of the revocation period.
Consequences of the revocation
If you revoke this contract, we shall repay all the payments, which we received from you, including the delivery costs (with the exception of additional costs, which arise from that fact that you selected a form of delivery other than the most reasonable standard delivery offered by us), immediately and at the latest within 14 days from the day on which we received the notification about the revocation of this contract from you. We use the same means of payment, which you had originally used during the original transaction, for this repayment unless expressly agreed otherwise with you; you will not be charged any fees owing to this repayment.
We can refuse the repayment until the products are returned to us or until you have furnished evidence that you have sent the products back to us, depending on whichever is earlier.
You must return or transfer the products to us immediately and, in any case, at the latest within 14 days with effect from the day on which you inform us of the revocation of this contract. The deadline is maintained if you send the products before the expiry of the 14 day deadline.
You bear the direct costs for returning the products.
You must pay for any depreciation of the products only if this depreciation can be attributed to any handling with you that was not necessary for checking the condition, features and functionality of the products.
Criteria for exclusion or expiry
The revocation right is not available for contracts
-
for delivery of products, which are not prefabricated and for whose manufacturing an individual selection or stipulation by the consumer is important or which are clearly tailored to the personal requirements of the consumer;
-
for delivery of products, which can spoil quickly or whose use-by date would be exceeded quickly;
-
for delivery of alcoholic drinks, whose price was agreed at the time of concluding the contract, which however can be delivered 30 days after the conclusion of the contract at the earliest and whose current value depends on the fluctuations in the market, on which the entrepreneur has no influence;
-
for delivery of newspapers, periodicals or magazines with the exception of subscription contracts. The revocation right expires prematurely in case of contracts
-
for delivery of sealed products, which are not suitable for return for reasons of health protection or hygiene if their seal has been removed after the delivery;
-
for delivery of products if they have been mixed inseparably with other goods after the delivery, owing to their condition;
-
for delivery of sound or video recording or computer software in a sealed package if the seal has been removed after the delivery.
Specimen - revocation form
(If you wish to revoke the contract, please fill up this form and send it back to us.)
-
To preigu GmbH & Co. KG, Lengericher Landstr. 19, 49078 Osnabrück, Email address: mail@preigu.de :
-
I/we () herewith revoke the contract concluded by me/ us () regarding the purchase of the following products ()/
the provision of the following service () -
Ordered on ()/ received on ()
-
Name of the consumer(s)
-
Address of the consumer(s)
-
Signature of the consumer(s) (only in case of a notification on paper)
-
Date
(*) Cross out the incorrect option.