stud
bud
Sign up
Log in
Home
Library
Explore
SAT
More
Web Development Troy Quiz 11/9 Flashcards | StudBud
Explore
/
Web Development Troy Quiz 11/9
Web Development Troy Quiz 11/9
12 terms
·
StudBud Administration
Imported from external platform
Flashcards
12 cards
F
Practice quiz
P
Host live
L
Questions
12
Answers
1
What selector is used to denote a specific element of html in CSS?
Id selector
Universal Selectors.
Child Selectors.
Class selectors
2
Why is “let” better than “var” for declaring variables?
Predictable behavior
Less memory usage
More readable
Faster processing
3
How are javascript programs run?
Asynchronously
Sequentially
4
Which event handler is correct
const button = getElementFromHTML(‘button’);button.onclick = function() {}
const button = getElementById(‘button’);button.onClick = function() {}
const button = getElementById(‘button’);button.onclick = Function() {}
const button = getElementById(‘button’);button.onclick = function() {}
5
What tag is used to add largest size heading in html
<h100> ….</h100>
<header> ….</header>
<p> ….</p>
<h1> ….</h1>
6
What is an event handler?
Function that repeats a content
Function that responds to events, such as user input
Function that deletes the whole page
Function that solves complex mathematical problems
7
Which tags are needed to add javascript to HTML?
<java>...</java>
<h1>...</h1>
<script>...</script>
<doc>...</doc>
8
What code can be used to make red background color using CSS?
Body{background: rgb(255,0,0)}
background{background: rgb(255, 0, 255)}
body{color: red;}
background{color: red;}
9
What is the difference between back end and front end
Back end is harder to process while front end is is faster to run.
They use different coding languages
front end focuses on visual, back end focuses on code
Front end is written in html and back end is written in css
10
Who invented the first website?
Tim Zhang
Tim Notke
Tim Berner
Tim Cook
11
Html stands for Hyper Text MarkupLanguage
True
False
12
Question: What does CSS stand for?
Computer Science System
Creative Style Selector I
Central Style Standard
Cascading Style Sheets