First, copy the link to the web resources you want to share in Moodle. This can be an entire site, like https://youtube.com, or an individual video, page, or any other publicly linkable resource available on the web.
With editing turned on in your class, open the Add an activity or resource menu in the section of your course outline where you want the link to appear. Select the button next to URL under Resources (at the bottom of the list) and click Add.
On the URL resource settings page that opens, give your resource a name in the Name field and type (or paste) the link in the External URL field.
In the Appearance section, you have the option to choose from several ways to Display your link. We recommend choosing either Open or Automatic for most links, because some of the other options can be confusing to those who have difficulty processing visual information.
Click Save and return to course or Save and display (to test your link), and you are done!
