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 Introduction to Programming Basics Writing Your Program

help

How to find index.html on chrome please help. thank you

44 Answers

jeremy rackley
jeremy rackley
22,336 Points

Your index.html file will be wherever you saved the file at on your computer. If using windows try checking in the documents, when you find the file then right click on it and choose open with chrome.

jeremy rackley
jeremy rackley
22,336 Points

Also I have found on my computer that if you are trying to preview the index file from the workspaces preview function, it will only come up in whatever browser you are using at that time. If logged into treehouse from firefox it will only open in firefox, so if you want to see it in chrome you have to log in on chrome as well and then use the preview from workspaces from the chrome browser.

jeremy rackley
jeremy rackley
22,336 Points

It definately helped me, but learning styles are different between different people. However if you understand php a little easier like I did, then you will understand javascript afterwards as well. All programming languages use the same concepts such as loops, arrays, and functions, there are just minor differences in the syntax. Is there a reason that you need to know javascript so badly at the moment like for a job? Because you really need to know html and css before you learn javascript in my opinion as they all go hand in hand.

jeremy rackley
jeremy rackley
22,336 Points

Treehouse will not guarantee you a job however they have resources to help you find one, the hard work is up to you. Look at Treehouse as a college in a way, just you are not taking classes you do not need, you are only taking classes to help you build a career. Treehouse is a learning tool.

Jeremy do i need to download index.html file on my computer

jeremy rackley
jeremy rackley
22,336 Points

If you are using workspace then there is no need to download it, however if you want to use your own text editor like Sublime text then you can download it or just copy the code from workspace into your editor and then save it to a location on your computer.

jeremy rackley
jeremy rackley
22,336 Points

Have you already created the file with some code in it? If not then there is no such file, you have to make it. index.html will usually be the filename that you use for your home page as it is the first file a server will look for in a directory once uploaded to a host.

Thanks Jeremy your help has been helpful because it my first day of learning but thanks

jeremy rackley
jeremy rackley
22,336 Points

Hope you get it you will find it very enjoyable, javascript can be very tough to jump straight into. If you do not have any knowledge of html and css I recommend doing those first, and then javascript. I never understood javascript until I started doing php which seemed to help me understand it better. Good luck and have fun you will learn a lot.

Jeremy when you learn php which lessons did you take because i see 3 classes for beginners and am confused please help.

jeremy rackley
jeremy rackley
22,336 Points

I did the entire track for php development, the 2 languages are very similar, I just understood the way php does things better for some reason and then after that I looked at javascript again and it was a lot easier for me.

Thank you

jeremy rackley
jeremy rackley
22,336 Points

No problem. If you need any help feel free to ask anytime.

okay

hello Jeremy am stack on the css selector and property.

jeremy rackley
jeremy rackley
22,336 Points

I need a little more info? The selector would be # for selecting an id or a period for selecting a class. For example if you have a nav element with an id of "navigation" then to select it in css you would use

jeremy rackley
jeremy rackley
22,336 Points
/* id example*/
#navigation {properties go here}
/*class example*/
.navigation{properties go here}

the properties would be things such as color, floats, margins, etc...

Am sorry I'll be going for work but when I get back I'll show you where I need help. Thanks

Challenge task 1 of 3 We’re starting out with an <h1> element and a <body> element. Add a <style> element just above the <h1>. Important: The code you write in each task should be added to the code written in the previous task. PreviewCheck work index.html

that's the part i need help on and when i try the same way i learnt from the video it's says bummer!

still on the beginning part of PHP

jeremy rackley
jeremy rackley
22,336 Points

Which series is this in and I will help you out to understand the answer.

i just figured it out.

am now doing HTML

jeremy rackley
jeremy rackley
22,336 Points

ok good, let me know if you need anything, just be sure to let me know what section you are working on if you have any questions. Keep with it and it will become natural before you know it.

am doing join track of PHP with Nick Pettit do you know that one

jeremy rackley
jeremy rackley
22,336 Points

Yep the php track starts with the how to build a website with Nick. Very good course to take, it will get tough once you start building the store. Just keep with it and you will be fine.

okay and will it help me get through Javascript

jeremy rackley
jeremy rackley
22,336 Points

Also another good place to check out is codecademy,com, it is free and has html, css, javascript and php courses that are a little more hands on. I use this site as well as treehouse.

yes i need it for a job but since you say it's important to have the html n css first then i can be able to understand javascript then that's the step i have to take. For long did you learn html n css.

jeremy rackley
jeremy rackley
22,336 Points

You can really learn the basics of html5 and css3 in no time, I would say if you have the time to put into it you will know what you need to in 1-2weeks honestly. If you need to build web pages it will take you a little while longer to get the advanced stuff down.

i work and i have school am in college, i really have little time but i'll definitely try out that website too.

jeremy rackley
jeremy rackley
22,336 Points

It honestly has a little better javascript course in my opinion you may like it and find it easier on that site, if you try it out let me know and I can give you my info for that site as well if you need help on there.

i should start putting more time so that i can be able to complete.

jeremy rackley
jeremy rackley
22,336 Points

Absolutely, I am here if you need help.

Jeremy when you complete on team tree house do you get a certificate and can it be recognized when you wanna get a job.

jeremy rackley
jeremy rackley
22,336 Points

No you just earn your badges, however you can show these on a resume as treehouse is becoming extremely popular in the web business and it business. It is more for learning but they also offer a lot of career advice as well as job boards.

so you just earn badges that's it and do you get you jobs when you complete.

okay i understand, but the reason to why i as asking about certificate thing was because am learning computer science and java is included too so i thought if i get a certificate and present it at school i'll not study it again.

jeremy rackley
jeremy rackley
22,336 Points

AH I am taking Java as we speak in this semester, now Java and JavaScript are 2 different languages so that is clear even though they sound the same. Java is a compiled language and is similar to C language or .net. JavaScript will not help you at all really when it comes to learning Java, as Java is more of an object oriented language then JavaScript is, even though you can do oop in javaScript. also languages like Java are used to create executable files such as desktop applications and Android development.

ohhh....okay so if i keep doing javascript will i be able to get a job

jeremy rackley
jeremy rackley
22,336 Points

JavaScript can be a very high demand, but this depends on what kind of job you are looking for. JavaScript is used mainly in web development and design. It is gaining a lot of momentum though for games now with css and html5, such as games like angry birds or cut the rope. what kind of job specifically are you looking to get? I can help you better understand what you need to know then.

am looking for JavaScript developer

jeremy rackley
jeremy rackley
22,336 Points

Then that makes perfect sense! Do html, css, and javascript. You definataly need to know some html not a whole lot though in order to implement the javascript into the page.

okay thanks you have really helped me.

jeremy rackley
jeremy rackley
22,336 Points

Not a problem, study hard and get your dream job! Here if you need me.