Home Entrance Everyone Wiki Search Login Register

Welcome, Guest. Please login or register. - Thinking of joining the forum??
April 19, 2024 - @802.62 (what is this?)
Forum activity rating: Three Star Posts: 43/1k.beats Unread Topics | Unread Replies | Own Posts | Own Topics | Random Topic | Recent Posts
News: :ozwomp: Reminder: Forum messages stay readable for years! Keep yours high quality! :ozwomp:

+  MelonLand Forum
|-+  World Wild Web
| |-+  ✁ ∙ Web Crafting
| | |-+  Neocity/Geocity Personality Quizzes


« previous next »
Pages: [1] Print
Author Topic: Neocity/Geocity Personality Quizzes  (Read 501 times)
dotmidi
Sr. Member ⚓︎
****


i have grown accustomed to your face...

iMood: dotmidi

View Profile WWW

First 1000 Members!Graduate '23Pocket Icelogist!Pet BatCool Dude AwardJoined 2022!
« on: February 18, 2023 @861.06 »

SOoo, I've been doing a lot of personality quizzes to add to my website and I was wondering how one could make these kindsa quizzes for their websites! Me and Twan1 were discussing making a personality quiz on "What Kind of Gross Water Are You?" and I was wondering how we could go about coding a classic geocity quiz like these. I've never made a personality quiz before so I was just curious as to anywhere I could code/make one,
 orr share your own personal experiences with personality quizzes you've played or made.  :ok:  :ok:
Logged

From time to time
I may speak in cliché
It's a sign of my age
What can I say?
Cele
Sr. Member
****

any way the wind blows


View Profile

First 1000 Members!Joined 2022!
« Reply #1 on: February 22, 2023 @145.83 »

The site you linked seems to use JavaScript for it.

Code
<script language="JavaScript">
<!--
function process()
{
    var rose = 0;
    var tulip = 0;
    var  lupine= 0;
    var lily = 0;
        var f = document.f;
    var i = 0;

    for (i = 0; i < f.one.length; i++) if (f.one[i].checked) value = f.one[i].value;
    if (value == "1") { rose++; }
    if (value == "2") { tulip++; }
    if (value == "3") { lupine++; }
    if (value == "4") { lily++; }
    

    for (i = 0; i < f.two.length; i++) if (f.two[i].checked) value = f.two[i].value;
    if (value == "1") { rose++; }
    if (value == "2") { tulip++; }
    if (value == "3") { lupine++; }
    if (value == "4") { lily++; }
    
    for (i = 0; i < f.three.length; i++) if (f.three[i].checked) value = f.three[i].value;
    if (value == "1") { rose++; }
    if (value == "2") { tulip++; }
    if (value == "3") { lupine++; }
    if (value == "4") { lily++; }
    


    for (i = 0; i < f.four.length; i++) if (f.four[i].checked) value = f.four[i].value;
    if (value == "1") { rose++; }
    if (value == "2") { tulip++; }
    if (value == "3") { lupine++; }
    if (value == "4") { lily++; }
    

    
    for (i = 0; i < f.five.length; i++) if (f.five[i].checked) value = f.five[i].value;
    if (value == "1") { rose++; }
    if (value == "2") { tulip++; }
    if (value == "3") { lupine++; }
    if (value == "4") { lily++; }

    for (i = 0; i < f.six.length; i++) if (f.six[i].checked) value = f.six[i].value;
    if (value == "1") { rose++; }
    if (value == "2") { tulip++; }
    if (value == "3") { lupine++; }
    if (value == "4") { lily++; }
    


    var out = "rose";
    i = rose;
    if (rose > i) { out = "rose"; i = rose; }
    if (tulip > i) { out = "tulip"; i = tulip; }
    if (lupine > i) { out = "lupine"; i = lupine; }
    if (lily > i) { out = "lily"; i = lily; }

    location.href = out + ".html";
}
function err(msg, url, line)
{
        location.href = "error.html";
}
//window.onerror = err;
// -->
</script>

And then

Code
<form name="f">
</font><font color="black"><b>which of these colors do you like more</b><br>
<input type="radio" name="one" value="1">red<br>
<input type="radio" name="one" value="2">yellow<br>
<input type="radio" name="one" value="3">purple<br>
<input type="radio" name="one" value="4">orange<br>

<br><br>
</font>
<font color="black"><b>whats your fashion style</b><br>
<input type="radio" name="two" value="1">everything elegant and pretty<br>
<input type="radio" name="two" value="2">anything comftorable<br>
<input type="radio" name="two" value="3">preppy<br>
<input type="radio" name="two" value="4">goth<br>

</font>
<br><br>

<font color="black"><b>whats your kind of movie</b><br>
<input type="radio" name="three" value="1">romance<br>
<input type="radio" name="three" value="2">comedy<br>
<input type="radio" name="three" value="3">action<br>
<input type="radio" name="three" value="4">scary<br>

</font><br><br>

<font color="black"><b>your would rather:</b><br>
<input type="radio" name="four" value="1">eat<br>
<input type="radio" name="four" value="2">run<br>
<input type="radio" name="four" value="3">watch tv<br>
<input type="radio" name="four" value="4">hang out with friends<br>
</font>
<br><br>

<font color="black"><b>whats your favorite candy of these:</b><br>
<input type="radio" name="five" value="1">twizzlers<br>
<input type="radio" name="five" value="2">m &amp; m's <br>
<input type="radio" name="five" value="3">snickers<br>
<input type="radio" name="five" value="4">starburst<br>
<br>
<font color="black"><b>your ideal friend is:</b><br>
<input type="radio" name="six" value="1">trustworthy<br>
<input type="radio" name="six" value="2">honest<br>
<input type="radio" name="six" value="3">fun<br>
<input type="radio" name="six" value="4">caring<br>



<br>
<input type="button" value=" WHATS YOUR FLOWER? " onclick="process();" style="font-family:veranda; font-size=8pt; border:1; border-color:orange;  border-style:solid; background-color:white"><br><br><br>

And it seems so that after clicking the "What's your flower?" button, it takes you to a new page which is flowers name and .html. I've never actually tried this, just looked at the code on the site you linked... maybe there's an easier way.

I guess I can put in the result I got... tulip!

Logged
Pages: [1] Print 
« previous next »
 

Vaguely similar topics! (2)

Personality Quiz Results!

Started by MelooonBoard ☕︎ ∙ Fun & Forum Games

Replies: 23
Views: 1443
Last post October 11, 2023 @896.50
by CATBYTE
Quizes/personality tests

Started by tarraxahumBoard ☞ ∙ Life on the Web

Replies: 2
Views: 500
Last post January 16, 2023 @757.38
by tarraxahum

Melonking.Net © Always and ever was! SMF 2.0.19 | SMF © 2021, Simple Machines | Terms and Policies Forum Guide | Rules | RSS | WAP2


MelonLand Badges and Other Melon Sites!

MelonLand Project! Visit the MelonLand Forum! Support the Forum
Visit Melonking.Net! Visit the Gif Gallery! Pixel Sea TamaNOTchi