Which of these refers to the name:value pairs in JavaScript objects?
Select one:
a. attributes
b. methods
c. elements
d. variables
e. properties
Which of these is a popup box that allows the user to click OK or Cancel?
Select one:
a. prompt box
b. choice box
c. acknowledgment box
d. alert box
e. confirm box
Which of these is used to register an event handler for clicking the mouse?
Select one:
a. onmouse
b. onMouseClick
c. onclick
d. click
e. mouse
Which of these is a valid DOM property that refers to an element's HTML contents?
Select one:
a. contents
b. value
c. innerHTML
d. span
e. HTML
Which of these is NOT an area of web page development?
Select one:
a. JavaScript
b. CSS
c. HTML
d. BUM
e. DOM
Which of these refers to the name:value pairs in JavaScript objects? Select one: a. attributes b....
Which of these is a valid DOM property that refers to the value of an input text field? Select one: a. value b. data c. contents d. text e. size Which of these CANNOT be accessed using BOM objects? Select one: a. the user's history of visited URLs b. information about the URL of the current page c. browser cookies d. information about the user's screen e. information about the user's mouse Which of these is a valid DOM method...
Create a webpage in which the user is allowed to select the page's background and color whether the page uses serif or sans serif fonts. The change the body element's style attribute accordingly. If the user onclicks any of the options, the webpage will turn into that format. For example, if the user clicks "Gray background", the background color of the webpage will be Gray. If the user clicks Serif-text, the text in the web page will be in Serif...
1) JavaScript is used on the client-side to provide interactivity with the user. a) True b) False 2) Which one of the following is considered a client-side technology? a) PHP b) MySQL c) Java Servlets d) Css 3) Which one of the following is predominantly a server-side technology? a) PHP b) Javascript c) HTML d) Css 4) Which form element requires a user to select one item only from multiple choices. a) Check box b) Text box c) Radio button...
In this project you will write the JavaScript code to create a calculator. Good thing is that everyone knows how the calculator works. It is a challenging project, give yourself lots of time to complete it.1. You are provided with an HTML, and CSS files.. Look at these files to understandhow to use them and modify them if needed based on your code. (Note: You can adddifferent selector (id, class) in HTML ONLY and cannot make any changes to CSS.)Create...
Which of these is NOT true about a ".gif" image file? Select one: a. lossy b. limited to 256 colors c. lossless d. may have transparent background e. may be animated Which of these boolean attribute settings does NOT cause video controls to be shown? Select one: a. controls="controls" b. controls c. all of these cause the video controls to be shown d. controls="" e. controls="true" Which of these is a video file type for which playing starts when enough...
Javascript each item must have at least three categorical attributes and at least one numeric attribute. Attributes such as ID, name etc do not count as categorical or numeric attributes. Exercise 1 (a) Define a class for your item that meets the above three categorical and one numeric attribute requirements. (b) Create a text file that contains at least 5 such records in CSV format. (c) Create a HTML page that contains a table element the shows one item record...
Which of the following codes is used to provide positioning relative to the nearest container? 1. a) position: fixed b) position: static; c) position: absolute d) position: relative; e) position: none; 2. What is called a, b and c in a style as "a (b: c; d: e:]"? a) a:selector, b:property, c:value b) a:property, b:selector, cvalue c) avalue, b:selector, c:property d) a:selector, b:value, c:property e) a:property, b:value, c:selector What is the style of command when the CSS code is written...
Which of the following lists consist entirely of JavaScript Variables? Select one: a. Boolean, Integer, Float, String b. String, Bouillon, Sink, Integer c. Function, Object, Comment, Navigation d. Boolean, String, Function, Float
can you do this js and html question. ill give you the html and
js and css files just fix my error use if and else like what i did
dont use switch just fix my erorr.
<!DOCTYPE html>
<!-- Webpage HTML document for Lab 4.
Authors: Amirhossein Chinaei, Andriy Pavlovych
For: EECS 1012, York University, Lassonde School of Engineering
-->
<html lang="En">
<head>
<meta charset="UTF-8">
<!-- title for web page -->
<title> EECS1012: Lab 4 - Computational Thinking
</title>...
Which JavaScript expression returns the string selected in the menu? A ) $("#tipChoice") B) $("value").select("tipChoice"); C) $("#tipChoice").val(); D) $("Service").val();