ka react.js

Quiz
•
Computers
•
12th Grade
•
Hard
MH Abror
Used 3+ times
FREE Resource
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; }
Create a free account and access millions of resources
Similar Resources on Wayground
15 questions
02 MF0491_3 Básico general

Quiz
•
12th Grade
12 questions
Python Operators

Quiz
•
12th Grade
11 questions
HTML Tags (Basic) Quiz

Quiz
•
11th - 12th Grade
20 questions
Javascript Basics Test

Quiz
•
7th - 12th Grade
20 questions
Documente Web. Formatul HTML

Quiz
•
9th Grade - University
13 questions
HTML/CSS

Quiz
•
9th - 12th Grade
21 questions
HTML Element Vocab and Data Type Review

Quiz
•
9th - 12th Grade
17 questions
Lección1 - JavaScript

Quiz
•
1st Grade - Professio...
Popular Resources on Wayground
10 questions
Video Games

Quiz
•
6th - 12th Grade
20 questions
Brand Labels

Quiz
•
5th - 12th Grade
15 questions
Core 4 of Customer Service - Student Edition

Quiz
•
6th - 8th Grade
15 questions
What is Bullying?- Bullying Lesson Series 6-12

Lesson
•
11th Grade
25 questions
Multiplication Facts

Quiz
•
5th Grade
15 questions
Subtracting Integers

Quiz
•
7th Grade
22 questions
Adding Integers

Quiz
•
6th Grade
10 questions
Exploring Digital Citizenship Essentials

Interactive video
•
6th - 10th Grade