Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialKeith Corona
9,553 PointsAtom text editor in place of Workspaces
Hey guys,
I have asked a question like this before, but even more general (regarding Atom text editor). I have been using Atom the last few days as I ran out of my limited amount of Workspace files, and I like it, but I just have a question about previewing my markup. I can access the markup preview for HTML, but when I try to preview the changes made in css and JS files (from the lesson files), I do not know how to bring about a preview screen. I have watched numerous youtube videos about introductions to Atom, have read on their site and others' sites but still don't understand if this feature doesn't exist or if I am not accessing it correctly. Desperate help. Thanks in advance!
2 Answers
Kyle Strouse
Front End Web Development Techdegree Student 10,147 PointsCame across this as I was Googling some other issue and landed here. Atom has a package called "Open in Browser" that will allow you to "preview" your work in a browser.
To download packages in Atom go to the preferences/settings and then click on "packages." Packages are basically addons.
Jacob Mishkin
23,118 PointsHave you dragged and dropped your index.html file into a web browser yet? I don't use Atom, but generally that should do it.
edit: from projects that you have made locally, not on workspaces.
Keith Corona
9,553 PointsHi Jacob,
I haven't done that yet. I will try later today and see if that does the trick and let you (and potentially others) know.
Thanks for your input.