How to use libraries

  • In your HTML, CSS can go directly into a <style> tag
  • CSS can also be in an external file with a <link>
  • To use a CSS framework, just link the file with a <link> tag
  • The easiest way to use a JS library is just linking with a <script> tag
  • You may see some examples online with import but you need some special tools for those
<body>
    ...
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
</body>

3 / 24