An open API service indexing awesome lists of open source software.

https://github.com/pjaerr/pub-name-generator

Generates random pub names
https://github.com/pjaerr/pub-name-generator

ajax css generator html javascript

Last synced: 11 months ago
JSON representation

Generates random pub names

Awesome Lists containing this project

README

          

# Pub-Name-Generator
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**

### Developing Locally

1. Clone the repository
2. Run `npm install`
3. Run `npm start`
4. 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.

### Pub Name Formats
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)