SShortSingh.
Back to feed

Developer builds interactive Turkish tea scene using only HTML and CSS

0
·1 views

A frontend developer named Melik Baryanık created a fully interactive Turkish tea and simit scene for DEV Community's Frontend Challenge: Comfort Food Edition, using only HTML and CSS with no images or SVG. The artwork depicts a traditional Turkish çay setup — a tulip-shaped tea glass, saucer, sugar cubes, spoon, and sesame bread ring — rendered entirely through gradients, shadows, clip-paths, and masks. When loaded, an animated teapot pours tea into the glass in a physics-accurate sequence, after which users can click individual elements to trigger animations like sugar cubes dissolving or a spoon stirring the tea. The entire opening animation runs on a single 9-second CSS duration shared across all elements, with JavaScript serving only as a class toggler rather than handling any animation logic. The project comprises roughly 1,050 lines of CSS and just 15 lines of JavaScript, and gracefully degrades to a static finished illustration when JavaScript is disabled or reduced-motion is preferred.

Read the full story at DEV Community

This is an AI-generated summary. ShortSingh links to the original source for the complete article.

Discussion (0)

Log in to join the discussion and vote.

Log in

Related stories

0
ProgrammingDEV Community ·

AI Writes Code Fast, But Verifying It Is Now the Real Engineering Challenge

As AI tools make code generation nearly instantaneous, software engineering teams are discovering that evaluation and validation have become the true bottleneck in shipping reliable software. One engineering team spent six days diagnosing a subtle bug after AI-refactored search indexing code mishandled UK VAT-inclusive pricing logic — saving 16 hours of coding but costing over 60 hours of incident investigation. The root cause was not flawed code syntax but missing institutional knowledge about how a legacy order management system actually behaved. The author argues that traditional velocity metrics like tickets closed and lines shipped are now actively misleading, as they incentivize volume over verified correctness. The new priority for engineering teams should be building robust evaluation infrastructure — including shadow deployments, regression suites, and observability tooling — before AI-generated code reaches production.

0
ProgrammingDEV Community ·

Cameroonian Students Build YouthTrend, a Unified Social Network for University Life

YouthTrend is a national social networking platform designed for university students in Cameroon, aiming to replace the fragmented use of WhatsApp groups, Telegram channels, and email lists. The platform offers a unified feed where students can discover people, clubs, and events across all participating schools. Users are verified through their universities, while staff or senior students can manage official school profiles. Built as a modular monolith using React and Vite, the project originated as coursework and has since grown into a documented product with formal technical specifications. The team is still weighing key decisions, including the student verification method and whether a native mobile app should be part of the initial release.

0
ProgrammingDEV Community ·

Recursive vs Iterative Tree Traversals: Understanding the Stack Behind the Magic

Tree traversals are a common interview challenge, and many developers rely on recursive solutions without fully understanding how they work under the hood. The core insight is that recursive traversal uses the call stack to track return points, and this behavior can be replicated with an explicit stack data structure. In an iterative inorder traversal, nodes are pushed left as far as possible, then popped and visited before moving to the right subtree — mirroring the recursive left-node-right pattern. This approach avoids stack overflow errors that can occur with deeply skewed trees containing large numbers of nodes. Two common pitfalls in iterative implementations are failing to advance the current pointer after popping a node, and pushing children in the wrong order, both of which can cause incorrect output or infinite loops.

0
ProgrammingDEV Community ·

Free Health Calculator Portal Quantas Calorias Prioritises Transparency Over Raw Numbers

Quantas Calorias is a free web portal that consolidates multiple nutrition and health-screening calculators, including BMI, basal metabolic rate, cardiovascular risk, and older-adult vulnerability tools, into a single interface. The platform was built around the principle that health calculations are only useful when users understand both what the numbers mean and what their limitations are. Developers focused on designing plain-language explanations that make uncertainty visible within each tool rather than burying disclaimers in footnotes. The portal draws a clear line between educational use — such as preparing questions for a doctor — and clinical decision-making, explicitly discouraging users from starting or stopping medication based on results. Quantas Calorias is publicly accessible at quantascalorias.net, and its creators are actively seeking feedback on accessibility, localization, and responsible health communication.

Developer builds interactive Turkish tea scene using only HTML and CSS · ShortSingh