Each slide already establishes a clear content region: a transport-related heading and supporting paragraph are centered over a full-slide background image, with an attribution line included in the slide content. The two-slide carousel is controlled by previous and next buttons plus indicators near the bottom. Because those regions are visually distinct, a project that needs additional functionality can consider the relevant slide area without replacing the block’s existing presentation.
For an HTML Code use case, possible extensions should remain conditional and local to the section. A project might place an external data display, a tracking-related interface, or another transport-specific widget near the supporting content if that requirement exists. The custom addition would need to respect the centered text overlay, the darkened image treatment, and the controls that already communicate slide changes. It should not be treated as an existing feature of the block.
The important advantage is the block’s bounded structure. The first and second slides provide parallel content areas, while the carousel controls define the interaction boundary. Custom markup can be planned around those real regions, allowing the original headings, imagery, attribution, and navigation to remain the visual/content base. This keeps optional functionality connected to the transport message instead of turning custom code into a replacement for the hero.
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.