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
20 questions
CSS Box Model +

Quiz
•
8th - 12th Grade
20 questions
HTML/CSS Quiz

Quiz
•
6th Grade - University
20 questions
Web 101 Assessment

Quiz
•
9th - 12th Grade
20 questions
Pemrograman Arduino

Quiz
•
12th Grade
13 questions
CSS Selector Practice

Quiz
•
10th - 12th Grade
15 questions
Web I: CSS Debug

Quiz
•
9th - 12th Grade
15 questions
HTML CSS

Quiz
•
10th - 12th Grade
20 questions
HTML and CSS

Quiz
•
9th - 12th Grade
Popular Resources on Wayground
18 questions
Writing Launch Day 1

Lesson
•
3rd Grade
11 questions
Hallway & Bathroom Expectations

Quiz
•
6th - 8th Grade
11 questions
Standard Response Protocol

Quiz
•
6th - 8th Grade
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
4 questions
Exit Ticket 7/29

Quiz
•
8th Grade
10 questions
Lab Safety Procedures and Guidelines

Interactive video
•
6th - 10th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
20 questions
Subject-Verb Agreement

Quiz
•
9th Grade
Discover more resources for Computers
40 questions
Algebra Review Topics

Quiz
•
9th - 12th Grade
19 questions
Handbook Overview

Lesson
•
9th - 12th Grade
62 questions
Spanish Speaking Countries, Capitals, and Locations

Quiz
•
9th - 12th Grade
20 questions
First Day of School

Quiz
•
6th - 12th Grade
6 questions
Maier - AMDM - Unit 1 - Quiz 1 - Estimation

Quiz
•
12th Grade
21 questions
Arithmetic Sequences

Quiz
•
9th - 12th Grade
21 questions
9th Grade English Diagnostic Quiz

Quiz
•
9th - 12th Grade
7 questions
Characteristics of Life

Interactive video
•
11th Grade - University