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 (?). It is better to Upvote an existing comment if you don't have anything to add.
Switch to a voting comment New
igris01
1 month ago
The Correct answer should be B. Displays in one column on phones and in two columns on tablets, desktops" So we need: Full width on phones → small-device-size="12" Half width on larger screens → size="6"
upvoted 1 times
...
dasabhisek404
1 year ago
Selected Answer: C
C is right
upvoted 2 times
...
FriedConsole2000
1 year, 5 months 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, 9 months 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
...
AppleDash
2 years, 5 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 ...