
ka react.js
Authored by MH Abror
Computers
12th Grade
Used 3+ times

AI Actions
Add similar questions
Adjust reading levels
Convert to real-world scenario
Translate activity
More...
Content View
Student View
16 questions
Show all answers
1.
MULTIPLE CHOICE QUESTION
20 sec • 1 pt
Apa itu elemen HTML?
Sebuah atribut di HTML
Sebuah tag di HTML yang membentuk struktur halaman
Sebuah gaya di CSS
Sebuah fungsi di JavaScript
2.
MULTIPLE CHOICE QUESTION
20 sec • 4 pts
Bagaimana cara membuat formulir HTML dengan input teks dan tombol submit?
<form><input type="text">
<button>Submit</button></form>
<form><input type="text"><a href="#">Submit</a></form>
<form><input type="text"><div>Submit</div></form>
<form><input type="text"><span>Submit</span></form>
3.
MULTIPLE CHOICE QUESTION
20 sec • 2 pts
Apa itu box model dalam CSS?
Model yang menentukan bagaimana teks diatur di halaman web
Model yang menentukan layout dan ukuran elemen HTML
Model yang menentukan interaksi antara HTML dan JavaScript
Model yang menentukan bagaimana gambar ditampilkan di halaman web
Answer explanation
Model yang menentukan layout dan ukuran elemen HTML
4.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
Jelaskan perbedaan antara class selector dan ID selector di CSS
Class selector menggunakan tanda '#' dan ID selector menggunakan tanda '.'
Class selector menggunakan tanda '.' dan ID selector menggunakan tanda '#'
Class selector dan ID selector menggunakan tanda yang sama
Class selector tidak dapat digunakan untuk memilih elemen HTML
5.
MULTIPLE CHOICE QUESTION
20 sec • 4 pts
Buatlah contoh penggunaan if-else dalam JavaScript:
if (condition) { code } else { code }
if { code } else (condition) { code }
if (condition) { code } else if (condition) { code }
if (code) { condition } else { code }
6.
MULTIPLE CHOICE QUESTION
20 sec • 3 pts
Apa perbedaan antara var, let, dan const?
'var' dan 'let' digunakan untuk deklarasi variabel, const untuk fungsi
'var' digunakan untuk deklarasi variabel lokal, 'let' untuk global, 'const' untuk konstanta
'var' digunakan untuk deklarasi variabel global, 'let' untuk lokal, 'const' untuk konstanta
'var' dan 'let' untuk deklarasi variabel, 'const' untuk objek
7.
MULTIPLE CHOICE QUESTION
20 sec • 5 pts
Buatlah sebuah fungsi JavaScript yang menerima dua parameter dan mengembalikan hasil penjumlahannya:
function add(a, b) { return a + b; }
function add(a, b) { return a * b; }
function add(a, b) { return a - b; }
function add(a, b) { return a / b; }
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
12 questions
UTS Semester 1 Informatika 2024/2025
Quiz
•
8th Grade - University
15 questions
Data Security Worksheet
Quiz
•
10th Grade - University
13 questions
Arrays in Swift
Quiz
•
10th - 12th Grade
14 questions
LA5.C5: Branching and Subroutines
Quiz
•
9th Grade - University
15 questions
LATIHAN SOAL PEMROGRAMAN
Quiz
•
9th Grade - University
17 questions
Lección1 - JavaScript
Quiz
•
1st Grade - Professio...
13 questions
Stepwise Refinement
Quiz
•
11th - 12th Grade
20 questions
ภาษาC++ ม.5/2
Quiz
•
9th - 12th Grade
Popular Resources on Wayground
15 questions
Fractions on a Number Line
Quiz
•
3rd Grade
20 questions
Equivalent Fractions
Quiz
•
3rd Grade
25 questions
Multiplication Facts
Quiz
•
5th Grade
22 questions
fractions
Quiz
•
3rd Grade
20 questions
Main Idea and Details
Quiz
•
5th Grade
20 questions
Context Clues
Quiz
•
6th Grade
15 questions
Equivalent Fractions
Quiz
•
4th Grade
20 questions
Figurative Language Review
Quiz
•
6th Grade