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 an array

  1. myArray of numbers, write a JS program to perform the following steps and log the result. Multiply each value with 9.
  2. Subtract 20 from each value.
  3. Multiply each value with 7.
  4. Log the values of the resulting array separated by a space.


"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++];

}


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


function main() {

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


 /* Write your code here */

  

}



Given an array

myArray of numbers, write a function to square the alternate numbers of the myArray, starting from index 0 using the array method map.Input

  • The input will be a single line containing an array myArray

Output

  • The output should be a single line containing an array with alternate numbers squared

"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++];

}


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


function main() {

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

  

 /* Write your code here */


}


kindly share the following code



Create a React App that displays list of users from an array "Two dimensional" [ values : name, surname, age , location ], create a function to check users age, conditions [ if users age is 18 display 'You are old enough to code' else 'You are not old enough to code'] 



Display :



Name | surname and age - 'if statement results here',


Given two strings

inputString and subString as inputs, write a JS program to slice the inputString if it includes the subString. Slice the inputString starting from the subString to the end of the inputString.Input

  • The first line of input contains a string inputString
  • The second line of input contains a string subString

Output

  • The output should be a sliced string or inputString (if the inputString does not include the subString)

Sample Input 1

JavaScript

S

Sample Output 1

Script

Sample Input 2

Language

air

Sample Output 2

Language



Create a real estate marketing website using HTML, CSS and JavaScript

I've noticed that I've tried to log into my eBay account an it wants me to use the number that's saved to send security info and the number shows 5xx-xxx-xx62 i want to remove the x to show the number i know how to change a certain setup to text and changes the dots to numbers but this is little different here is the element I'm seeing this in chrome inspection


<p id="text-desc" role="text" aria-label="We'll text you at <span style=&quot;white-space: nowrap;&quot;>5xx-xxx-xx62</span> with a security code.By selecting this method, you agree to receive text or pre-recorded messages to this number. Cell charges may


if there is a way to revival please explain where I will understand, main reason is I wanna see if someone is trying to use my account an i don't recognize the last to numbers of any of my current or past numbers


In this assignment, let's build a Bookmark Maker by applying the concepts we learned till now.



how we put input from user ?

we want that what is the user put ,then answer in show accordingly


your output:

ReferenceError: "aqString" is not defined


expected output:

Script


String Ending with Vowel

Given an array of vowels in the prefilled code and a string

inputString as an input, write a JS program to check whether the inputString ends with a vowel.

Quick Tip

You can use the string methods toUpperCase() and endsWith().

Input

  • The input will be a single line containing a string inputString

Output

  • The output should be a single line containing a boolean value

Sample Input 1

Five

Sample Output 1

true

Sample Input 2

Apples grow best where there is cold in winter

Sample Output 2

false




LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS