Ternary Operator Playground - Online Explore ? : in JavaScript
Type any condition and see the result of the ternary operator. Understand truthy/falsy values. Quick learning tool.
UD5 Toolkit
Explore the CSS display property with separate outer & inner values
Default block-level box.
Outer context shows block vs inline positioning. Inner items follow the chosen formatting context.
display: block flow; /* equivalent to display: block; */display accepts an outer type (e.g., block or inline) and an inner type (e.g., flow, flex, grid). This permits explicit control over both the element’s role in the page flow and its internal formatting context.display: block flex or display: inline grid today. Older browsers fall back to the legacy single‑value behavior if the value is unrecognised, but the syntax itself degrades gracefully.display: block flow-root clearly states you want a block‑level BFC, whereas the single‑value flow-root hides the outer role. It also opens the door to future combinations not covered by the legacy keywords.inline-flex is exactly display: inline flex and inline-grid is display: inline grid. They become two‑value shorthands. The same applies to inline-table (= inline table) and inline ruby.display: inline flow is equivalent to display: inline. It creates an inline box whose children participate in normal flow.flow-root establishes a new block formatting context (BFC). It is often used to contain floats without the need for a clearfix. Combined with block it gives display: flow-root.list-item can be added as an additional keyword, and run-in is defined for the outer role, but browser support for run-in is extremely limited. Stick to the common combinations for production.Type any condition and see the result of the ternary operator. Understand truthy/falsy values. Quick learning tool.
Choose a property, duration, and bezier curve. Trigger the transition and see the animation. Copy the complete CSS rule.
Apply text‑wrap: balance to headings and paragraphs. See the visual difference and copy the CSS. Avoid orphans.
Apply text‑emphasis marks (filled dot, open circle, etc.) with color. Ideal for East Asian typography. Copy the style.
Use the abs() and sign() CSS functions to create interesting layouts. See computed values live. Cutting‑edge CSS.
Design a button or card that glows on hover. Adjust shadow color, spread, and transition. Copy the CSS. Rich UI.
Create a glowing or rotating border animation around an element. Copy the CSS keyframes. Pure CSS magic.
Type any CSS selector with :hover/:active/:focus and see the styles applied live. Perfect for debugging interaction states.
Create the iPhone Dynamic Island look‑alike with a pill that expands on hover. Pure CSS. Copy the playful code.
The original arcade Pong recreated in HTML5. Play against AI or local two‑player. Score up to 11 and win. Pure retro fun.
Set a short timer with a themed emoji animation (e.g., pizza cooking). A playful visual countdown.
Create a zoom lens effect for product images. Move the cursor to magnify. Copy the HTML/CSS/JS code.
Paste your CSS and see a static fallback version where var() is replaced with the default value. For legacy support.
Enter task names, start dates, and durations to generate a simple Gantt chart as an image. Quick project view.
Enter a mathematical function for dx and dy and see the vector field arrows. Perfect for studying differential equations.
Apply an emboss filter to your photo. Choose direction and depth. Gives a 3D carved stone look. Pure canvas.
Select an emoji that matches your mood and log it to a simple calendar. Self‑awareness tool. Local only.
Issue and redeem Private State Tokens (formerly Trust Tokens). Understand how they help detect bots without cookies.
Add recurring bills with amounts and see a monthly calendar with due date indicators. Simple finance organizer.
Paste text and see a sorted count of all emojis used. Find your most‑used emoji. Fun analytics. All local.
Set start date and egg type (chicken, duck, quail) to generate a hatching timeline with milestone alerts (lockdown, pip, hatch). Local only.
A festive, full‑screen countdown showing the exact days, hours, and minutes until December 25th. Snow effect.
Track daily mood with emoji selection and optional notes. See weekly/monthly mood trends in a color-coded chart. All data stored privately in localStorage.
Reference for how long common supplements stay in the body. Inform taking frequency.
Turn your message into a scenic mountain emoji art panel. Choose different landscapes. Copy and paste anywhere.
Transliterate English letters into Elder Futhark runes. Fun for tattoos and fantasy. One‑to‑one mapping.
Write and store encrypted daily journal entries directly in your browser's localStorage. Export as TXT. No sign-up, fully private.
Upload two portraits and create a simple morph animation between them. Download as GIF. Local canvas magic.
Select a state and year to see all public holidays. Works offline with built-in data. Plan your long weekends. Simple reference tool.
Generate a hash showing how trackers can fingerprint your browser (canvas, WebGL, fonts). Educational and privacy‑aware.