Javascript Business Name Suggestion Tool

Tools for suggesting business names, organizations. Developed on pure javascript platform, with compact features and easy integration with any platform.

Quick start

1. Download

You have downloaded the Javascript Business Name Suggestion Tool content.zip file. When you extract the contents you will find:

                
                    business-name-suggestion-tool/
                    ├── index.html
                    ├── css/
                    │   ├── style.css/
                    ├── js/
                    │   └──namesuggestion.js
                    │   └──main.js
                
            

2. Include JS

Place the <script> tag for our JavaScript bundle before the closing </body>.

<script src="./js/namesuggestion.js"></script>

3. Insert html

In body tag insert html:

<div id="results" ></div>

4. Generate list of suggested names from a phrase

var items = StartupNameGenerator(input);

5. Example

const form = document.getElementById('form');
form.addEventListener('submit', (event) => {
event.preventDefault();
let input = document.getElementById("input").value;
var items = StartupNameGenerator(input);
let results_elem = document.getElementById("results");
results_elem.innerHTML = "";
items.forEach((item, idx) => {
const item_elem = document.createElement("a");
item_elem.className = "result-item";
item_elem.target = "_blank";
item_elem.href = `#?key=${item.toLowerCase()}`;
item_elem.innerHTML = `<span>${item}</span>`;
results_elem.appendChild(item_elem);
});
});