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

Operation Room Module


This module tracks all surgeries that take place in the hospital. Right from scheduling the operation,


managing the surgery team, recording the surgery details to checklists associated with a surgery;


it manages in advance and prepares for a surgery or operation by keeping the records of all items


required during the operation. It enables an electronic consent of the patient or the relatives. It also


maintains the data on preoperative and postoperative conditions of the patient. The ultimate


objective of this module is accurate scheduling of the operations with flexibility in managing


bookings, pre-operative checklist, time out document, anesthesia record, operation record,


multilingual consent forms, inventory and stock management of the OT, sterilization schedules,


checks and audits.


Locate two AUPs One From Internet published online and the second one should be for your institution Richfield Graduate institution of technology

Create a php web page using random generetor function to create random value throwing a dice. Create two user defined function namely ThrowDice ($d_array,$times) and function DiplayResult function. The rand function is ++rand _array [rand (1,6)]; within the ThrowDice function



<?php



$numT =2000;



$Dice = array();



echo "<p>The die will be thrown $numT$time</p>



Code body create here



?>

CSS Border Properties

The goal of this coding exam is to quickly get you off the ground with the CSS Border Properties.

Use the below reference image.

https://res.cloudinary.com/dfxicv9iv/image/upload/v1619085330/css-border-properties-output_a4ucou.png

Achieve the design by using CSS border

border-* properties. The * indicates the direction.Apply the border shorthand property with the width

5px, style solid, and hex color code #184b73 to the HTML button element with the class name border-shorthandResources

CSS Colors used:

#184b73

#ffffff

HTML code:

<body>

  <div class="d-flex flex-column">

    <button class="button border-shorthand">border shorthand</button>

    <button class="button border-top-none">border top none</button>

    <button class="button border-bottom-none">border bottom none</button>

  

  </div>

</body>



DOM Manipulations - 3

The goal of this coding exam is to quickly get you off the ground with the DOM Manipulations.

Use the below reference image.

https://res.cloudinary.com/dfxicv9iv/image/upload/v1619260598/dynamic-dom-manipulations-3_bov0vg.gif

When the Delete button is clicked

  • The blog element and the respective button should be deleted.

Note

Use the removeChild method to remove the element from DOM.

Html code:

<body>

  <div>

   <h1>Your Saved Blogs</h1>

   <ul id="blogsListContainer"></ul>

  </div>

 </body>




It is a good idea to open the HTML file in Live Server (if using VS Code) or a browser and check your code frequently. The easiest way to find errors is to see them as soon as you make them! It is also a good idea to open the browser console to see if there are any errors. 1. Add code to the HTML file to reference the script.js file using best practices. Other than this, do not modify either the HTML or CSS file. 2. In the script.js file set strict mode for JavaScript. 3. Create a new h3 element with your name in it and insert it before the first paragraph. 4. In the footer, add a cite element with the text "Information and photos from Wikipedia" where "Wikipedia" is a link to the page "https://en.wikipedia.org/wiki/Bumblebee". 5. console.log the number of paragraphs with some descriptive text (open the browser console to see the output). 6. Add the class "special" to the second h2 element. 7. Select all the figcaptions and make the font italic.


product of array items

given an array integers, write a JS program to get the product of the given integers in the array

sample input1

[1,2,3]

sample output1

1*2*3 = 6


"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() {

 let integers = JSON.parse(readLine());


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


 /* Write your code here and log the output */

}


INPUT:

[1,2,3]


OUTPUT:

1*2*3 = 6


INPUT:

[-1,-2,-3]


OUTPUT:

-1*-2*-3 = -6 SHOULD BE LIKE THIS


given an object person containing a person details, write a JS program to log the name, address & nicknames count

input

{ 'name':'Pranay', 'address':{'city':'Mumbai','state':'maharastra'}, 'nicknames':['nani','chanti']}

output

pranay is from mumbai,maharastra

pranay has 2 nicknames


"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() {

 let person = JSON.parse(readLine().replace(/'/g, '"'));

 /* Write your code here and log the output */

}


Magical Indices


Given an array of integers and a number x.An index is valid if

item y at an index is increased by x and

x+y would be greater than the sum of all other items in the array

write a JS program to determine the number of valid indices

input:

The first line of input contains an array

The second line of input contains a number

output:

The output should be a number indicating the number of valid positions.


input:

[1, 2, 3, 5, 7]

13

output:

3

input:

[34, 32, 37, 38, 40]

10

output:



person details:

Give an object person containing a person details, write Js to log the name, address ,nicknames count.

input: The input will be a single line containing an object person

output: The first line of out put should contain the name and address of the person as shown in the sample output

The second line of output should contain the nicknames count of the person as shown in the sample output.

Constraints: The keys of object should be in quotes while giving the input.


input:{'name': 'Pranay', 'address': {'city': 'Mumbai', 'state': 'Maharashtra'}, ' nickNames': ['Nani', 'Chanti ']}


out put become:

Pranay is Mumbai, Maharashtra

Pranay has 2 nicknames.


LATEST TUTORIALS
New on Blog
APPROVED BY CLIENTS