Title: Add First web Part using SharePoint Framework(SPFX)
Step 1 : open node.js command promt from start menu.
Create Folder and Navigate to Newly Created folder
Step2: Execute below command (case sensitive
>yo @microsoft/sharepoint

Step3:
I have provided the Solution name MySolution and Click on Enter
Note: if you want to continue as a folder name which has suggested by default, Click enter.

Step4:
Select the environment and click on Enter

Step 5:
Chose any one of below option based on your requirement.

Step6:
Below confirmation message comes

Chose y or n

Step7:
Select webpart

Step 8:
Provide the web Part name. I have provided the Name FirstDemoWebpart

Step 9:
Provide the description of the WebPart and choce the Framework.
I am selection "No Javascript framework" in ths demo. It takes 20 min to generate require code after clicking on enter. lease wait

Step 10: Below success message comes.
Step 11 : Navigate to Solution and open code in Visual Studio Code using below command
Step 1 : open node.js command promt from start menu.
Create Folder and Navigate to Newly Created folder
Step2: Execute below command (case sensitive
>yo @microsoft/sharepoint
Step3:
I have provided the Solution name MySolution and Click on Enter
Note: if you want to continue as a folder name which has suggested by default, Click enter.
Step4:
Select the environment and click on Enter
Step 5:
Chose any one of below option based on your requirement.
Step6:
Below confirmation message comes
Chose y or n
Step7:
Select webpart
Step 8:
Provide the web Part name. I have provided the Name FirstDemoWebpart
Step 9:
Provide the description of the WebPart and choce the Framework.
I am selection "No Javascript framework" in ths demo. It takes 20 min to generate require code after clicking on enter. lease wait
Step 10: Below success message comes.
Step 11 : Navigate to Solution and open code in Visual Studio Code using below command