Javascript Business Name Suggestion Tool

Тема в разделе "Разное", создана пользователем feofan, 26 окт 2023.

  1. feofan

    feofan Bad Boys Команда форума

    Регистрация
    19 апр 2015
    Сообщения
    2.073
    Симпатии
    1.731
    Баллы
    81
    Сайт
    Интересы:
    Разное
    Tools for suggesting business names, and organizations. It was developed on a pure javascript platform, with compact features and easy integration with any platform.

    preview-xl (4).jpg

    1.0.0 (12/28/2022) First release


    Features
    + Business name suggestion

    + Pure Javascript

    + Cross-browser


    Instructions
    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);
    });
    });

    001 (1).jpg

    FREE Download - Javascript Business Name Suggestion Tool by Amazingcode

     

Поделиться этой страницей

Share
Загрузка...