Tools for suggesting business names, and organizations. It was developed on a pure javascript platform, with compact features and easy integration with any platform.
1.0.0 (12/28/2022) First release
+ Business name suggestion
+ Pure Javascript
+ Cross-browser
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>
.
3. Insert html
In body tag insert html:
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 = `${item}`;
results_elem.appendChild(item_elem);
});
});