13 */ 14 Lll 15 showImage() 16 setInterval( showImage(),50000); </> [17 18 function showImage() { 19 var slideNumber = randNumber(1, 14); document.getelementbyid(slide).src document.getelementbyid(slidecaption).textcontent = getCaption(slidenumber); 20 = "slide" + slidenumber + ".jpg"; 21 22 } 23 24 25 26 27
Q: C++ Given header is in image main.cpp #include "IntList.h" #include using namespace std; int…
A: Answer is given below .
Q: problem on line 29 //On GLasses.cpp #include "Glasses.h" Glasses::Glasses() { color =…
A: In the above code, you try to use + operator between string and float in toString() function.…
Q: Levenshtein distance is the minimum number of editing operations (insertions, deletions, or…
A: The Levenshtein distance (a.k.a edit distance) is a measure of similarity between two strings. It is…
Q: Change main to load employees from a file if a command line argument is given to the program (using…
A: given - Implement a function readEmpFromFile that takes a FILE * as the only argument and returns a…
Q: v Question Completion Status: QUESTION 10 Analyze the following code and select the right print…
A: Analyze the following code and select the right print result SingleLinkedList<String>…
Q: In JavaScript, there are two types of comments: 1. Single-line comments start with // 2. Multi-line…
A: Coded using JavaScript.
Q: Create a struct employee which has employee_id, name and name, age as members. Create a dynamic…
A: The algorithm for creating a structure of student and displaying the values in an array of structure…
Q: JavaScript //6. addButtonListeners //a. Selects all buttons nested inside the main element //b. If…
A: The answer is given below:-
Q: 6.6.1: Function stubs: Statistics. Define stubs for the functions get_user_num() and…
A: - We need to highlight the code to get the average based on the provided code snippet.
Q: CHALLENGE ACTIVITY 5.6.1: Function stubs: Statistics. Define stubs for the functions…
A: def get_user_num(): print("FIXME: Finish get_user_num()") return -1 def compute_avg(num1,…
Q: a flow chart to describe an algorithm that takes a text file with format ID,First Name,Last…
A: Hey there, I am writing the required solution of the questin mentioned above. Please do find the…
Q: 7. a) Write down the 5 by 5 adjacency matrix for the undirected graph below (Figure 1). A C E B…
A: The following is the adjacency matrix for the given graph: A B C D E A 0 1 1 0 0 B 1 0 1 1…
Q: Excel problem: in an excel file, use the following numbers ( 1,4,9,16,25,36,49,64,81,100). In the…
A: First we have to write the number in a column in the excel sheet Then we have to calculte the…
Q: Constraints: Use Python Don't use global variables Don't use external libraries (PIL and os are…
A: Algorithm: Start From PIL module import Image Using Image.open() open the image and store the…
Q: def get elevation_maps (maps_file: TextI0) -> list[list[list[int]]]: Given an open csv file , read…
A: Answer :
Q: Create a function that accepts str Examples splitNCases ("Confirmed", 6) → ["St", "re", "ng", "th",…
A: Algorithm - Create a method with two argument strings and numbers. Now do some initialization as…
Q: Q2) Write a C+program that reads the info of 100 student records (struct) and store the records in…
A: We need to declared struct with the required attributes of the Student and display the results for…
Q: Given main() and GVCoin class, complete function consecutive_heads() that counts and returns the…
A: The Answer is
Q: Debug the following Python function code. """ This function unpacks data from a csv file for a parts…
A: Running your function on a string gives the correct output: def parse_line(line="Null"): line =…
Q: Rename all files which contain the sub-string 'foo', replacing it with 'bar' within a given folder.
A: There are two ways to rename you file according to your distribution of the Linux. If the Linux OS…
Q: Given numRows and numColumns, print a list of all seats in a theater. Rows are numbered, columns…
A: 1. Taking variable i and x for iterating in loops . 2. Using the for loop and checking if i is less…
Q: In JavaScript, there are two types of comments: 1. Single-line comments start with // 2. Multi-line…
A: Coded using JavaScript.
Q: Given numRows and numColumns, print a list of all seats in a theater. Rows are numbered, columns…
A: #include <stdio.h> int main(void){ int numRows; int numcoloumns; int currentRow;…
Q: x=2.9 a=floor(x) b=ceil(x) c=round(x) d=int(x) print(a,',',c,',',b,',',d) 2,3,3,3 2,3,2,3 2,3,3,2…
A: The correct option will be Option(3) 2,3,3,2 Explanation:- In the given program float value are…
Q: Create the .cpp file of this .h file in c++ #include #include #include using namespace std;…
A: #include <string>#include <iostream>#include <iomanip>using namespace std; class…
Q: File Stream Problem: Implement a Caesar cipher that can encrypt and decrypt text and file. A…
A: Program #include<iostream> #include<string> #include<fstream> using namespace…
Q: Write a function that counts how many concentric layers a rug has. Examples countLayers([ "AAAA",…
A: Algorithm - Design a method with one argument as a array. Now use the below logic to solve the…
Q: Complete the check_game_finished(coins_list) function. The function takes the coins list as a…
A: The above question is solved in step 2:-
Q: Add a while loop to the BMI prcoedure below.
A: The given is a snippet of Python code where a function BMIImperial takes some parameters and print…
Q: Find and replace problem You will implement a replica of find and replace option available in the…
A: #include<stdio.h>#include<string.h> void replaceSubstring(char string[],char find[],char…
Q: Idef get_elevation_maps(maps_file: TextI0) -> list[list[list[int]]]: II || | Given an open csv file…
A: Actually, python is a easiest programming language. It has a concise(less) code.
Q: Case # 4 is bold where I am stuck. I am trying to list the College input Case 1. I have it input but…
A: Here you have used simple String variable college instead of that you have use array of String…
Q: def get elevation_maps(maps_file: TextI0) -> list[list[list[int]]]: Given an open csv file , read…
A: Answer: I have done code in python and also I have attached python code as well as code screenshot.…
Q: Create a list of 20 random grades between 0 and 100. Write the code for a filtering that generates a…
A: The code for the given requirement is
Q: Fixed Income - Certicificate of Deposit (CD) - Compound Interest Schedule An interest-at-maturity…
A:
Q: CHALLENGE ACTIVITY 6.6.1: Function stubs: Statistics. Define stubs for the functions…
A: Q: Code function stubs for given function
Q: # Python code to draw snowflakes fractal. 2 import turtle 3 import random # setup the window with a…
A: answer is
Q: Practice 2 class GraphApp { Given a list of airline tickets represented by pairs of departure and…
A: below we make the function: String[] Return = new String[tickets.length+1]; Return[0] = "JFK"; int…
Q: 1. string color = "Yellow"; //What does this code do? a. declares a structure b.…
A: Explanation: To hold strings in C++, one can use "string" object. There is no fixed length of…
Q: Why my code given me error’s # Python code to draw snowflakes fractal. import turtle import random #…
A: The code is written in Python language.
Q: Write a function that counts how many concentric layers a rug has. Examples countLayers ([ "АААА",…
A: function countLayers(rug) { let layerCount = 0; let layerTracker = []; for(let i = 0; i <…
Q: Write a function cutF2 that returns its argument with the first two items removed. It should not…
A: Python used to answer this question
Q: 3. The following program loads and displays an image. Complete the draw_border function to draw a…
A: You need to import Image and ImageOps module to accomplish this task as shown in the sreenshot in…
Q: Task 2: Login System Implement the function loginUser() that takes two String as input, one for user…
A: Actually, string is a sequence of characters.
Q: coding in C++ Tic Tac Toe game that will match a player against the computer. Do's: Use a typical…
A: PROGRAM: #include <iostream> #include <string> #include <time.h> #include…
Q: #include #include #include using namespace std; void guessGame(); // function prototype bool…
A: #include <iostream>using namespace std;int main(){//Declare the variables.int number;int…
Q: Dynamically designed circular single-link list from a specific button enter a C function that…
A: Circular Linked List is a variation of Linked list in which the first element points to the last…
Q: task7.c Compare 2 strings function cmp will print out > if s1 is "bigger" than s2, #include void…
A: We can use int asc = (int)'a'; to convert char to ascii values. count1 and count2 shound be used to…
Q: What are the effects, if any, of each of the following C++ statements? a. trail =…
A: The link is the pointer that points towards the next node and info is another data member of the…
Use of uppercase and lowercase letters is another source of error. Find and fix all situations in which variable names or JavaScript commands are written with improper case.
Trending now
This is a popular solution!
Step by step
Solved in 2 steps
- body { font-family: Georgia, serif; font-size: 100%; line-height: 175%; margin: 0 15% 0; background-color:rgb(210,220,157); background-image: url("/Users/332bo/Desktop/Week_9_Lab/images/bullseye.png"); /* Rounded Shape image */ background-repeat: no-repeat; background-size: contain; } header { margin-top: 0; padding: 3em 1em 2em 1em; text-align: center; border-radius:4px; background-color:hsl(0, 14%, 95%); background-image: url("/Users/332bo/Desktop/Week_9_Lab/images/purpledot.png"); background-repeat: repeat-x; } a { text-decoration: none; color:rgb(153,51,153); } a: visited { color: hsl(300, 13%, 51%); } a: hover { background-color: #fff; } a:focus { background-color: #fff; } a:active{color:#ff00ff;} h1 { font: bold 1.5em Georgia, serif; text-shadow: 0.1em 0.1em 0.2em gray; color: rgb(153,51,153);} h2 { font-size: 1em; text-transform: uppercase; letter-spacing: 0.5em; text-align: center; color:rgb(204,102,0); }dt { font-weight: bold; } strong { font-style: italic; } ul {…body { font-family: Georgia, serif; font-size: 100%; line-height: 175%; margin: 0 15% 0; background-color:rgb(210,220,157); background-image: url("/Users/332bo/Desktop/Week_9_Lab/images/bullseye.png"); /* Rounded Shape image */ background-repeat:round space; background-size: contain; } header { margin-top: 0; padding: 3em 1em 2em 1em; text-align: center; border-radius:4px; background-color:hsl(0, 14%, 95%); background-image: url("/Users/332bo/Desktop/Week_9_Lab/images/purpledot.png"); background-repeat: repeat-x; } a { text-decoration: none; color:rgb(153,51,153); } a: visited { color: hsl(300, 13%, 51%); } a: hover { background-color: #fff; } a:focus { background-color: #fff; } a:active{color:#ff00ff;} h1 { font: bold 1.5em Georgia, serif; text-shadow: 0.1em 0.1em 0.2em gray; color: rgb(153,51,153);} h2 { font-size: 1em; text-transform: uppercase; letter-spacing: 0.5em; text-align: center; color:rgb(204,102,0); }dt { font-weight: bold; } strong { font-style: italic; } ul {…body { font-family: Georgia, serif; font-size: 100%; line-height: 175%; margin: 0 15% 0; background: radial-gradient( #ffff99 60% , #993399); background-image: url("/Users/332bo/Desktop/Week_9_Lab/images/blackgoose.png"); /* Rounded Shape image */ background-size: contain; } bgc { width: 200px; height: 200px; display: block; position: relative; } bgc::after { content: ""; background: url(/Users/332bo/Desktop/Week_9_Lab/images/purpledot.png); opacity: 0.5; top: 0; left: 0; bottom: 0; right: 0; position: absolute; z-index: -1; } header { margin-top: 0; padding: 3em 1em 2em 1em; text-align: center; border-radius:4px; background: url("/Users/332bo/Desktop/Week_9_Lab/images/purpledot.png") repeat-y left top,url("/Users/332bo/Desktop/Week_9_Lab/images/purpledot.png") repeat-y right top,url("/Users/332bo/Desktop/Week_9_Lab/images/gooseshadow.png") 90% bottom no-repeat;background-color:hsl(0, 14%, 95%); } a { text-decoration: none; color:rgb(153,51,153); } a:visited { color: hsl(300,…
- body { font-family: Georgia, serif; font-size: 100%; line-height: 175%; margin: 0 15% 0; background-color:rgb(210,220,157); background-image: url("/Users/332bo/Desktop/Week_9_Lab/images/blackgoose.png"); /* Rounded Shape image */ background-size: contain; } bgc { width: 200px; height: 200px; display: block; position: relative; } bgc::after { content: ""; background: url(/Users/332bo/Desktop/Week_9_Lab/images/purpledot.png); opacity: 0.5; top: 0; left: 0; bottom: 0; right: 0; position: absolute; z-index: -1; } header { margin-top: 0; padding: 3em 1em 2em 1em; text-align: center; border-radius:4px; background: url("/Users/332bo/Desktop/Week_9_Lab/images/purpledot.png") repeat-y left top,url("/Users/332bo/Desktop/Week_9_Lab/images/purpledot.png") repeat-y right top,url("/Users/332bo/Desktop/Week_9_Lab/images/gooseshadow.png") 90% bottom no-repeat;background-color:hsl(0, 14%, 95%); } a { text-decoration: none; color:rgb(153,51,153); } a:visited { color: hsl(300, 13%, 51%); } a:hover {…body { font-family: Georgia, serif; font-size: 100%; line-height: 175%; margin: 0 15% 0; background-color:rgb(210,220,157); background-image: url("/Users/332bo/Desktop/Week_9_Lab/images/blackgoose.png"); /* Rounded Shape image */ background-size: contain; } bgc { width: 200px; height: 200px; display: block; position: relative; } bgc::after { content: ""; background: url(/Users/332bo/Desktop/Week_9_Lab/images/purpledot.png); opacity: 0.5; top: 0; left: 0; bottom: 0; right: 0; position: absolute; z-index: -1; } header { margin-top: 0; padding: 3em 1em 2em 1em; text-align: center; border-radius:4px; background: url("/Users/332bo/Desktop/Week_9_Lab/images/purpledot.png") repeat-y left top,url("/Users/332bo/Desktop/Week_9_Lab/images/purpledot.png") repeat-y right top,url("/Users/332bo/Desktop/Week_9_Lab/images/gooseshadow.png") 90% bottom no-repeat;background-color:hsl(0, 14%, 95%); } a { text-decoration: none; color:rgb(153,51,153); } a:visited { color: hsl(300, 13%, 51%); } a:hover {…body { font-family: Georgia, serif; font-size: 100%; line-height: 175%; margin: 0 15% 0; background-color:rgb(210,220,157); background-image: url("/Users/332bo/Desktop/Week_9_Lab/images/bullseye.png"); /* Rounded Shape image */ /* background-repeat:round space; */opacity: 0.5; background-size: contain; } header { margin-top: 0; padding: 3em 1em 2em 1em; text-align: center; border-radius:4px; background-color:hsl(0, 14%, 95%); background-image: url("/Users/332bo/Desktop/Week_9_Lab/images/purpledot.png"); background-repeat: repeat-x; } a { text-decoration: none; color:rgb(153,51,153); } a:visited { color: hsl(300, 13%, 51%); } a:hover { background-color: #fff; } a:focus { background-color: #fff; } a:active{color:#ff00ff;} h1 { font: bold 1.5em Georgia, serif; text-shadow: 0.1em 0.1em 0.2em gray; color: rgb(153,51,153);} h2 { font-size: 1em; text-transform: uppercase; letter-spacing: 0.5em; text-align: center; color:rgb(204,102,0); }dt { font-weight: bold; } strong { font-style: italic; }…
- flex container is created with six elements labeled A through F as shown. A F D E C B Which declaration produce the presentation of the elements shown in the image? Flex-direction: row; justify-content: space -between Flex-direction: row- reverse; justify-content: center Flex-direction: row- reverse; justify-content: space – around Flex-direction: row-reverse; justify – content:space-betweenJavaScript: Update your shopping list activity to use jQuery instead of (JS) standard document object methods. Your implementation should use jQuery to select, add, remove elements, and react to events instead of DOM methods like getElementById, appendChild, addEventListener, etc. Below the JS HTML and JS Shopping List HTML: <html><head><title>Shopping List</title></head> <style>body {background-color: #f9f9f9;font-family: arial;}li {list-style: none;padding: 5px;}.addButton {padding: 5px 10px;background-color: #8214c1;border: none;border-radius: 3px;color: white;font-size: 1em;}.deleteButton {background-color: #f9f9f9;color: #8214c1;font-size: 1em;border: none;}input[type=text] {border: none;border-bottom: 1px solid grey;background-color: #f9f9f9;font-size: 1.2em;}input[type=text]:focus {outline: none;} </style><body><h1>Shopping List</h1> <ul id='shoppingList'></ul> <input type="button" class="addButton"…sys.stderr = sys.stdouts form = cgi.FieldStorage() print('Content-type: text/html\n') if debugmode: cgi.print_form(form). Results: AttributeError: module 'sys' has no attribute 'stdouts' what is incorrect
- Question 9 Program a CSS ruleset that will set the root font size for the HTML document to match the user's browser preference. Feedback Question 2 Program a CSS media query that is triggered if the screen is at least 900px wide, but use em as the size unit in the query. Within the media query, write a rule for an element with a id equal to header. That rule should set the font size to three times the current size. Note: You should assume the parent element's font-size is equivalent to 16px. @media screen and (min-width: 56.25em) { .header { font-size:300%; } }Computer Science Objective:To add scripting to the existing web page and work with JavaScript Es-6 features like class, object , getter methods and collection. Problem Description:As part of a simple billing application, you are provided with an html page to obtain inputs for item number, item name, price & quantity. Using the ES-6 collections, add every item object into a Set and iterate through it to find the total cost to be paid. On adding each item object into Set, it must also get added to the table as a new record. Refer to the screenshot. Following are the files that contain code snippets index.html HTML for webpage (complete implementation is given for you). You only have to run this. No change needs to be done in this file. script.js Add your code to this file for the functions given. Procedure to complete the exercise Class Properties Methods Item itemNumberitemNamepricequantity Include constructor with properties and getter methods for…I have to call meta fields from current post id in HTML <div title="Add to Calendar" class="addeventatc">Add to Calendar<span class="start">03/25/2022 08:00 AM</span><span class="end">03/25/2022 10:00 AM</span><span class="timezone">America/Los_Angeles</span><span class="title">Summary of the event</span><span class="description">Description of the event</span><span class="location">Location of the event</span></div> To add event to calendar for webinar panels