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 trialdavide totaro
5,559 Pointsfunction warning() { alert('Warning, warning, warning!'); } ..........
anyone can help me to fill it up the question?
4 Answers
Jacob Mishkin
23,118 PointsWhat the question wants you to do is to call the function. In other words write the function name after the completed function.
Jacob Mishkin
23,118 PointsSo in the question it gives you a completed function named warning. Now in order to use that function, you have to "call" the function. in other words, write the function name, in this case it's "warning()".
davide totaro
5,559 Pointsi don t understand
garyfitzwater3
Courses Plus Student 1,666 PointsDon't put "warning()" in there as it will fail it starts with a capital W and the ; is already there so its Warning()
They are asking you basically to call the function. Most people fail this one due to a typo..good luck