{"id":28,"date":"2025-02-12T15:35:29","date_gmt":"2025-02-12T15:35:29","guid":{"rendered":"https:\/\/qaspoint.com\/?page_id=28"},"modified":"2025-02-16T14:24:53","modified_gmt":"2025-02-16T13:24:53","slug":"28-2","status":"publish","type":"page","link":"https:\/\/qaspoint.com\/?page_id=28","title":{"rendered":"Youtube Tags Genrator"},"content":{"rendered":"\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n  <meta charset=\"UTF-8\">\n  <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n  <title>YouTube Tag Generator<\/title>\n  <style>\n    \/* CSS *\/\n    body {\n      font-family: 'Arial', sans-serif;\n      background-color: #f4f4f9;\n      color: #333;\n      margin: 0;\n      padding: 0;\n      display: flex;\n      justify-content: center;\n      align-items: center;\n      height: 100vh;\n    }\n\n    .container {\n      background: #fff;\n      padding: 2rem;\n      border-radius: 10px;\n      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);\n      width: 100%;\n      max-width: 500px;\n      text-align: center;\n    }\n\n    h1 {\n      font-size: 2rem;\n      margin-bottom: 1rem;\n    }\n\n    p {\n      font-size: 1rem;\n      margin-bottom: 1.5rem;\n    }\n\n    input[type=\"text\"] {\n      width: 100%;\n      padding: 0.75rem;\n      border: 1px solid #ddd;\n      border-radius: 5px;\n      font-size: 1rem;\n      margin-bottom: 1rem;\n    }\n\n    button {\n      padding: 0.75rem 1.5rem;\n      border: none;\n      border-radius: 5px;\n      background-color: #007bff;\n      color: #fff;\n      font-size: 1rem;\n      cursor: pointer;\n      transition: background-color 0.3s ease;\n    }\n\n    button:hover {\n      background-color: #0056b3;\n    }\n\n    .tags-container {\n      margin-top: 1.5rem;\n    }\n\n    textarea {\n      width: 100%;\n      height: 150px;\n      padding: 0.75rem;\n      border: 1px solid #ddd;\n      border-radius: 5px;\n      font-size: 1rem;\n      resize: none;\n      margin-bottom: 1rem;\n    }\n\n    #copyAllBtn {\n      background-color: #28a745;\n    }\n\n    #copyAllBtn:hover {\n      background-color: #218838;\n    }\n  <\/style>\n<\/head>\n<body>\n  <div class=\"container\">\n    <h1>YouTube Tag Generator<\/h1>\n    <p>Enter your video topic below to generate relevant tags:<\/p>\n    <input type=\"text\" id=\"topicInput\" placeholder=\"Enter your video topic...\">\n    <button id=\"generateBtn\">Generate Tags<\/button>\n    <div class=\"tags-container\">\n      <textarea id=\"tagsOutput\" readonly><\/textarea>\n      <button id=\"copyAllBtn\">Copy All Tags<\/button>\n    <\/div>\n  <\/div>\n\n  <script>\n    \/\/ JavaScript\n    const topicInput = document.getElementById('topicInput');\n    const generateBtn = document.getElementById('generateBtn');\n    const tagsOutput = document.getElementById('tagsOutput');\n    const copyAllBtn = document.getElementById('copyAllBtn');\n\n    \/\/ Replace with your Gemini API key\n    const GEMINI_API_KEY = 'YOUR_GEMINI_API_KEY';\n\n    generateBtn.addEventListener('click', async () => {\n      const topic = topicInput.value.trim();\n      if (!topic) {\n        alert('Please enter a topic!');\n        return;\n      }\n\n      try {\n        \/\/ Simulating API call (replace with actual Gemini API call)\n        \/\/ For now, we'll simulate tags based on the topic\n        const simulatedTags = [\n          topic.toLowerCase(),\n          `${topic} tutorial`,\n          `${topic} tips`,\n          `${topic} tricks`,\n          `${topic} 2023`,\n          `${topic} for beginners`,\n          `${topic} advanced`,\n        ];\n\n        \/\/ Display the tags\n        tagsOutput.value = simulatedTags.join(', ');\n      } catch (error) {\n        console.error('Error:', error);\n        alert('Failed to generate tags. Please try again.');\n      }\n    });\n\n    copyAllBtn.addEventListener('click', () => {\n      tagsOutput.select();\n      document.execCommand('copy');\n      alert('Tags copied to clipboard!');\n    });\n  <\/script>\n<\/body>\n<\/html>\n","protected":false},"excerpt":{"rendered":"<p>YouTube Tag Generator YouTube Tag Generator Enter your video topic below to generate relevant tags: Generate Tags Copy All Tags<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"","meta":{"footnotes":""},"class_list":["post-28","page","type-page","status-publish","hentry","post"],"_links":{"self":[{"href":"https:\/\/qaspoint.com\/index.php?rest_route=\/wp\/v2\/pages\/28","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/qaspoint.com\/index.php?rest_route=\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/qaspoint.com\/index.php?rest_route=\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/qaspoint.com\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/qaspoint.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=28"}],"version-history":[{"count":5,"href":"https:\/\/qaspoint.com\/index.php?rest_route=\/wp\/v2\/pages\/28\/revisions"}],"predecessor-version":[{"id":73,"href":"https:\/\/qaspoint.com\/index.php?rest_route=\/wp\/v2\/pages\/28\/revisions\/73"}],"wp:attachment":[{"href":"https:\/\/qaspoint.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=28"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}