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.

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>