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 (Retired) Introducing JavaScript Write Another Program

Why does it say, "you have too many script tags?" Or, "you didn't call the alert function inside the script tags?"

Every time I try this exercise I get a Bummer saying either that I have too many <script> tags or that I didn't call the alert function inside the <script> tags. Please let me know which part of my code is wrong.

2 Answers

For this challenge, you will only need one pair of script tag to pass. Try figuring out what the opening and closing script tags look like. Hint: <script> is this opening script tag.

Hope this helps!