Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

JavaScript JavaScript Loops, Arrays and Objects Tracking Data Using Objects Accessing Object Properties

fredyrosales
fredyrosales
10,572 Points

Need help viewing in browser.

Hey guys i recently downloaded Atom. I got the files running and when i try to view my work in the browser i have no clue how to get it to preview. If anyone knows how i would really appreciate it. Thank you/

1 Answer

Hey Fredy, it's awesome you are working from Atom, it's a fantastic text editor. What I would suggest is copy and pasting the contents of index.html file from workspace into your own index.html file and also do the same with the object.js file. Make sure your file structure on your computer is the same as what's work spaces. Once you have done that you should be able to open index.html in any browser. Remember every time you make a change in your HTML, CSS, or JS you will have to refresh the browser tab for those updates to run. Also if you have any console.logs in your JS it will show up in the browsers console.

fredyrosales
fredyrosales
10,572 Points

Ethan i will let you know if this helps me in a bit. I switched over to learn Css To Sass since i skipped it. Once i complete that i will go back to J.s! Thanks for the feed back man.