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![](https://ecs-static.teamtreehouse.com/assets/views/marketing/shared/community-banner-white-47072046c51352fe6a69f5e691ff5700b28bb11d45197d7bdf066d9ea3f72d0c.webp)
![Angelica Guerrero](https://secure.gravatar.com/avatar/288c8cda9a7996be689adfe01e46200f?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Angelica Guerrero
1,104 PointsI've noticed that even when I have exactly the code demonstrated in the video, the preview console will not reflect it.
For example, I wrote this into my workspace console:
const htmlSnippet = '<h1 class="headline">My Headline</h1>'; const message = 'I\'m a programmer!';
const multiline = "Hello, students. \ Welcome to JavaScript Basics. \ I hope you learn a lot!";
console.log(multiline);
--
This is exactly what is demonstrated in the video. This was to practice continuing the strings across multiple lines, after demonstrating that without the "\", the console would display an error. However, after saving the console and refreshing it multiple times, the error still appears. Finally, it disappears as the website catches up, with no changes on my end. I've noticed this happening in multiple workspaces throughout my assigned course.
2 Answers
![Steven Parker](https://uploads.teamtreehouse.com/production/profile-photos/969492/micro_tool_chess_set_2.jpg)
Steven Parker
230,853 PointsI'm not quite sure what you mean by "as the website catches up", but it sounds like you might be experiencing some trouble with the performance of your service provider. And with your description of "the error … disappears… with no changes on my end" it definitely sounds like it's not an issue with the workspace.
You might try running some internet response tests and then contact your ISP's customer service department.
![Geoff Christie](https://secure.gravatar.com/avatar/f38f84aa93a9c420f6104658ea2f02e8?s=96&d=https%3A%2F%2Fecs-static.teamtreehouse.com%2Fassets%2Fcontent%2Fdefault_avatar-445fbbabfc8dc9188fb5967fe43322ee0c3e0dd1e10f378bf8343784af5a13eb.webp&r=pg)
Geoff Christie
621 PointsHi Angelica,
Make sure the \ is the last character on the line.
Instead of your line 3 being:
const multiline = "Hello, students. \ Welcome to JavaScript Basics. \ I hope you learn a lot!";
have it split to lines 3, 4 and 5 as:
const multiline = "Hello, students. \
Welcome to JavaScript Basics. \
I hope you learn a lot!";
This coding worked for me below:
const htmlSnippet = '<h1 class="headline">My Headline</h1>';
const message = 'I\'m a programmer!';
const multiline = "Hello, students. \
Welcome to JavaScript Basics. \
I hope you learn a lot!";
console.log(multiline);
Let me know if that helped!
Angelica Guerrero
1,104 PointsAngelica Guerrero
1,104 PointsThe ISP is fine- other sites run fine concurrently and the speed tests are good. I'm certain that isn't the issue.
When I say "catches up," I mean that I will save my workspace, refresh the preview page over and over again, and it won't reflect the changes in my workspace, as if I had not saved it at all. When the preview page does finally change to reflect the changes I made to the code, it's not due to anything I'm doing on my end- it just spontaneously updates. This has happened several times in different workspaces across this track. It's a little frustrating, because I have to wait for it to resolve until I can continue with the coding. I once had to save + refresh a dozen times over 20 minutes, after confirming character by character that there was nothing wrong in my code, before the preview page updated.
Steven Parker
230,853 PointsSteven Parker
230,853 PointsYou should only need to save the code and refresh your browser one time each to see the changes. Doing it again with no code changes won't do anything.
Be sure you refresh your browser in a way that overrides the cache (like Ctrl-F5 on Chrome).