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.

HTML

Ryan Chadha
Ryan Chadha
623 Points

Preview not working properly

Hi, I am using chrome, and my preview button doesn't seem to work - what am I doing wrong?

2 Answers

Jorge Eduardo Garcia Celorio
Jorge Eduardo Garcia Celorio
10,112 Points

Hello! Try using another browser. It happens all the time, especially in the PHP courses. I regularly use mozilla firefox in order to avoid that glitch.

Just a recommendation: try using a code editor and type the whole challenge by yourself; then, open it in a browser and see the results. Although it may seem cumbersome and tedious, it will help you A LOT to identify syntax such as semicolons, curly braces, opening and closing tags, etc. You will learn better!

Ryan Chadha
Ryan Chadha
623 Points

Hi Jorge,

I started using Notepad ++ as you suggested - it was working fine until it was only HTML. Now with CSS, i doesn't seem to work. How do I combine the HTML and CSS code?

Thanks!

Ryan Chadha
Ryan Chadha
623 Points

Hi Jorge,

Thanks a lot - yes I did exactly that - opened it up in notepad and then opened it in a browser

Thanks!