Check out example codes for "web mdc cdn". It will help you in understanding the concepts better.

Code Example 1

<link href="https://unpkg.com/[email protected]/dist/material-components-web.min.css" rel="stylesheet">
<script src="https://unpkg.com/[email protected]/dist/material-components-web.min.js"></script>
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons">

Learn ReactJs, React Native from akashmittal.com