Change Site Content

Change site content in response to a user interaction.

Code Level

Beginner

Published

 

Example Description

In this example site content in changed in response to a user interaction.

Example Code

How We Built It

This example demonstrates how to use events as a visitor interacts with your site and changes your site content accordingly.

We use an event handler to change the image and button text that is displayed every time a visitor clicks the button.

Next Steps

  1. Open this example in the Editor to work with the template.

  2. Publish the site.

  3. Learn how to work with examples in Corvid.

APIs We Used

Related Articles

Related Examples

Add to Cart Gallery

Let customers to add products to their cart

INTERMEDIATE

Hide and Show Elements

Hide and show elements in response to user interactions

BEGGINER

Hide and Show Elements

Hide and show elements in response to user interactions

BEGGINER

 

This website was designed with Corvid by Wix.