Skip to main content
🌍 Public

Share visualization

Send this visualization to others.

Fork of HTML Starter

Public visualization

Viewing a saved revision (read-only)

5f76736014eb4c518443ed26fcc9d319

Fork of HTML Starter

0 stars0🌍 Public
KKareena
Last edited Jul 17, 2025
Created on Jul 17, 2025
Forked from HTML Starter

Built with vanilla JavaScript, the example shows a 15-by-15 interactive crossword puzzle with clickable white cells, blocked black cells, and numbered clue lists for Across and Down entries. The `Crossword` class constructs the grid as a DOM grid of `div` and `input` elements, populating letter positions from a small hardcoded word list. Event listeners handle cell focus and letter input, while the CSS applies the layout and puzzle styling. The implementation uses standard DOM APIs such as `document.createElement` and `addEventListener` to manage interaction without external libraries.

AI-generated description

Crossword Puzzle

An interactive crossword puzzle game built with HTML, CSS, and JavaScript.

Features

  • Interactive grid with keyboard navigation
  • Click on clues to highlight corresponding words
  • Arrow key navigation between cells
  • Check answers functionality with visual feedback
  • Hint system for selected words
  • Reset functionality
  • Responsive design for mobile devices

How to Play

  1. Click on a clue or cell to select a word
  2. Type letters to fill in the grid
  3. Use arrow keys to navigate between cells
  4. Use the "Check Answers" button to see your progress
  5. Use the "Get Hint" button for help with the selected word
  6. Use the "Reset" button to start over

Controls

  • Mouse: Click on clues or cells to select words
  • Keyboard: Type letters, use arrow keys to navigate
  • Backspace: Delete current letter and move to previous cell
  • Tab: Move between input fields

The puzzle includes both across and down words with intersecting letters, just like a traditional crossword puzzle.