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 JavaScript Basics Working with Strings Transform and Manipulate Strings

Alex Tansey
Alex Tansey
3,386 Points

console not uploading new input

Has anyone else had the issue where the console will continue to display previous work and not update to new work? Every time I launch a new workspace, the console still displays my previous work and not my current work. For this specific assignment, my console would continue to read "Hello, World!" despite that assignment being from several workspaces prior. Please let me know if anyone knows of a fix for this issue.

1 Answer

Curtis Reker
seal-mask
.a{fill-rule:evenodd;}techdegree
Curtis Reker
Full Stack JavaScript Techdegree Student 4,607 Points

Not 100% sure but you might need to change the HTML code where your javascript file is linked. so if you are on the second strings lesson, you will need to change the <script src="js/transform.js"></script> You probably still have js/strings.js See full HTML below

<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>JavaScript Basics</title>
    <link href="css/style.css" rel="stylesheet">   
  </head>
  <body>
    <main></main>
    <script src="js/transform.js"></script>    
  </body>
</html>