Jump to content

natemonseu

Member
  • Posts

    3
  • Joined

  • Last visited

natemonseu's Achievements

Level 1

Level 1 (1/20)

0

Reputation

  1. Yes @paul2009! Updated with a genuine API code. Below is a working link to the page. https://dory-trumpet-c96m.squarespace.com/code Thank you
  2. Hello -- Hoping someone may be able to help me with getting a web widget to appear. Code provided below. Each time I save the page with the code block, I'm getting the "Scripts Disabled" error. I've done everything I've read to do, and still can't get the web widget to populate (it's just showing as blank). Steps to try and resolve the issue: added the code to the "header section" of the code injection page Made sure code was tied to proper libraries Open an private browsing tab to view the webpage Here is the code for the widget I am working with. Any help getting this to work is greatly appreciated. <script src="https://code.jquery.com/jquery-3.5.1.min.js"></script><script src="https://unpkg.com/@openai/chat-widget@latest/dist/chat-widget.js"></script><div id="chat-widget-container"></div><script> var chatWidget = new ChatWidget({ apiKey: 'YOUR_API_KEY', // Replace with your own API key targetElement: '#chat-widget-container', prompt: 'Welcome to the resume formatting tool! Please input a sentence from your resume, and I will suggest ways to improve its formatting.', inputPlaceholder: 'Enter a sentence from your resume...', }); </script>
×
×
  • Create New...

Squarespace Webinars

Free online sessions where you’ll learn the basics and refine your Squarespace skills.

Hire a Designer

Stand out online with the help of an experienced designer or developer.