For the complete documentation index, see llms.txt. This page is also available as Markdown.

Code editor

The code editor has three tabs:

  • HTML

  • CSS

  • JavaScript

Use each tab to write code in its corresponding language.

You can even use all three languages in the same file:

<!DOCTYPE html>
<html>
<head>
<style>
body {
   background-color: lightblue;
}
h1 {
   color: white;
   text-align: center;
}
p {
   font-family: verdana;
   font-size: 20px;
}
</style>
</head>
<body>
<script>
  // Some javascript code
</script>
<h1> This is a h1 header </h1>
<p> This is a paragraph </p>
</body>
</html>

However, best practice is to separate the code into three files, one for each language. That is why the widget's code editor includes a dedicated tab for each one.

Last updated

Was this helpful?