Jump to content

Including HTML and Javascript in one block to integrate an API

Recommended Posts

Hi 

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?

 

Cheers!

Link to comment
  • Replies 2
  • Views 335
  • Created
  • Last Reply

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

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

 

Link to comment

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.