HTML/JavaScript Web Application Answers

Questions: 680

Answers by our Experts: 648

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Search & Filtering

given myString, startString and endString as inputs

your task is to get slice from the myString starting from the startString to the endString and log the sliced string in the console.


the output should be contain sliced string including the startString but not end string


input1

Buckjumping

j

i

output1

jump


"use strict";


process.stdin.resume();

process.stdin.setEncoding("utf-8");


let inputString = "";

let currentLine = 0;


process.stdin.on("data", (inputStdin) => {

 inputString += inputStdin;

});


process.stdin.on("end", (_) => {

 inputString = inputString.trim().split("\n").map((str) => str.trim());

 main();

});


function readLine() {

 return inputString[currentLine++];

}


function main() {

 const myString = readLine();

 const startString = readLine();

 const endString = readLine();


/* Please do not modify anything above this line */


 // Write your code here


}


write a JS program to

  • filter the candidates who have scored more than 75 points in every even


input

  • the input will be single line containing an array of objects candidatesList

output

  • the output should be single line containing an array with names of the selected candidates.


input1

[{'name': 'Blake Hodges', 'points':[76, 98, 88, 84]}

output1

['Blake Hodges]


"use strict";


process.stdin.resume();

process.stdin.setEncoding("utf-8");


let inputString = "";

let currentLine = 0;


process.stdin.on("data", (inputStdin) => {

 inputString += inputStdin;

});


process.stdin.on("end", (_) => {

 inputString = inputString.trim().split("\n").map((str) => str.trim());

 main();

});


function readLine() {

 return inputString[currentLine++];

}


function main() {

 const candidatesList = JSON.parse(readLine().replace(/'/g, '"'));



  

 // Write your code here

}





tax criteria

salary tax percentage

>= 50000 5

>= 1000000 10


quick tip

tax = salary * taxPercentage/100


input 1

stuart

developer

840000


output 1

42000


"use strict";


process.stdin.resume();

process.stdin.setEncoding("utf-8");


let inputString = "";

let currentLine = 0;


process.stdin.on("data", (inputStdin) => {

 inputString += inputStdin;

});


process.stdin.on("end", (_) => {

 inputString = inputString.trim().split("\n").map((str) => str.trim());

 main();

});


function readLine() {

 return inputString[currentLine++];

}


function main() {

 const name = readLine();

 const role = readLine();

 const salary = JSON.parse(readLine());


 function Employee(name, role, salary) {



  // Write your code here


 }


 const employee1 = // Write your code here


/* Please do not modify anything below this line */


 console.log(employee1.getTaxAmount());

}

















given month as an input write a js program to find corresponding season using switch statment

input1

January

output1

winter

input2

may

output2

summer

input3

october

output3

autumn


"use strict";


process.stdin.resume();

process.stdin.setEncoding("utf-8");


let inputString = "";

let currentLine = 0;


process.stdin.on("data", (inputStdin) => {

 inputString += inputStdin;

});


process.stdin.on("end", (_) => {

 inputString = inputString.trim().split("\n").map((str) => str.trim());

 main();

});


function readLine() {

 return inputString[currentLine++];

}


function main() {

 const month = readLine();


/* Please do not modify anything above this line */


 // Write your code here

}











Multiple Column Layouts across devices - 2


You can get the character (letter) at the nth index in a string by writing stringVar.charAt(n) or simply stringVar[n]. The returned value will be a string containing only one character (for example, "a"). The first character position is index 0, which causes the last one to be found at position stringVar.length - 1. In other words, an 8 character string has length 8, and its characters have positions 0 and 7. 1. Prompt the user for a string. 2. Write a function called three that will: take a string as a parameter return the 3rd character of the string 3. Display the original string and the result of the function, seperated by a colon (:), to the console. 4. Modify the function so that if the string is shorter than 3 characters it will return the string "too short". 5. Modify the function so that if the third character is a space it will return the word "space". Sample Output User enters "Canada", output: Canada: n; User enters "Of course


1. Open the html page created in lab 1. Align the images to the center. Add extra margin to the heading/sub heading. Use different font colors, styles for paragraphs, headings. 2. Make the table of content created in previous lab look somewhat like this. Moving mouse over it should change the color of the box. 3. Insert the below table at an appropriate place which shows the TCP packet format. 4. Include a logo at the top of your webpage. Clicking on this should open a new html file aboutus.html stored in the same directory. 5. Aboutus.html page should have a repeating background image. Add information about webpage in a transparent box similar to below picture. General Instructions: 1. Submit the results in a new file. (Don't append to previour report.) 2. The lab assignments carry 20% weightage


Multiple Column Layouts across devices - 2

The goal of this coding exam is to quickly get you off the ground with the Bootstrap Grid System and Background color utilities.

Use the below reference images that illustrate all device sizes, from extra small to extra large.



please help me.....!!!!!


Multiple Column Layouts

The goal of this coding exam is to quickly get you off the ground with the Bootstrap Grid System.

Use the below reference image.

Achieve the design by using a bootstrap grid system and the background color utilities.


Write short HTML 5 codes to do the following:1 Headings - h1 to h6


2 Text formatting


3 Preformatted text (Preserve line breaks and spaces)


4 Sub and Superscript text


5 Insert contact information


6 Inserting horizontal lines


7 Create hyperlink


8 Creating a mailto link - A link that sends an e-mail


10


9 Setting width and height of the images11 Aligning images12 Making a simple table - The most basic form of a table13 Setting the dimension of a table14 Specify the table caption15 Tables with borders - Adding the default table borders16 Creating an unordered list17 Creating an ordered list18 Creating text input fields19 Creating password input fields20 Creating HTML5 new input fields21 Checkboxes and radio buttons22 Select boxes - A drop-down list23 Select box with a pre-selected value24 Grouping of options inside a select box25 Enable multiple selection inside a select box26 Textarea - A multi-line text input field27 Creating butto

LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS