If you live preview a HTML file, your assets might not load because codetasty doesn't know url to your file/workspace. You can fix this by adding <base> tag to the beginning of <head>.
<head>
<base href="https://domain.com/path">
...
</head>
Change href to url of your workspace.
Learn more here.