HTML/Javascript Prepositions Game Tutorial

HTML Prepositions Game Tutorial

HTML/Javascript Prepositions Game Tutorial

Do you like word games? Today’s game tests your skills using prepositions in English. Maybe it would be a good game to learn some aspects to English vocabulary.

Even though today’s word game does not require it, programmers often use Linux dictionary files as a means to get a word list, and that list could be in any language, and for our other word games lately those lists have been in English.

The reason PHP is not needed is that the word list used in this game is hardcoded into the Javascript, and with respect to the data for this we have to thank “Text Types in English” by Mark Anderson and Kathy Anderson pp. 78-79, for the idea and data source for this tutorial.

This game creates two select HTML elements for the word adjoining the preposition, and a derived select element for the preposition. As there can be more than one correct correspondence this second select element has the property multiple=”multiple”, so if this interests you then please consult the code … or insult it, if you are feeling ngair ngair ng ngair ngairish … be like that … see how moi cares?!

Anyway, see how you go with this informative prepositions game! Should you want more information regarding these vital little (preposition) words in the English language, maybe start with a Wikipedia link.

Here is a link to some downloadable HTML (with Javascript) programming code you could rename to words_prepositions.html

If this was interesting you may be interested in this too.

This entry was posted in eLearning, ESL, Games, Tutorials and tagged , , , , , , . Bookmark the permalink.

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>