Instruction
This widget dynamically generates responsive cards with titles, text, and links. Follow the steps below to customize it for your content:
Locate the
cardsDataArray:- Inside the JavaScript code, find the
cardsDataarray. Each object in the array represents a card.
- Inside the JavaScript code, find the
Customize Each Card:
- Title: Update the
titlefield to change the card's title. - Text: Edit the
textfield to include the content displayed in the card. - Link: Modify the
linkTextfield for the clickable link text and thelinkHreffield for the URL the link points to.
- Title: Update the
Add or Remove Cards:
- To add more cards, append new objects to the
cardsDataarray with the same structure. - To remove a card, delete its object from the array.
- To add more cards, append new objects to the
Preview and Save:
- After making changes, refresh the webpage to see the updated cards. Save your work once you're satisfied.