🖼️ Image & Visual (AI Art)

Typing Speed Test

📁 Image & Visual (AI Art) 👤 Contributed by @f 🗓️ Updated
The prompt
Build an interactive typing speed test using HTML5, CSS3, and JavaScript. Create a clean interface with text display and input area. Implement WPM and accuracy calculation in real-time. Add difficulty levels with appropriate text selection. Include error highlighting and correction tracking. Implement test history with performance graphs. Add custom test creation with text import. Include virtual keyboard display showing keypresses. Support multiple languages and keyboard layouts. Create a responsive design for all devices. Add competition mode with leaderboards.

Example outputs

Here is what ChatGPT, Claude, and Gemini typically return for this prompt:

🚀 ChatGPT

I'll help you create a comprehensive typing speed test! This will be a single-page application with HTML structure for the text display and input area, CSS for a modern, clean interface with error highlighting, and JavaScript to calculate WPM (words per minute) using the formula (characters/5)/minutes and accuracy as (correct keystrokes/total keystrokes)*100. I'll implement difficulty levels (easy, medium, hard) with progressively complex text passages, a LocalStorage-based history system with Chart.js for performance visualization, and a virtual keyboard using CSS Grid that highlights keys as you type.

✨ Claude

This is an ambitious project that combines several complex features. I can provide you with a foundational implementation, though some features like real leaderboards would require backend infrastructure. The core typing test with WPM calculation, accuracy tracking, and error highlighting is straightforward to implement in vanilla JavaScript, but I'd recommend breaking this into phases—starting with the basic test functionality, then adding history tracking, and finally layering in advanced features like competition mode. Would you like me to start with a working prototype of the essential features, or do you need guidance on a specific component?

💎 Gemini

I can provide code for a typing speed test with these features. The core functionality uses event listeners to capture keystrokes, calculates WPM as (characters typed / 5) / (time in minutes), and tracks accuracy by comparing input against source text character-by-character. For the virtual keyboard, I'll use a CSS Grid layout with data attributes mapping to keycodes. The competition mode with leaderboards would typically require a backend service like Firebase for data persistence and real-time updates across users.

How to use this prompt

Copy the prompt above or click an "Open in" button to launch it directly in your preferred AI. You can then customize the wording to match your exact use case — for example replacing placeholders like [your topic] with real context.

Which AI model works best

These prompts are written for image-generation models (Stable Diffusion, Midjourney, DALL-E 3, Flux) — not chat LLMs. Copy them into your image tool. Midjourney v7 excels at photorealistic portraits; Stable Diffusion 3.5 is the best for fine-tuning and custom checkpoints; DALL-E 3 integrates seamlessly with ChatGPT.

How to customize this prompt

Keep the style descriptors and lighting keywords — these are what make the output consistent. Change the subject, background, and pose freely. Add or remove quality modifiers like "hyper-detailed", "cinematic lighting", "35mm film". For Stable Diffusion, use weight syntax: (keyword:1.3) to emphasize.

Common use cases

  • Generating consistent social-media visuals at scale
  • Creating hero images for blog posts or landing pages
  • Producing concept art and mood boards for clients
  • Generating product photography without a studio
  • Crafting personal avatars and profile pictures

Variations

Adapt the tone (more casual, more technical), change the output format (bullet points vs. paragraphs), or add constraints (word limits, target audience).

Related prompts