The modal already separates its visual and messaging responsibilities. The illustrated character fills the left portion of the centered purple card, while the eyebrow, heading, supporting paragraph, and “Create your Popup” button form a stacked content region on the right. The close control is placed independently in the upper-right area, and the “Image from Freepik” line occupies a supporting attribution role. These boundaries make the block understandable before any additional functionality is considered.
For an HTML Code use case, a project could place a custom element near the right-hand action area if the popup needs functionality beyond the existing static content. For example, a project-specific service could require an embedded signup step, a data-driven status message, or an external widget associated with popup creation. Any such addition should fit beside the established CTA hierarchy rather than displacing the heading or turning the illustration into a separate interface. The darkened backdrop and rounded card should continue to define the visual limits of the section.
The existing close control also identifies a practical integration relationship: custom behavior may need to respect how visitors leave the modal, while the “Create your Popup” action remains the visible response point. The block therefore offers a focused base for optional extension, with the illustration, promotional copy, attribution, and primary action still carrying the section’s original purpose.
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.