Welcome to ExamTopics
ExamTopics Logo
- Expert Verified, Online, Free.
exam questions

Exam Certified Platform Developer II All Questions

View all questions & answers for the Certified Platform Developer II exam

Exam Certified Platform Developer II topic 1 question 412 discussion

Actual exam question from Salesforce's Certified Platform Developer II
Question #: 412
Topic #: 1
[All Certified Platform Developer II Questions]

A developer is asked to modify a Lightning web component so that it displays in one column on phones and in two columns on tablets, desktops, and larger devices.

Given to the code below:



Which should the developer add to the code to meet the requirements?

  • A. Add a small-device-size=“12” to the [lightning-layout-item] elements
  • B. Add size=“6” a small-device-size=“12” to the [lightning-layout-item] elements
  • C. Add size=“12” a small-device-size=“6” to the [lightning-layout-item] elements
  • D. Add a medium-device-size=“6” to the [lightning-layout-item] elements
Show Suggested Answer Hide Answer
Suggested Answer: B 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
true_dev
2 months ago
Must be size=12 and medium-device-size=6. Because size is required if we provide *-device-size. https://developer.salesforce.com/docs/component-library/bundle/lightning-layout-item/documentation
upvoted 1 times
...
c2ff438
7 months, 1 week ago
Selected Answer: D
Should be D
upvoted 1 times
...
c2ff438
7 months, 1 week ago
Should be D
upvoted 1 times
...
Community vote distribution
A (35%)
C (25%)
B (20%)
Other
Most Voted
A voting comment increases the vote count for the chosen answer by one.

Upvoting a comment with a selected answer will also increase the vote count towards that answer by one. So if you see a comment that you already agree with, you can upvote it instead of posting a new comment.

SaveCancel
Loading ...