Exam User-Experience-Designer Topic 3 Question 119 Discussion

Actual exam question for Salesforce's User-Experience-Designer exam
Question #: 119
Topic #: 3
A UX Design team is doing a review of a new Lightning Web Component (IWC). They are following the Salesforce Lightning Design System (SLDS) block, element, modifier (BEM) naming conventions.
Which class does NOT follow this convention?

Suggested Answer: C Vote an answer

The SLDS BEM naming convention consists of three parts: block, element, and modifier. A block is a standalone component that can be reused across projects, such as a button, a card, or a modal. An element is a part of a block that has no standalone meaning, such as a label, an icon, or a header. A modifier is a flag that changes the appearance or behavior of a block or an element, such as size, color, or state. The modifier is separated from the block or element by two hyphens (-), and can have a value separated by a single hyphen (-), such as .slds-button-brand or .slds-button-neutral. The class .slds-size-l-of-2 does not follow thisconvention because it has no block or element name before the modifier. It should be something like
.slds-grid-size-l-of-2 or .slds-col-size-l-of-2. References:
* [1]: Salesforce Lightning Design System - Introduction
* [2]: Salesforce Lightning Design System - Naming Con

by Haley at Aug 09, 2026, 01:27 AM

Comments

Chosen Answer:
This is a voting comment (?) , you can switch to a simple comment.
Switch to a voting comment New
Nick name: Submit Cancel
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.

0
0
0
10