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

myArray of strings as an input, write a JS program to convert all the strings in myArray to uppercase.Input


Sample Input 1

[ 'book', 'table', 'strawberries', 'lemons' ]

Sample Output 1

[ 'BOOK', 'TABLE', 'STRAWBERRIES', 'LEMONS' ]


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

}

/* not modify anything above this line */

function main() {

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

  

 /* Write your code here */

}


HTML Hyperlinks & Bootstrap Position Utilities


The goal of this coding exam is to quickly get you off the ground with the Navigation within the same HTML document and Bootstrap Position Utilities.


Give Home, Profile, Education, Projects and contact as html hyperlink tag to html main heading tag


Give attribute id to html main heading element to hyperlink


Note:-

Use the HTML main heading elements for the text.



Given two boolean values

  1. isGrassTrimmerFound and isWaterHosePipeFound as inputs, create three JS promises using async/await and try/catch blocks. For cutting the grass,
  • resolve with "Grass Trimmed" text, if the isGrassTrimmerFound is true
  • reject with "Grass Trimmer Not Found" text, if the isGrassTrimmerFound is false
  1. For cleaning the garden,
  • resolve with "Garden Cleaned" text
  1. For watering the plants,
  • resolve with "Watered Plants" text, if the isWaterHosePipeFound is true
  • reject with "Water Hose Pipe Not Found" text, if the isWaterHosePipeFound is false

Input

  • The first line of input contains a boolean isGrassTrimmerFound
  • The second line of input contains a boolean isWaterHosePipeFound

Output

  • The output should be a string with the appropriate messages in separate lines

Sample Input 1

true

true

Sample Output 1

Grass Trimmed

Garden Cleaned

Watered Plants






Given an array

mart of objects in the prefilled code and categoryOfItem, item as inputs, create a JS promise, resolve with "Item Found" text, if the

categoryOfItem matches with the category and the corresponding items list includes the itemreject with "Category Not Found" text, if the

categoryOfItem does not match with any catergory in the martreject with "Item Not Found" text, if the

items list does not include item Use async/await and try/catch blocks.



Quick Tip

You can use array methods find() and includes().

Input

  • The first line of input contains a string categoryOfItem
  • The second line of input contains a number item

Output

  • The output should be a single line string with the appropriate message

Sample Input 1

pulses

green gram

Sample Output 1

Item Found

Sample Input 2

detergents

tide

Sample Output 2

Category Not Found




Write the PHP script called remove.php and create an HTML form for your web page that removes lines of text from a given file, the file contains sentences, and it is called textfile.txt. Your we page contains a short form with a text box and text field where the customers or users can type only one word. Then the web page should provide the following behaviors: • The web page displays the current contents of the file text.txt as it appears in the file with its format.• The web page form submits back to the same page, remove.php, as a post request. • Display changes of the file to any future viewings of the web page and display how many sentences were removed from the textfile.txt. • Do not used browser's default styling. You are required to write any suitable CSS style. • Ensure that the results are displayed in red color and the number of sentences removed are displayed in green colour.


Suppose you are asked to develop a website for online fruits selling company dealing in just Banana, Orange, and Apple . Keeping in view this, write ten most appropriate keywords and also suggest a good domain name that is currently not buy by anyone and available to buy. Your website must select the keywords in such a way that you can get more customers.    


What to change in this code for adding background image of our own in the background? Kindly give changes in code answers.





<!DOCTYPE html>

<html>

<head>

<style>

div.gallery {

 border: 1px solid #ccc;

}


div.gallery:hover {

 border: 1px solid #777;

}


div.gallery img {

 width: 100%;

 height: auto;

}


div.desc {

 padding: 15px;

 text-align: center;

}


* {

 box-sizing: border-box;

}


.responsive {

 padding: 0 6px;

 float: left;

 width: 24.99999%;

}


@media only screen and (max-width: 700px) {

 .responsive {

  width: 49.99999%;

  margin: 6px 0;

 }

}


@media only screen and (max-width: 500px) {

 .responsive {

  width: 100%;

 }

}


.clearfix:after {

 content: "";

 display: table;

 clear: both;

}

</style>

</head>

<body>

</body>

</html>



construct a website for electricity pay counter with good background including:

  1. log in box
  2. faq box
  3. quick links to:
  • pay you bill
  • consumption history
  • nearest service
  • new connection

4. home, about , contact us links



Create a website glossary for basic computer concepts, terms, and trends.

  1. Work through the introductory exercise in the HTML tutorial and achieve a sound level of competence in creating, editing, and formatting content in a simple website, including the ability to add new content pages and link content pages to the main page in both directions.
  2. Choose twenty basic terms, five key concepts, and three trends from the general topic scope of Chapter 1 in the eText.
  3. Create a four-page website with a Main (home) page and subpages for Terms, Concepts, and Trends.
  4. Add content to the subpages, including brief definitions (Terms) or descriptions (Concepts and Trends), illustrations where appropriate, and links to other relevant sites containing more detailed discussions or definitions or relevant articles or videos.

really confused with this whole project as I have never took any course relate to computer studies

your help would be appreciated


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