<!DOCTYPE html>
<html>
<head>
<style>
#demo {
background-color: LimeGreen;
color: black;
}
</style>
</head>
<body>
<button onclick="HideMe('The deadline is August 4th')">Try it</button>
<p id="demo"></p>
<script>
//javascript function
function HideMe(sentence) {
var flag = true;
//if soen287 is NOT found, -1 is returned.
if (sentence.toLowerCase().indexOf('soen287') !=-1)
{
//replacing soen287 with XXXXXXX
sentence = sentence.replace("soen287", "XXXXXXX");
flag = false;
}
//if summer is NOT found, -1 is returned.
if(sentence.toLowerCase().indexOf('summer') !=-1)
{
sentence = sentence.replace("summer", "XXXXX");
flag = false;
}
//if 19 is NOT found, -1 is returned.
if(sentence.toLowerCase().indexOf('19') !=-1)
{
sentence = sentence.replace("19", "XX");
flag = false;
}
var y = new Boolean(true);
if(flag == y)
{
document.getElementById("demo").innerHTML =sentence;
}else
{
document.write(sentence)
}
}
</script>
</body>
</html>
Output:

Question #4 Write a JavaScript function HideMe() that takes a user specified sentence and hides a...
summarizr the followung info and write them in your own words and break them into different key points. 6.5 Metering Chamber: 6.5.1 The minimum size of the metering box is governed by the metering area required to obtain a representative test area for the specimen (see 7.2) and for maintenance of reasonable test accuracy. For example, for specimens incorporating air spaces or stud spaces, the metering area shall span an integral number of spaces (see 5.5). The depth of...
summatize the following info and break them into differeng key points. write them in yojr own words
apartus
6.1 Introduction—The design of a successful hot box appa- ratus is influenced by many factors. Before beginning the design of an apparatus meeting this standard, the designer shall review the discussion on the limitations and accuracy, Section 13, discussions of the energy flows in a hot box, Annex A2, the metering box wall loss flow, Annex A3, and flanking loss, Annex...