Skip to content

Commit 556197e

Browse files
Apply suggestions from code review
1 parent cf4f657 commit 556197e

File tree

1 file changed

+3
-1
lines changed
  • src/content/docs/turnstile/get-started/client-side-rendering

1 file changed

+3
-1
lines changed

src/content/docs/turnstile/get-started/client-side-rendering/index.mdx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,14 +57,16 @@ Add the Turnstile JavaScript API to your HTML.
5757
The `api.js` file must be fetched from the exact URL shown above. Proxying or caching this file will cause Turnstile to fail when future updates are released.
5858
:::
5959

60-
#### 2. Optimize performance with resource hints (optional)
60+
#### 2. (Optional) Optimize performance with resource hints
61+
6162
Add resource hints to improve loading performance by establishing early connections to Cloudflare servers. Place this `<link>` tag in your HTML `<head>` section before the Turnstile script.
6263

6364
```html wrap
6465
<link rel="preconnect" href="https://challenges.cloudflare.com">
6566
```
6667

6768
#### 3. Add widget elements
69+
6870
Add widget containers where you want the challenges to appear on your website.
6971

7072
```html wrap

0 commit comments

Comments
 (0)