Question: Using the attached files please format the HTML paragraph with the class regularText in terms of: Text color ( other than the black one )

Using the attached files please format the HTML paragraph with the class regularText in terms of: Text color (other than the black one), Background color (other than the white one), Text aligning (center or right), Padding (add the 30 pixels internal margin) For the formatting purposes you can use one of the three following ways: Inline formatting (inside the HTML paragraph), Internal formatting (head section of HTML file), Formatting in the separate .css file linked to the HTMLScript: let flag = true;const header = document.getElementById("header");const flagType = document.getElementById("flagType");flagType.innerHTML = flag;document.getElementById("goButton");header.addEventListener("click", function (){ if (flag == true){ header.style.backgroundColor = "red"; header.style.color = "black"; } else { header.style.backgroundColor = "aqua"; header.style.color = "blue"; } flag =!flag; console.log("Flag Value ="+ flag); flagType.innerHTML = flag;});// Catching pallet no:const goButton = document.getElementById("goButton");goButton.addEventListener("click", function (a){ a.preventDefault(); let palletsToLoad = document.getElementById("palletsToLoad"); let palletsLoaded = palletsToLoad.value; let noVehicles = Math.ceil(palletsToLoad.value /33); let standsLeft = Math.ceil(33* noVehicles - palletsLoaded); document.getElementById("palletsLoaded").innerHTML = palletsLoaded; document.getElementById("noVehicles").innerHTML = noVehicles; document.getElementById("standsLeft").innerHTML = standsLeft;});Style: h1{ color: blue; background-color: aqua; padding: 10px; text-align: center;}div { width: 80%;}INDEX: Flag bolean value istrueDistribution pallets over the vehiclesGO!Pallets loaded:No Vehicles:Pallet Stands left:It is a long established fact that a reader will be distracted by the readable content of a page when looking at its layout. The point of using Lorem Ipsum is that it has a more-or-less normal distribution of letters, as opposed to using 'Content here, content here', making it look like readable English. Many desktop publishing packages and web page editors now use Lorem Ipsum as their default model text, and a search for 'lorem ipsum' will uncover many web sites still in their infancy. Various versions have evolved over the years, sometimes by accident, sometimes on purpose (injected humour and the like).

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!