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

Shaked Gvirtsman
Shaked Gvirtsman
2,270 Points

Title of the tab isn't changing in sumbline text

So I decided to start my own project in the sublime text HTML editor and wrote a few very simple lines of code that tells the browser what is title of tab. It works in workspaces but not in sublime text. Can someone please help me and tell me why it isn't working? update just found nothing gets updated, guess I will stick with workspaces for now

<!DOCTYPE html>
<html>
        <head>
            <title>Ahi's lectures for kids</title>
    </head>
</html>
Shaked Gvirtsman
Shaked Gvirtsman
2,270 Points

Yes, switched to workspaces for now, thank you anyway!:)

Podrig Leoghain
Podrig Leoghain
5,094 Points

If BarrettDeFrancis answer worked then please mark his answer as correct. If not then we'll need more info in order to get you and your text editor working together.

Podrig Leoghain You can't mark someone's comment as a best answer.

1 Answer

Barrett Defrancis
Barrett Defrancis
7,743 Points

Copied your code here and saved it in sublime as an .html file. Opened it with Chrome and the tab title was working. Are you saving it with the .html extension?

Changed to answer so it can be upvoted now.

There is no reason why it wouldn't work if the file was edited in Sublime. The code is valid.

Barrett makes a good suggestion, you could also try clearing your browser's cache.