Page 1 of 1

A developer is creating a custom component that shows a list of pages. For each page, the following items must be shown:

Posted: Thu Jul 21, 2022 9:09 pm
by answerhappygod
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 <div> tag.
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.
A Developer Is  1
A Developer Is 1 (10.26 KiB) Viewed 49 times
A Developer Is  2
A Developer Is 2 (9.05 KiB) Viewed 49 times
A Developer Is  3
A Developer Is 3 (8.98 KiB) Viewed 49 times
A Developer Is  4
A Developer Is 4 (10.52 KiB) Viewed 49 times