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

Java

Pop-up problem

I am trying to make a cute little javascript pop-up, work. But, it isnt. Please scrutinize the code below... i got it from a video. I use it in enfold-powered wordpress site.

<link rel=”stylesheet” type=”text/css” href= “application.css”> <script type=”Text/javascript”> Alert(‘hello world!’); <script>

2 Answers

Why do you have this question under JavaScript and Java? You only need to post your question one time and under one category to get an answer. I've answered this for you in your JavaScript tagged question.

Also, don't get confused into thinking Java and JavaScript are the same because of their similar names. Its actually quite the opposite. They're very close to being nothing alike.

Ah, thank you. Understood