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 trial

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!