All Collections
Creating
Working with the Code Block
Working with the Code Block

The code block allows you to build the unique design that are not that widespread. It allows you to build animations and so much more.

Henri Pauwels avatar
Written by Henri Pauwels
Updated over a week ago

This is only intended for people who are comfortable writing AMP Stories in code.

Building unique designs

Sometimes you'd likes to go a bit further and make more custom or unique Landing Stories.

The code block allows you to build anything from the AMP open source code base but will require you to code a bit.

You can find all the code documentation here.

Writing code

the code needs to be AMP valid. Check the documentation

Code styling

Styling can be done in 2 ways:

  • Tailwind 3 classes (recommended)

  • Inline Styles

Tappable Liability

⚠️ Tappable doesn't ensure anymore the validity of your AMP Story once you inject custom code. So don't forget to double check you Story once you've completed it.

Different possibilities

  • Create side-by-side polls

  • Create Image polls

  • Create quizzes

  • Add animations to your images

  • Contain an image

Did this answer your question?