Jump to content
Search In
  • More options...
Find results that contain...
Find results in...
Advanced Search
  • 0

Including HTML and Javascript in one block to integrate an API



I'm looking for a way to integrate Current RMS API into my site. I have seen the code block but would need to have Javascript and HTML inside on block to do this but it seems that you can only have one type of code per block.

Has anyone every integrated an API into squarespace with Javascript before?



Share this post

Link to post

2 answers to this question

Recommended Posts

  • 1

You can have multiple types of code inside a code block. Just wrap them correctly. 

<script>  .... </script>
<style> ... </style>


Please hit LIKE to share your appreciation of posts that are helpful or useful. 

The like button is somewhere over thereover-there.jpg

Of course, Likes don't pay the bills.. If you're looking for a Squarespace Developer you can hire me here

Share this post

Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

  • Create New...