+ 1
how can i use css and js file from code playground in any html file while running on my site like corona updates
1 Answer
+ 1
This is a very basic template you can follow :
Make a file with .html extension. Then inside the file copy your html code from the html tab of the code playground. Consider the following example:
<html>
<head>
<style>
<!-- Place your css here from the css tab -->
</style>
<body>
<!-- Html code -->
</body>
<script>
// place your js code here from the js tab
</script>
</html>
However, you can make things more easier by adding the external css and script!