HTML/JavaScript Web Application Answers

Questions: 588

Answers by our Experts: 588

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



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


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




Find the Duplicate in an Array

Given an array

myArray, write a JS program to find the duplicate item in the array.Input

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

Output

  • The output should be a single line containing the duplicate item or false if no duplicate item is present in the myArray

sample input 1

['light', 'dark', 'twilight']


sample ouput 1

false


sample input 2

[1, 2, 3, 4, 5, 6, 7, 7, 8]


sample output 2

7


Kindly share the solution for the Question #169775

In this assignment, let's build a Book Search page by applying the concepts we learned till now.

Instructions:

  • Add HTML input element with id searchInput inside an HTML container element
  • Add HTML select element with id selectDisplayCount inside an HTML container element
  • Add HTML container element with id searchResults

By following the above instructions, achieve the given functionality.

  • When a value is entered in the HTML input element with id searchInput and press on Enter key
  • Get title, imageLink, author (HTTP response with key search_results) by making HTTP request using fetch with URL https://apis.ccbp.in/book-store?title=kalam&maxResults=30
  • Set imageLink in the HTML img element and set author in the HTML paragraph element

ask the user to enter three of their favourite television shows. once they have entered there shows,display the results. Use an array to store the three favourite television shows.


Html coding
Topic
List of computer generation with their description.
Need html coding for given topic

String Slicing

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








LATEST TUTORIALS
APPROVED BY CLIENTS