I'm having trouble implementing popper.js on the pricing page of my Squarespace site. I followed the steps outlined in a Squarespace tutorial video, adding the following code to the <head>
section of my page under page settings -> advanced -> page header code injection.
<!-- Bootstrap CSS -->
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/5.2.0/css/bootstrap.min.css">
<!-- Optional Bootstrap JavaScript with Popper.js -->
<script src="https://stackpath.bootstrapcdn.com/bootstrap/5.2.0/js/bootstrap.bundle.min.js">.
On my page, I have embedded code in a code block (see below). The Bootstrap functions correctly unless I remove the Bootstrap script at the end of the code block. However, the popper.js functionality does not work at all.
I want to emphasize that I do not have any code in the meta header or footer injections. How can I ensure that popper.js works correctly?
<table class="table mb-0">
<thead>
<tr>
<th>Engagement and Interaction</th>
<th>Basic</th>
<th>Pro</th>
<th>Enterprise</th>
</tr>
</thead>
<tbody>
<tr class="table-row-hover">
<td data-bs-toggle="tooltip" data-bs-placement="top" data-bs-title="Preselect the both the number of fan participants and the number of winners">
Odds setting for participants & winners <i class="bi bi-question-circle"></i>
</td>
<td><span class="text-success">✔</span></td>
<td><span class="text-success">✔</span></td>
<td><span class="text-success">✔</span></td>
</tr>
</tbody>
</table>
<script src="https://cdnjs.cloudflare.com/ajax/libs/popper.js/2.11.8/umd/popper.min.js" integrity="sha512-TPh2Oxlg1zp+kz3nFA0C5vVC6leG/6mm1z9+mA81MI5eaUVqasPLO8Cuk4gMF4gUfP5etR73rgU/8PNMsSesoQ==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
<link href="https://cdn.jsdelivr.net/npm/<a href="/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="3b5954544f484f495a4b7b0e15091508">[email protected]</a>/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-rbsA2VBKQhggwzxH7pPCaAqO46MgnOM80zW1RWuH61DGLwZJEdK2Kadq2F9CUG65" crossorigin="anonymous">