A developer has the task to create custom Lightning web components (LWCs). Which two steps must a developer take when creating custom LWCs?
Correct Answer: A,D
To create custom Lightning web components (LWCs), a developer must take two steps: authorize an org for an SFDX project and deploy a custom component. Authorizing an org for an SFDX project allows the developer to connect to a Salesforce org, such as a scratch org, a sandbox, or a production org, and use it as a development environment. Deploying a custom component allows the developer to push the LWC code from the local project to the org and make it available for use. Creating an Apex class is not a required step for creating custom LWCs, as not all LWCs need to use Apex. Cloning an LWC is not a required step either, as it is an optional way to create a new LWC based on an existing one. Salesforce Lightning Web Components Developer Guide: Authorize an Org for Development,Lightning Web Components Developer Guide: Deploy Your Component