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
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().
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:
4. home, about , contact us links
Create a website glossary for basic computer concepts, terms, and trends.
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().
Sample Input 1
Five
Sample Output 1
true
Sample Input 2
Apples grow best where there is cold in winter
Sample Output 2
false