Notes![what is notes.io? What is notes.io?](/theme/images/whatisnotesio.png)
![]() ![]() Notes - notes.io |
<script language="javascript">
/* PROMPT I ALERT
alert("podaj imie");
confirm("podaj imie");
var a = prompt("podaj imie");
*/
/* FUNKCJA DO GUZIKA
function dane()
{
var imie = prompt("podaj imie");
var nazwisko = prompt ("podaj nazwisko");
var wiek = prompt ("podaj wiek");
document.write(imie+" "+nazwisko+" "+wiek);
}
*/
/* FUNKCJA DODAWANIA
function suma(){
var a = document.getElementById('pierwsza').value;
var b = document.getElementById('druga').value;
alert(parseInt(a)+parseInt(b));
}
*/
/* LICZBY PARZYSTE
function Parzyste(){
vax x=document.getElementById("x").value;
vax y=document.getElementById("y").value;
for( var i=x; i<=y; i++)
if(i%2==0)
document.write(i);
}
*/
/* SUMA CYRFR
var a= parseInt(prompt('Podaj liczbę'));
var suma= 0;
do{
var reszta= a%10;
suma = suma+reszta;
a=parseInt(a/10);
}
while (a>0);
document.write(suma);
*/
/* DZIESIETNA NA BINARNY
var x=prompt('Podaj liczbę');
var bin="";
do{
if(x%2==1)
bin='1'+bin;
else
bin='0'+bin;
x=parseInt(x/2);
}while(x>0);
document.write(bin);
*/
/* LICZBA PIERWSZA
var liczba=prompt('Podaj liczbe, sprawdzę czy jest pierwsza.');
var pierwsza= true;
for( var i=2; i<liczba; i++)
{if(liczba%i==0){
pierwsza = false;
break;
}}
if (pierwsza==true)alert('PIERWSZA');
*/
/* PALINDROMY
var slowo=prompt('PODAJ SŁOWO TO ZROBIE PALINDROMA');
palindrom= true;
for(var i=0; i<slowo.length/2; i++){
if(slowo[i]!=slowo[slowo.length-1-i])
{
palindrom=false;
}}
if(palindrom==true)alert('PALINDROM');
*/
</script>
</head>
<body>
<body bgcolor="pink">
<!-- GUZIK
<input type="button" value="pokazuj co masz" onClick=dane()>
-->
<!-- FUNKCJA DODAWANIA
<input type="text" id="pierwsza">
<input type="text" id="druga">
<input type="button" value="pokazuj co masz" onClick=suma()>
-->
![]() |
Notes is a web-based application for online taking notes. You can take your notes and share with others people. If you like taking long notes, notes.io is designed for you. To date, over 8,000,000,000+ notes created and continuing...
With notes.io;
- * You can take a note from anywhere and any device with internet connection.
- * You can share the notes in social platforms (YouTube, Facebook, Twitter, instagram etc.).
- * You can quickly share your contents without website, blog and e-mail.
- * You don't need to create any Account to share a note. As you wish you can use quick, easy and best shortened notes with sms, websites, e-mail, or messaging services (WhatsApp, iMessage, Telegram, Signal).
- * Notes.io has fabulous infrastructure design for a short link and allows you to share the note as an easy and understandable link.
Fast: Notes.io is built for speed and performance. You can take a notes quickly and browse your archive.
Easy: Notes.io doesn’t require installation. Just write and share note!
Short: Notes.io’s url just 8 character. You’ll get shorten link of your note when you want to share. (Ex: notes.io/q )
Free: Notes.io works for 14 years and has been free since the day it was started.
You immediately create your first note and start sharing with the ones you wish. If you want to contact us, you can use the following communication channels;
Email: [email protected]
Twitter: http://twitter.com/notesio
Instagram: http://instagram.com/notes.io
Facebook: http://facebook.com/notesio
Regards;
Notes.io Team