Articles on: FAQ

How to import code to TeleportHQ

Here' a quick guide to help you generate code that works perfectly if imported to TeleportHQ.


1. How to import code to TeleportHQ

2. Conditions for proper code import


You can only import HTML, CSS and Javascript to TeleportHQ. Do not try to add code for Next, React or other frameworks.


1. How to import code to TeleportHQ


To import code to TeleportHQ:


  • Copy the code from ChatGPT
  • Open the Code import widget from the Left panel
  • Paste the code into the Import widget (* Alternatively you can Paste the code directly in root of the page or in a container)
  • Click Save


Once the code is imported, you can use the visual editor to make fine-grain edits.


Importing code from ChatGPT


2. Conditions for proper code import


  • The code must not contain <html>, <body> or <head> tags. These tags are already included in the TeleportHQ page.
  • Any CSS code must be imported inside of a <style> tag
  • For responsiveness use the default breakpoints, which are at 991px, 767px and 479px. (you can change these breakpoints from the editor)
  • Any Javascript code should be provided with the <script> tag

Updated on: 07/08/2025

Was this article helpful?

Share your feedback

Cancel

Thank you!