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

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!