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.
I wonder if it is asking me to repeat the same exact step that i already did.
Steven Parker210,423 Points
There are two kinds of "script" tags. One kind has a "src" attribute that names an external file to be loaded and run. That kind should not have any code between the start and end tags.
The other kind does have code between the tags, but it does not have a "src" attribute in the start tag. That's the kind you need for this particular challenge. And as Brendon observed, that stray "if" shouldn't be there:
<script> alert("Warning"); </script>
Øyvind Andreassen16,839 Points
Could you please be more specific? Are you submitting the code you attached and getting an error, and is this regarding the code challenge on "Write another program" because that challenge doesn't require you to include an external script, but the next challenge does.
Brendan WhitingFront End Web Development Techdegree Graduate 84,676 Points
You've already done it, just get rid of