Test page

First test

We can define a JS function in the .astro frontmatter, and use it in the HTML.

The 17th Fibonacci number is 1597

The 32nd Fibonacci number is 2178309

Second test

Having defined a list of objects, we can enumerate them and add CSS classes:

With a class, we can colour them

Third test

We can define a bool in the frontmatter, and use it to conditionally render

The bool is true so we will render

A different bool is false so we will not render

Binary to hex converter