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 trialJustin Rose
12,842 PointsAccessing Object Properties lesson
so the Accessing Object properties Lesson video. I got everything to work to say Hello my name is Sarah, But when i copy that same correct code and put in a folder together with the css file, the index.html file and the syles.css file. only objects shows up in the web page. Im trying to understand why it will work in the lessons but not with a text editor everything is exactly the same i copied the files that were correct. any ideas?
1 Answer
Murilo de Melo
14,456 PointsIt's a little confusing. Do you mean properties of objects in JS? The code is not together with a css file, but with a js file, with this extension- they're different. Also, there are text editors that do not have JS pre-installed, only HTML and CSS.
Nelson J
7,411 PointsNelson J
7,411 PointsYou mentioned that you added the index.html and syles.css (did you mean styles.css?).