NotesWhat is notes.io?

Notes brand slogan

Notes - notes.io

<html>
<head>
<link href="https://cdn.jsdelivr.net/npm/[email protected]/dist/css/bootstrap.min.css" rel="stylesheet" integrity="sha384-1BmE4kWBq78iYhFldvKuhfTAU6auU8tT94WrHftjDbrCEXSU1oBoqyl2QvZ6jIW3" crossorigin="anonymous">
</head>
<body>
<div class="centro">
<h1>
Un <div class="a1">po'</div> di <div class="a2">prove</div> col <div class="a3">CSS</div>
</h1>
</div>
<p class="rosso"> <b>
Inserisci il tuo nome : </b> <br><br>
<input id="input1" size="14" placeholder="nome" maxlength="14">
<button onclick="confermaNome()" class="btn btn-success">
INVIA
</button>
</p>
<p class="rosso" id="vuoto1">
</p>
<br><br><br>
<p>
<input id="input2" type="number" min="1" max="100">
</p>
<p>
<input id="input3" type="number" min="1" max="100">
</p>
<p class="rosso">
Ora clicca su un'operazione : <br>
<button onclick="operazioni(a)" class="btn btn-danger">
ADDIZIONE
</button>
<button onclick="operazioni(s)" class="btn btn-dark">
SOTTRAZIONE
</button>
<button onclick="operazioni(m)" class="btn btn-info">
MOLTIPLICAZIONE
</button>
<button onclick="operazioni(d)" class="btn btn-secondary">
DIVISIONE
</button>
</p>
<p>
RISULTATO <button onclick="risultato()">
CLICCA
</button>
</p>
<p id="vuoto2">
</p>
</body>
</html>
---
h1 {
color:red;
font-size:50;
border:solid aqua 5px;
display:inline-block;
}
div {
display:inline-block;
}
.a1 {
color:blue;
font-style:italic;
}
.a2 {
color:green;
font-family:fantasy;
}
.a3 {
color: brown;
text-decoration:underline;
}
.rosso {
color:red;
}
.centro {
display:flex;
justify-content:center;
}
p {
font-size:30;
font-family:courier;
}
input {
color: darkgreen;
border: solid black;
}

---
function confermaNome () {
let x1 = document.getElementById("input1").value
document.getElementById("vuoto1").innerHTML = "Benvenuto " + x1 + " , inserisci due numeri a tuo piacimento (da 1 a 100) : "
}
let x2 = document.getElementById("input2").value
let x3 = document.getElementById("input3").value
function operazioni (z) {
function addizione () {
return x2+x3
}
function sottrazione () {
return x2-x3
}
function moltiplicazione () {
return x2*x3
}
function divisione () {
return x2/x3
}
if (z=='a') addizione()
if (z=='s') sottrazione()
if (z=='m') moltiplicazione()
if (z=='d') divisione()
}
function risultato () {
document.getElementById("vuoto2").innerHTML = operazioni()
}
     
 
what is notes.io
 

Notes.io is a web-based application for 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 12 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

     
 
Shortened Note Link
 
 
Looding Image
 
     
 
Long File
 
 

For written notes was greater than 18KB Unable to shorten.

To be smaller than 18KB, please organize your notes, or sign in.