The “Buy 2, Get 3” heading, free-benefit badge, prepaid-order note, and cosmetics image already establish the block’s promotional message. The email input and “Unlock your code” button then provide a clear response area on the left, while the product image supplies visual context on the right. Because these regions are visibly separated within the rounded modal, a project can extend a relevant area without disturbing the offer’s main reading order.
Custom HTML is most useful here when the promotion needs an additional project-specific function around the existing form. For example, an external validation message, eligibility indicator, product data element, or promotional service could be placed near the email field or submission control. That would extend the modal’s email-capture role rather than replace the content already present. The close control and dark backdrop should remain part of the contained modal experience, keeping any added element within the same interaction boundary.
This makes the block a practical starting point for custom markup around a real promotional form. Its split relationship gives developers a clear choice between extending the response area and adding supporting information beside the cosmetics image, while the original offer hierarchy remains recognizable.
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.