Here are the specific file locations for loading each of the CSS and JS files.
<link href="css/default.css" rel="stylesheet" />
<script src="js/main.js"></script>
In XML, the filename is input as shown below:
let data = "";
let url = 'xml/emailtext.xml';
fetch(url).then(response => response.text()).then(data => {
let parser = new DOMParser();
let doc = parser.parseFromString(data, 'application/xml');
});
And in JSON format?
let strfy = JSON.Stringify('json/file.json');
let json1 = JSON.parse('strfy');