Skip to content
View in the app

A better way to browse. Learn more.

GAMELIFE România

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[JavaScript] Magic Trick by Valentino

  • Members

Salutare, 
 

	<html>
<head>
	    <script type="text/javascript" src="script.js"></script>
    <title>Magicianul Valentino - Iti voi ghici la orice numar te gandesti</title>
    
    <script>
    alert("M-am gandit ca o sa accesezi acest site de curiozitate.");
    
var kj = 0;
function Direction(Choice){
// The choice of the first buttons 
    if(Choice == "okay"){
        document.getElementById("result").innerHTML = "<center>~~~~~~~~~~~~~~~~<br><br>Va vedeti numarul mai jos? <br><pre>17  25  30  22<br><br>23  31  16  29<br><br>19  27  20  24<br><br>26  21  28  18</pre>";
        document.getElementById('okay').style.display = 'none';
                document.getElementById("result").style.display = 'inline';
        document.getElementById('yes').style.display = 'inline';
        document.getElementById("no").style.display = 'inline';
    }
}
        
function Direction2(Choice){
	if(Choice == 'yes'){ kj+=16;}        
            document.getElementById("result2").innerHTML = "<center>~~~~~~~~~~~~~~~~<br><br>Ce zici aici? <br><pre> 7   2  10  15<br><br>23  18  31  26<br><br> 3  27  11  19<br><br> 6  30  14  22</pre>";
        document.getElementById('yes').style.display = 'none';
        document.getElementById("no").style.display = 'none';
        document.getElementById("result2").style.display = 'inline';
        document.getElementById('yes2').style.display = 'inline';
             document.getElementById('no2').style.display = 'inline';
}
	function Direction3(Choice){
if(Choice == 'yes2'){ kj+=2;}
            document.getElementById("result3").innerHTML = "<center>~~~~~~~~~~~~~~~~<br><br>Trebuie sa fii sigur. Vezi numarul asta aici? <br><pre>24  12   8  28<br><br> 9  30  10  29<br><br>25  15  13  27<br><br>31  26  11  14</pre>";
        document.getElementById('yes2').style.display = 'none';
        document.getElementById("no2").style.display = 'none';
        document.getElementById("result3").style.display = 'inline';
        document.getElementById('yes3').style.display = 'inline';
             document.getElementById('no3').style.display = 'inline';  
        
}
	function Direction4(Choice){
if(Choice == 'yes3'){ kj+=8;}
            document.getElementById("result4").innerHTML = "<center>~~~~~~~~~~~~~~~~<br><br>Aproape am terminat, prietene. Numarul dvs. este aici? <br><pre>31   1   7  25<br><br>23   9  15  17<br><br>29   3  11  27<br><br>21   5  13  19</pre>";
        document.getElementById('yes3').style.display = 'none';
        document.getElementById("no3").style.display = 'none';
        document.getElementById("result4").style.display = 'inline';
        document.getElementById('yes4').style.display = 'inline';
             document.getElementById('no4').style.display = 'inline';  
        
}     
	function Direction5(Choice){
if(Choice == 'yes4'){ kj+=1;}
            document.getElementById("result5").innerHTML = "<center>~~~~~~~~~~~~~~~~<br><br> In cele din urma, vedeti numarul dvs. de mai jos? <br><pre>20  28  12   4<br><br> 5  31  21  29<br><br>13   6  22  30<br><br> 7  14  23  15</pre>";
        document.getElementById('yes4').style.display = 'none';
        document.getElementById("no4").style.display = 'none';
        document.getElementById("result5").style.display = 'inline';
        document.getElementById('yes5').style.display = 'inline';
             document.getElementById('no5').style.display = 'inline';  
        
} 
	function Direction6(Choice){
if(Choice == 'yes5'){ kj+=4;}
            document.getElementById("result6").innerHTML = "<center>~~~~~~~~~~~~~~~~<br><br><h4>Numarul tau este "+kj+"</h4><br>Sunt un maestru mai mare ca DEXTER!!!";
        document.getElementById('yes5').style.display = 'none';
        document.getElementById("no5").style.display = 'none';
        document.getElementById("result6").style.display = 'inline'; 
        
}      
    </script>
</head>
	<body>
    <h1 align="center">Valentino Magic Abracadabra</h1>
    <h1 align="center"> GameLife Romania</h1>
    
    <style>
    h1{
    font-family: Roboto;
    text-align: center;
    font-size: 100px;
}
	div{
    font-family: roboto;
    text-align: center;
    font-size: 30px;
}
	button {
  border-radius: 30px;
  font-family: Roboto;
  color: #ffffff;
  font-size: 20px;
  background: mediumvioletred;
  padding: 10px 20px 10px 20px;
}
	body {
    background-color: papayawhip;
}
	    </style>
<div>
    <p>Inainte de a incepe, alegeti un numar intre 0 si 31.</p>
</div>
	<div id="result"></div>
<div id="result2"></div>
<div id="result3"></div>
<div id="result4"></div>
<div id="result5"></div>
<div id="result6"></div>
	<hr width="340px" />
<br>
<div>
    <button id="okay"  onclick="Direction('okay')">Bine frate!</button>
</div>
<!-- the first buttons run the function Direction() when clicked --> 
	<div>
    <button id="yes" style="display: none" onclick="Direction2('yes')">DA</button>
    <button id="no" style="display: none" onclick="Direction2('no')">NO</button>
</div>
	<div>
    <button id="yes2" style="display: none" onclick="Direction3('yes2')">DA</button>
    <button id="no2" style="display: none" onclick="Direction3('no2')">NO</button>
</div>
	<div>
    <button id="yes3" style="display: none" onclick="Direction4('yes3')">DA</button>
    <button id="no3" style="display: none" onclick="Direction4('no3')">NO</button>
</div>
	
<div>
    <button id="yes4" style="display: none" onclick="Direction5('yes4')">DA</button>
    <button id="no4" style="display: none" onclick="Direction5('no4')">NO</button>
</div>
	
<div>
    <button id="yes5" style="display: none" onclick="Direction6('yes5')">DA</button>
    <button id="no5" style="display: none" onclick="Direction6('no5')">NO</button>
</div>
	
</body>
</html>
	

Edited by BeNy gL

Salutare, pentru website-uri PM.

Featured Replies

No posts to show

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.