Atom Live server not functioning properly


there is something wrong in my set up I think as
when I try to preview a HTML page Preview only shows the code written not the output and similar problem with live server.
when I start liveserver it will show me a list of files instead of the page i designed.
any ideas how to fix this.
(please describe step by step if possible… if you write change the root directory json file …I will have no idea where to do so.)


It would be helpful for you to share screenshots of Atom. Specifically, when you’re using the preview package (make sure to identify which package you’re using), and what you see when the server starts.