Coder Social home page Coder Social logo

crossword-html-js's Introduction

About

The good old crossword game made simple with html, css, and (pure) javascript!

Open index.html inside the example folder to see the sample, or open the src folder to create your own version. You just need to customize some css grid property and type in your crossword into the javascript. I put the full instruction there.

Note that this crossword only produce the board without showing the clues and numbers (because that's all I need). This crossword is made using just html, css, and javascript, so adding clues and numbers is possible if you want to.

What this crossword can do:

  • Automatically move focus to the next (or previous) input when typing and deleting (by backspace button or delete).
  • Change the typing flow of an 'intersectional' input from cross to down by clicking the input twice, and back to cross by clicking it again.
  • Navigate through inputs using arrow keys.
  • Doing action when all the inputs have filled, and check whether the inputs are correct or not.

Credits

  • Credit to adrianroworth for providing a starting point that I can use. See his crossword here.

    Forked here, in case the original post is lost..

crossword-html-js's People

Contributors

mrifqy-abdallah avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.