Widget

HTML Example

A complete HTML page with one widget.

Replace YOUR_WIDGET_NAME with the name CredibleMind gave you.

<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <title>Widget Example</title>
    <style>
      .cm-widget {
        max-width: 1100px;
        margin: 80px auto;
        display: flex;
        justify-content: center;
      }
    </style>
  </head>
  <body>
    <div class="cm-widget" data-prop-name="YOUR_WIDGET_NAME" data-prop-responsive="true"></div>

    <script
      async
      src="https://widget.crediblemind.com/bundle.js"
      data-mount-in=".cm-widget"
    ></script>
  </body>
</html>

Style the container however you like; the widget fills it when data-prop-responsive="true" is set. See Widget Usage for every attribute.