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 293 discussion

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

When developing a Lightning web component, which setting displays lightning-layout-items in one column on small devices, such as mobile phones, and in two columns on tables-size and desktop-size screens?

  • A. Set size=“6” mobile-device-size=“12”
  • B. Set size=“6” small-device-size=“12”
  • C. Set size=“12” medium-device-size=“6”
  • D. Set size=“12” tablet-device-size=“6”
Show Suggested Answer Hide Answer
Suggested Answer: C 🗳️

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
dasabhisek404
4 months ago
Selected Answer: C
C is right
upvoted 2 times
...
FriedConsole2000
8 months, 2 weeks ago
Selected Answer: C
"C" Size is the total size and you divide the value of the device size for the number of columns.
upvoted 3 times
...
amm12345
1 year ago
Selected Answer: B If you specify the size and smallDeviceSize attributes, the size attribute applies to small mobile phones, and the smallDeviceSize applies to smart phones. The sizing attributes are additive and apply to devices of the specified size and larger. For example, if you set mediumDeviceSize=10 and don't set largeDeviceSize, then mediumDeviceSize applies to tablets, desktops, and larger devices. You'd also have to set size to apply to devices smaller than tablets.
upvoted 1 times
...
[Removed]
1 year, 2 months ago
Selected Answer: B
Mobile devices are displayed in a single column with small-device-size="12", while larger tablets and desktops are displayed in two columns with the default size="6". Therefore, the correct answer should be B.
upvoted 1 times
...
AppleDash
1 year, 8 months ago
https://developer.salesforce.com/docs/component-library/bundle/lightning:layoutItem/example#lightningcomponentdemo:exampleLayoutItemsSizeOverrides
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 ...