The promotional image, 70% discount, and purchase button already establish the dialog’s core message and response path. The image leads into the offer label and large percentage, while the button provides the visible purchase action below. Because these regions are compact and centered inside a white panel, a project-specific extension would need to respect the existing sequence rather than compete with it.
In an HTML Code context, the dialog can act as a bounded place for optional functionality around the verified offer. For example, a project might require an external tracking element, a product destination, or additional data connected to the purchase action. Any such addition would be a project choice, not an existing part of this section. The darkened backdrop and upper-right close control also define an important interaction boundary: added content should remain within the promotional dialog’s purpose and should not obscure dismissal.
The block’s value here lies in its separation of content regions. The image supports attention, the percentage communicates the incentive, and the button carries the response. Custom markup can be considered around those relationships while the original sale message remains the visual and functional base inside the containing page.
Open this ready-made template in the HTML Code Generator and customize it visually in the Nicepage editor. Replace demo content, edit page sections, and adapt the design to your project without rebuilding the template from scratch.
Use the HTML Element when the block needs project-specific content or functionality that is not provided by its existing elements. The custom element can be placed within the section or near a relevant content region so the added functionality remains connected to the block's purpose.
Treat the HTML Element as part of the visual composition. Adjust its position, width, height, alignment, and margins so the custom content fits alongside the block's text, images, buttons, cards, or other elements instead of behaving like a separate page.
The HTML Element supports HTML, CSS, and JavaScript and can be used for custom code and third-party components, including widgets, feeds, advertising code, or other integrations required by a project. Use these capabilities only when the section needs functionality beyond its verified built-in content.
This workflow keeps the original block as the visual/content base while providing a controlled way to extend one section without turning custom code into the primary structure of the whole page.