Hi!
Ich bin leider ein ziemlicher Anfänger was Programmieren bzw HMTL anbelangt...
<head>
<title>A little Quiz!</title>
<script language="Object Rexx">
::routine work public
output~innerhtml=correct if input~value=20 else output~innerhtml=incorrect
</script>
</head>
<body>
<h1>Welcome to the Quiz!</h1> <BR>
<p>Please answer the following questions as accurately as possible and see if you belong to the kind
of Clever&Smart or if you feel more akin with Dumb & Dumber!!! ;-)<p> <BR>
<p> What is your name? <p>
<input id="input" type="textarea" size="50"> <BR>
<input type="BUTTON" onclick="call work" language="Object Rexx"
value="Please Press Me!"><p> <BR>
<p id="output"> <BR>
Ich wollte erreichen, dass wenn man 20 eintippt, danach "correct" erscheint, andernfalls soll "incorrect" erscheinen... bekomms aber irgendwie nicht hin... ;ugl
Thx schon mal!
Ich bin leider ein ziemlicher Anfänger was Programmieren bzw HMTL anbelangt...
<head>
<title>A little Quiz!</title>
<script language="Object Rexx">
::routine work public
output~innerhtml=correct if input~value=20 else output~innerhtml=incorrect
</script>
</head>
<body>
<h1>Welcome to the Quiz!</h1> <BR>
<p>Please answer the following questions as accurately as possible and see if you belong to the kind
of Clever&Smart or if you feel more akin with Dumb & Dumber!!! ;-)<p> <BR>
<p> What is your name? <p>
<input id="input" type="textarea" size="50"> <BR>
<input type="BUTTON" onclick="call work" language="Object Rexx"
value="Please Press Me!"><p> <BR>
<p id="output"> <BR>
Ich wollte erreichen, dass wenn man 20 eintippt, danach "correct" erscheint, andernfalls soll "incorrect" erscheinen... bekomms aber irgendwie nicht hin... ;ugl
Thx schon mal!