1. Introduction

1. Introduction#

We’re going to build a poll app. You’ll start with plain HTML and gradually add dynamic features with Bialet.

The app has two pages:

  • A vote page with a form to cast your vote

  • A results page showing vote counts and percentages

The HTML is built with Flowbite and Tailwind CSS. Download the starting files:

Your project can include JavaScript, CSS, images — anything a regular HTML project would have. Bialet serves static files alongside your Wren pages.

Throughout this tutorial you’ll run the app with bialet dev, Bialet’s development mode. It enables the in-browser error display and live reload from the start, so a mistake in your code shows up in the browser instead of a generic error page, and file changes reload automatically. You’ll set it up in the next chapter.

In the next chapter, we’ll set up Bialet and get a development server running.


Next: 2. Setup