Introduction to Web Development with HTML, CSS, JavaScript
var pi="3.14";
string
Delcares an object
var a={name:"John",age:55}
Define an array called array1
var array1 = [1,2,3]
Converts numbers into strings
(123).toString()
Universal selector for CSS
*
Selector that selects all elements of a document, except paragraphs
:not(p)
Comments in HTML are written as...
<!-- This is a comment -->
Used to define the document type in HTML5
<!DOCTYPE html>
Semantic tag for content indirectly related to the main content
<aside>
Tag that CANNOT be used as a container for text
<br>
Defines the caption for the <figure> element
<figcaption>
Statement embeds an image in an HTML document
<img src="image URL" alt="alternate text">
Tag that defines a captin for <fieldset> element
<legend>
Tag to create an ordered list
<ol>
New form feature added in HTML5
<output>
Tag that preserves spaces and line breaks of given text
<pre>
Style type that takes priority
Inline style
What does var ndate=new Date(); do?
Assigns current local time to ndate
A login / authentication error can be fixed by...
Back-end Developer
Who handles authentication and authorization?
Back-end developer
User interface feature that makes it easy to copy, reorder, and delete items
Drag and drop
TRUE/FALSE 10car is a valid variable name in JavaScript
FALSE
TRUE/FALSE: JavaScript is a subset of Java
FALSE
Can fix a website that is not readable on mobile, but is okay on desktop
Front-end developer
API for identifying user location
Geolocation
JavaScript library that simplifies Dom manipulation
JQuery
In addition to SQL, which tool can help you access databases?
ORM
Best input control for selecting gender in a form
Radio
What type of element is <article> ?
Semantic
TRUE/FALSE An API is associated with the Back-end
TRUE
TRUE/FALSE Python is likely to be seen used in the back-end.
TRUE
Default character encoding in HTML5
UTF-8
<br> tag is used to...
add a line break
Attribute for Hyperlinks <a>
href
Package manager for Node.js
npm
Event fired when user clicks on an element in a webpage
onclick
Package manager for Python
pip