top of page
Paris Spaghetti

Paris Spaghetti

French

Food Paris Spaghetti Yummy
Potato House Diner

Potato House Diner

Italian

Diner Restaurant Food
Rolled & Scrambled Eggs

Rolled & Scrambled Eggs

French

Food Eggs Breakfast Bread
The Roasted Chicken

The Roasted Chicken

French

Chicken KFC Delicious
Chips & Pastry

Chips & Pastry

Italian

Potatoes Food Salt Frying Oil
Yellow Cab

Yellow Cab

Italian

Pizza Yellow Cab Fast Food

//DISPLAY SELECTION TAGS 🎉

$w.onReady(function () {

    $w("#dataset1").onReady(function () {

        $w("#repeater9").onItemReady(($item, itemData) => {

 

            let tags = itemData.tags;

 

            let tagsHtml = tags.map(tag =>

                    `<span style="background: #f44336; 

        border-radius: 5px; 

        line-height: 2.6;       

        padding-top: 5px; 

        padding-bottom: 5px;

        padding-left: 5px;

        padding-right: 5px;

        margin-left: 0px;

        margin-right: 0px;

        text-align: center;

        color: #ffffff; 

        font-weight:900;

        

        font-size: 12px">${tag}</span>`)

                .join('  ');

            $item('#tagsDisplay').html = tagsHtml;

 

        });

    });

});

Copied!

bottom of page