Learn how to setup Raspberry PI 3 onboard WiFi in Ubuntu with Netplan.
I am using Ubuntu 20.04 on a Raspberry PI in this video.

Command Used
1) Revision of the Linux OS.
lsb_release -a

2) Directory where the configuration file is stored.
cd /etc/netplan

3) Using nano as a text editor with sudo access
sudo nano

4) Debugging and applying the yaml configuration file to the Netplan application
sudo netplan apply
For testing use this command. This command continue even if there are errors.
sudo netplan –debug try
To generate detail debugging messages in case there is problems with the configuration or the “try” command. I use this mostly for debugging.
sudo netplan –debug generate
Apply the yaml configuration to the Netplan application. This command is executed when there is no more issues during the “generate” command.
sudo netplan –debug apply

5) Directory list
ls

6) List of network devices on the Raspberry PI
ip addr

This is the yaml file in the video.

network:
version: 2
renderer: networkd
ethernets:
eth0:
dhcp4: no
addresses: YOUR_STATIC_IP_ADDRESS/24
gateway4: YOUR_GATEWAY_IP_ADDRESS
nameservers:
addresses: [8.8.8.8,8.8.4.4]
wifis:
wlan0:
dhcp4: yes
access-points:
“YOUR_WIF_ACCESS_POINT_NAME”:
password: “YOUR_WIFI_ACCESS_POINT_PASSWORD”

https://youtu.be/YzpiCzn0TdI

Reference