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 trialscott Walker
2,506 PointsI've done this several different way now and i don't have a clue what its asking for
so do i put in :
in the last one i passed th making the variable the return result almost by accident i dont quite get whats happening
function returnValue(argument){
return argument
}
function returnValue(911)
var echo = ReturnValue ;
<!DOCTYPE HTML>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>JavaScript Basics</title>
</head>
<body>
<script src="script.js"></script>
</body>
</html>
1 Answer
buddha acharya
Courses Plus Student 4,023 Pointsyour doing greet, just check your syntax, while assigning your function to the echo variable, then enclose your argument on quotes, no need for this (function returnValue(911))
var echo = returnValues("911");