Does words_check() work?

Here's a neat way to check that the words_check function works.
Without the shuffle, each word should be in its correct place.
So each border should be green!

    load_words();
    //shuffle_letters();
    words_check();
  </script>
</body>
</html>

The next step is very like Project 1. Here is how I see the cell_clicked function working.

My instructions:

1. I've clicked a cell:

* if it has a green border do nothing;

* else remember it and change its border to blue.

2. I've clicked a second cell.

3. If it's the same cell:

* return the border to lightgrey & forget the remembered cell.

4. If it's the same class as the remembered cell:

* swap them;

* return the border to lightgrey & forget the remembered cell;

* check for correct words.

5. If not, do nothing.