Refer to the exhibit.
The current page has three children.
What is the final rendered html output for the code snippet?
A)
B)
C)
Option B is the final rendered html output for the code snippet. The code snippet uses the data-sly-list block statement to iterate over the child pages of the current page. The data-sly-list statement assigns each child page to a variable named page and provides an index variable named i. The code snippet then uses the data-sly-test block statement to check if the index is odd or even and applies a different CSS class accordingly. The code snippet also uses the data-sly-element block statement to create an HTML element with the name specified by the elementName variable. The code snippet also uses the data-sly-attribute block statement to add an attribute with the name specified by the attrName variable and the value specified by the attrValue variable. The code snippet also uses the data-sly-resource block statement to include a resource with the path specified by the page.path variable and the resourceType specified by the resourceType variable. Reference: https://experienceleague.adobe.com/docs/experience-manager-htl/using-htl/htl-block-statements.html?lang=en
Limited Time Offer
25%
Off
Kimberlie
6 days agoLacresha
7 days agoOliva
8 days agoKimberlie
13 days agoColetta
15 days ago