Sei all'interno di una funzione in uno script scrivi la riga di codice JS che mostra una finestra all'utente con la scritta "inserisci un numero" e lo assegni ad una variabile di nome num.

JS

Quiz
•
Computers
•
3rd Grade
•
Medium

ALESSANDRO SODINI
Used 7+ times
FREE Resource
22 questions
Show all answers
1.
OPEN ENDED QUESTION
2 mins • 1 pt
Evaluate responses using AI:
OFF
2.
OPEN ENDED QUESTION
2 mins • 1 pt
Scrivi la riga di codice relativa all'utilizzo di un pulsante in cui passandoci sopra attivi una funzione di nome SPART.
Evaluate responses using AI:
OFF
3.
OPEN ENDED QUESTION
3 mins • 1 pt
Scrivi la riga di codice che rende a caratteri maiuscoli la stringa ricevuta in input assegnandola alla variabile di nome FRASE.
Evaluate responses using AI:
OFF
4.
OPEN ENDED QUESTION
2 mins • 1 pt
Ho un paragrafo con id="reo" scrivi la riga di codice che cambia il contenuto del paragrafo in "Pablo".
Evaluate responses using AI:
OFF
5.
OPEN ENDED QUESTION
1 min • 1 pt
Scrivi la riga di codice per stampare a schermo CIAO.
Evaluate responses using AI:
OFF
6.
MULTIPLE SELECT QUESTION
45 sec • 1 pt
Quale riga di codice è corretta per invertire gli elementi del vettore scelta?
Reverse().scelta;
var x=scelta.reverse();
var x=reverse.scelta;
scelta,reverse;
7.
MULTIPLE CHOICE QUESTION
30 sec • 1 pt
Volendo il numero dei paragrafi presenti nella pagina, quale tra i seguenti metodi bisogna utilizzare?
getElementById()
getNumber()
getElementsByTagName()
getElemenByTagsName()
Create a free account and access millions of resources
Similar Resources on Wayground
20 questions
§`i78

Quiz
•
KG - Professional Dev...
20 questions
Hardware & Software - Verifica

Quiz
•
2nd - 3rd Grade
20 questions
BÀI THI THỬ MÔN TIN HỌC LỚP 4

Quiz
•
1st - 8th Grade
20 questions
Verifica informatica tasti periferiche e compuetr

Quiz
•
2nd - 5th Grade
25 questions
LE PIATTAFORME GRATUITE

Quiz
•
3rd Grade
20 questions
Caratteri jolly, reindirizzamento e pipelining

Quiz
•
3rd Grade
17 questions
elettrotecnica

Quiz
•
3rd Grade
20 questions
TIK Kelas 3

Quiz
•
3rd Grade
Popular Resources on Wayground
25 questions
Equations of Circles

Quiz
•
10th - 11th Grade
30 questions
Week 5 Memory Builder 1 (Multiplication and Division Facts)

Quiz
•
9th Grade
33 questions
Unit 3 Summative - Summer School: Immune System

Quiz
•
10th Grade
10 questions
Writing and Identifying Ratios Practice

Quiz
•
5th - 6th Grade
36 questions
Prime and Composite Numbers

Quiz
•
5th Grade
14 questions
Exterior and Interior angles of Polygons

Quiz
•
8th Grade
37 questions
Camp Re-cap Week 1 (no regression)

Quiz
•
9th - 12th Grade
46 questions
Biology Semester 1 Review

Quiz
•
10th Grade