Having problems while coding javascript

L00PeR
7 years ago

1

Click on this paragraph!!

10replies
4voices
228views
SIGKILL [r4v463]
7 years ago

1

Try putting

<script type="text/javascript">

instead of

<script>

On the 5th line

SIGKILL [r4v463]
7 years ago

1

You can also put

<body onload="greet_handler();">

to be sure that your code will be executed.

L00PeR
7 years ago

0

doesn’t work…
This is HTML5…. you don’t need to write that…

L00PeR
7 years ago

0

I’m following a course and I’m suposed not to use that…
I was suposed to use the addEventHandler() function

Codner
7 years ago

0

huh

SIGKILL [r4v463]
7 years ago

0

Well, I’m not an HTML professional so I can’t help you further ^^

Reply has been removed
L00PeR
7 years ago

0

no problem :)
I just started a couple of days ago with HTML5

Codner
7 years ago

0

L00PeR, you say ur english is not good but i think its quite good

Reply has been removed
Mugi [Mugiwara27]
7 years ago

1

You should pay attention on what you’re typing ;

function greet(){,  

Why is there a comma at the end of the line ? Get rid of it and everything is gonna work :)

L00PeR
7 years ago

0

no way…
All the * morning searching what was wrong and haven’t seen the ** comma…

Discussion thread has been locked. You can no longer add new posts.
1 of 11

This site only uses cookies that are essential for the functionality of this website. Cookies are not used for tracking or marketing purposes.

By using our site, you acknowledge that you have read and understand our Privacy Policy, and Terms of Service.

Dismiss