Part 5 — Styling your app [Customizing the UI]
In this part, you will learn how you can customize HTML in your application. We will use our Application Designer to preview the HTML files.
Last updated
In this part, you will learn how you can customize HTML in your application. We will use our Application Designer to preview the HTML files.
Last updated
Remember the Part 2 from Chapter 2 — Element widgets? We can use elements from Element when creating applications with UI. It is enough to add the desired element to the HTML file.
Don't forget to initialize state
so the buttons work properly
Example:
Result:
Also you can create your own styles and apply them to elements. Inline styles are also available.
Example:
Result:
Some elements of the HTML file have properties. They can be changed.
Result:
You can use state
to pass values to these properties!