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.

Allen Dean
5,702 PointsI need help with my code challenge project.
I added a script tag and src attribute to index.html. Not sure what to do next.
<!DOCTYPE HTML>
<html>
<head>
<meta charset="utf-8">
<title>JavaScript Basics</title>
<script src="myJSfile.js"></script>
</head>
<body>
</body>
</html>
4 Answers

Mark Sebeck
Treehouse Moderator 30,397 PointsHi Allen. Your src needs to be the name of your js file. In this case it should be app.js and should be between the body tags.

Allen Dean
5,702 PointsMark I'm having a problem with challenge 2. I went to app.js added console.log with a quote and it didn't work.

Mark Sebeck
Treehouse Moderator 30,397 PointsIt should be console.log(“begin program”);

Allen Dean
5,702 PointsThanks again Mark!

Allen Dean
5,702 PointsHi Mark, I working on Challenge 2 of 3 (combine strings). It's not working for me. Do you have any input you can share with me?
let msg = 'Carlos' + ", " + 'Salgado:';
let role = msg + 'developer';
create a string: Carlos Salgado: developer.

Mark Sebeck
Treehouse Moderator 30,397 PointsHi Allen. Make sure you are using your variables. Something like
let msg = firstName + ' ' + ......
just continue with you other variable. make sure you do the spacing correct on the colon.
Allen Dean
5,702 PointsAllen Dean
5,702 PointsThanks Mark!