A developer is creating a custom component that shows a list of pages. For each page, the following items must be shown:
✑ Title of the page
✑ Description of the page
✑ A button with fixed text "Read more" that must be translatable
All of the above fields must be wrapped in a
The logic for obtaining the list of pages must be reusable for future components.
Which snippet should the developer use to meet these requirements?
A.
B.
C.
D.
The correct answer should ensure that the HTML structure and logic are correctly implemented according to the requirements. Let's break down the provided options and the requirements mentioned in the question to determine the correct solution. The requirements are: the component must show the title, description, and a translatable
Answer should be C if we assume .i18N DOT is added as a typo . But data-sly-load is also invalid in B. If we try both it will throw an error in sightly. So the closest one is C since DOT(.) can be assumed as a typo over data-sly-load
C is correct Answer
for B, is data-sly-load valid?
B is the answer. It should be (B)-i18N and not (C).i18N
Should be C- B uses invalid data-sly-load instead of use
https://docs.adobe.com/content/help/en/experience-manager-htl/using/htl/block-statements.html