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 trial

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.