Skip to content
TheChatArchiveThe Chat Archive
Qwenqwen3.7-max· Alibaba (Qwen)Hugging Face Arena WebDev Preferences (2026)

b is better but the app still needs certain polishing as the typeflow is looking rough…

  1. User

    b is better but the app still needs certain polishing as the typeflow is looking rough the keyboard at the bottom just looks like png of keyboard so make it graphics with button glowing that i need to press for next word. also make it so that type flow can make the texts harder or easier as well

  2. Qwen Assistant

    I'll transform this into a much more polished experience with an interactive glowing keyboard and difficulty levels.

    Now update the content data and generator to support difficulty levels:

    Now update App.tsx to wire up difficulty, the interactive keyboard, and key-press tracking:

    Polish applied and build is clean. Here's what's new:

    🎹 Interactive Keyboard (replaces the static PNG)

    A fully CSS-drawn QWERTY keyboard with:

    • Glowing, pulsing key that tells you exactly what to press next — uses a violet gradient, box-shadow halo, and pulse animation
    • Shift awareness: when the next character is uppercase or a symbol (e.g. !, ?, ") both the correct letter/number key and a Shift key light up
    • Live press feedback: as you physically hold a key, it visually "presses down" (shifts down, turns violet) thanks to real keydown/keyup listeners
    • Home row bumps on F and J for touch typists
    • Realistic proportions — wider Shift, Caps, Enter, and Space keys

    🎯 Difficulty Levels

    Added an Easy / Medium / Hard pill selector (green / amber / red) that works across all modes:

    • Easy — Short, all-lowercase common words; punctuation stripped out of stories/sentences
    • Medium — Default everyday vocabulary
    • Hard — Long polysyllabic words, mixed case, numbers (128, 3.14), hyphenated words (re-evaluate), and technical terms (JavaScript, OAuth2). Also adds random capitalization to story text for extra challenge

    Difficulty applies to all three modes (Words, Stories, Symbols), so you can practice the same skill at different intensity levels.

    Other polish

    • Stats cards, progress bar, and modal kept but now sit above a cleaner visual hierarchy
    • The keyboard sits below the typing area with a subtle "Next key to press is highlighted" hint
    • Removed the old PNG, so the whole experience is now crisp, vector, and fully interactive

    Files built: src/components/Keyboard.tsx, src/data/content.ts, src/utils/generate.ts, src/App.tsx