Generates random pub names by grabbing a collection of random nouns or adjectives from a text file, choosing a random format and then updating the DOM with the combination when spacebar is pressed or the screen is clicked/tapped.
Created using HTML, CSS and JavaScript
- Clone the repository
- Run
npm install
- Run
npm start
- Open the index.html file on a local server
The JavaScript from the main.js
is minified and then transpiled into code that will run on older browsers, this is what the grunt tasks are for. The CSS is just normal CSS and can be edited directly in the main.css
file.
The noun and noun (The Swan and Goose) The noun bodypart (The Kings Arms, Head, Feet, Legs, Hands) The adjective noun (The Old Horse) The noun (The Globe)