
Flashcard sui comandi base di JavaScript
Flashcard
•
Computers
•
12th Grade
•
Practice Problem
•
Hard
Wayground Content
FREE Resource
Student preview

14 questions
Show all answers
1.
FLASHCARD QUESTION
Front
Quale comando viene utilizzato per mostrare un messaggio popup all'utente?
Back
alert()
2.
FLASHCARD QUESTION
Front
Qual è il metodo corretto per ottenere un elemento HTML con un ID specifico?
Back
document.getElementById("myId")
3.
FLASHCARD QUESTION
Front
Quale evento viene attivato quando si fa clic su un pulsante?
Back
onclick
4.
FLASHCARD QUESTION
Front
Cosa fa il seguente codice? document.getElementById("demo").innerHTML = "Ciao!"
Back
Modifica il testo dell'elemento con ID "demo"
5.
FLASHCARD QUESTION
Front
Quale comando permette di cambiare il valore di un campo di input con ID "myInput"? Options: document.getElementById("myInput").text = "Nuovo valore"; document.getElementById("myInput").value = "Nuovo valore"; document.getElementById("myInput").innerHTML = "Nuovo valore"; document.getElementById("myInput").setText("Nuovo valore");
Back
document.getElementById("myInput").value = "Nuovo valore";
6.
FLASHCARD QUESTION
Front
Cosa farà il seguente codice? document.getElementById("myButton").addEventListener("click", function() { console.log("Bottone premuto!"); });
Back
Registra un messaggio nella console quando il bottone viene cliccato
7.
FLASHCARD QUESTION
Front
Qual è il metodo corretto per ottenere il valore di un campo di input con ID "username"?
Back
document.getElementById("username").value;
Access all questions and much more by creating a free account
Create resources
Host any resource
Get auto-graded reports

Continue with Google

Continue with Email

Continue with Classlink

Continue with Clever
or continue with

Microsoft
%20(1).png)
Apple
Others
Already have an account?
Similar Resources on Wayground
15 questions
Addition
Flashcard
•
KG
15 questions
Concept of Belongingness; CVC Rhyming Words
Flashcard
•
KG
15 questions
Single and Double digit vertical addition.
Flashcard
•
KG
10 questions
Roundtable 2025
Flashcard
•
KG - University
10 questions
FLASHCARD AG 2025
Flashcard
•
KG - University
10 questions
Marketing Operativo e Strategico
Flashcard
•
University
7 questions
La personnalité (les adjectifs pour décrire...)
Flashcard
•
University
15 questions
Conditional sentences type 2
Flashcard
•
12th Grade
Popular Resources on Wayground
5 questions
This is not a...winter edition (Drawing game)
Quiz
•
1st - 5th Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
10 questions
Identify Iconic Christmas Movie Scenes
Interactive video
•
6th - 10th Grade
20 questions
Christmas Trivia
Quiz
•
6th - 8th Grade
18 questions
Kids Christmas Trivia
Quiz
•
KG - 5th Grade
11 questions
How well do you know your Christmas Characters?
Lesson
•
3rd Grade
14 questions
Christmas Trivia
Quiz
•
5th Grade
20 questions
How the Grinch Stole Christmas
Quiz
•
5th Grade
Discover more resources for Computers
26 questions
Christmas Movie Trivia
Lesson
•
8th Grade - Professio...
15 questions
Christmas Song Emoji Pictionary
Quiz
•
7th - 12th Grade
20 questions
Christmas Movies
Quiz
•
1st - 12th Grade
55 questions
CHS Holiday Trivia
Quiz
•
12th Grade
20 questions
Christmas Movie Trivia
Quiz
•
9th - 12th Grade
29 questions
christmas facts
Lesson
•
5th - 12th Grade
20 questions
Christmas Trivia
Quiz
•
5th - 12th Grade
20 questions
Stages of Meiosis
Quiz
•
9th - 12th Grade