CRT-211 practice question 12 of 30

Cloud Kicks uses a Lightning web component to provide instructions to sales reps. An administrator needs to correct a spelling error in the displayed text in one of the Lightning web components. What is the recommended tool to make the change?

Full set: 222 questions
Answer options
A: Developer Org
B: VisualStudio Code Correct answer
C: Salesforce Lightning Inspector
D: Developer Console
Correct Answer:
B. VisualStudio Code
Explanation

Lightning Web Components (LWCs) are developed using standard web technologies (HTML, JavaScript, CSS) and are stored as source files. The recommended and most powerful tool for developing and editing these source files is Visual Studio (VS) Code with the Salesforce Extension Pack. This integrated development environment (IDE) provides features like code completion, linting, and direct integration with Salesforce orgs for deploying changes, making it the standard for LWC development and maintenance, including simple text corrections.

Why Incorrect

A. A Developer Org is a type of Salesforce environment for building and testing, not a code editing tool itself.
C. Salesforce Lightning Inspector is a browser extension for debugging and performance analysis of components at runtime, not for editing their source code.
D. The Developer Console has limited support for Lightning Web Components; it is primarily used for Apex, SOQL, and Aura components. VS Code is the standard tool.

References

1. Salesforce Developer Documentation. (2024). Set Up Your Development Environment. "We recommend using Visual Studio Code as your code editor. It's a free, open-source editor that's available for Windows, Linux, and macOS. With the Salesforce Extension Pack, it provides powerful features for development on the Lightning Platform." (Section: "Set Up Visual Studio Code").

2. Salesforce Trailhead. (2024). Quick Start: Lightning Web Components. "The Salesforce Extension Pack for Visual Studio Code includes tools for developing on the Salesforce platform... It's the tool to use for Lightning Web Component development." (Unit: "Set Up Your Development Environment").

Scroll to Top