stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
JS Quiz day2 Flashcards | StudBud
Explore
/
JS Quiz day2
What is the DOM in web development?
What does JS stand for?
JS Quiz day2
8 terms
·
StudBud Administration
·
18 plays
Imported from external platform
Flashcards
8 cards
F
Practice quiz
P
Host live
L
Questions
8
Answers
1
What does JS stand for?
JavaSource
Java Structure
JavaScript
Jump Style
2
What is the DOM in web development?
Digital Output Method
Downloading Object Manager
Document Object Model
Direct Object Marker
3
What does getElementById("myId") do in JavaScript?
Adds an element
Finds an element with ID "myId
Changes the page title
Deletes the element
4
What is an ID in an HTML element used for?
To repeat the element
To uniquely identify an element
To hide the element
To change font color
5
What does addEventListener("click", myFunction) do?
Changes the background color only
Creates a new page
Removes the element
Runs a function when the element is clicked
6
Which HTML tag is used to create a link?
<p
<div
<a
<link
7
How do you link a JavaScript file to an HTML page?
<script src="script.js"></script
<link src="script.js
8
1. What is VS Code mainly used for?
B. Video editing
C. Writing and editing code
A. Playing music
D. Browsing the web