An application has three paragraphs. What set of selector commands would NOT work for you to use to place red text color in the first paragraph and brown background color to the first paragraph , and then add blue background color to the second paragraph, green background color to the third paragraph, and the second and third paragraphs have a yellow text, as illustrated in the illustrated output immediately below
The html commands are:
<div class = "central">
<p class ="class1"> put text in first </p>
<p class="class2">Put text in second</p>
<p class="class3">Put text third</p>
</div>
a. |
p{color:red;}
div p{ background-color:brown;}
div.central p.class2{background-color:blue;
color:yellow;}
p.class3{background-color: green;
color:yellow;}
|
|
b. |
p{color:red;}
div p{ background-color:brown;}
div.central p.class2{background-color:blue;
color:yellow;}
.class3{background-color: green;
color:yellow;}
|
|
c. |
p{color:red;}
div p{ background-color:brown;}
div.central p.class2{background-color:blue;
color:yellow;}
.central {background-color: green;
color:yellow;}
|
|
d. |
p{color:red;}
div p{ background-color:brown;}
p.class2{background-color:blue;
color:yellow;}
p.class3{background-color: green;
color:yellow;}
|
Step by stepSolved in 2 steps
- What are the TextAlign property's potential values?arrow_forwardWhat are the TextAlign property's potential values?arrow_forwardHTML/JAVASCRIPT Take the attached application and modify the second function so that if the user enters ANY name , for example Lawrence Michael Wolk into the input box next to the second function, the span output will be L.Michael.W. So if the name were instead Michael William Jackson, the output will be M.Wiiliam.J. (See output png attachments) CISC_2350_CH_8_pp300_converter_asplithw.html <html> <head> <script src="split.js" defer></script> </head> <body> <h1>Name Converter</h1> <p>Type your name:</p> <div> <input id="name" type="text" size="24" /> </br> <span id ="span1">second output goes here</span></br> <button id="but0">Convert to last, First</button> </br></br> <button id="buta"> Convert From Name MI. Lname to FI.MI.LI.</button></br> <input id ="name1" type ="text" size ="24"/> <span id= "span2">Third output goes here</span>…arrow_forward
- Q.4: Create an application using flask framework to meet the following requirements: It contains two web pages ( home, programs). In the home page, include description about your College; in the programs, include information about the programs offered in the college. In this app, include the html in the main app. If it is challenging for you to write html code, you can include the required information as a normal text – you do NOT have to test your app on the browser, in this case. PLEASE COMMENT ALL CODE Create a new application using flask framework to meet the following requirements: Develop the app in 1. using templates in this time, so NO html code is included in the main app.arrow_forward//ToDo Add Commentconst uint8_t BTN_PIN = 2;const uint8_t LED_PIN = 13; //ToDo Add Commentuint8_t buttonPrevState = LOW;uint8_t ledState = LOW; //ToDo Add Commentvoid setup(){ //ToDo Add Comment pinMode(BTN_PIN, INPUT_PULLUP); //ToDo Add Comment pinMode(LED_PIN, OUTPUT); //ToDo Add Comment Serial.begin(9600);} void loop(){ //ToDo Add Comment uint8_t buttonState = digitalRead(BTN_PIN); //ToDo Add Comment Serial.print(buttonState); Serial.print(buttonPrevState); Serial.print(ledState); Serial.println(""); //ToDo Add Comment if(buttonState != buttonPrevState) { ledState = !ledState; digitalWrite(LED_PIN, ledState); } buttonPrevState = buttonState; //ToDo Add Comment delay(500);} 1. Based on the design and the code, explain what the primary function of this board is. Complete thecode by adding appropriate comments in the designated lines.2. Identify what the main problem in the code is and how it can affect the end-users keeping interrupts in mind.3.…arrow_forwardForm Validation for jscript. This is the requirement. I just need the code and attached to my jscode. Payment Information Validation Validate the customer’s payment information as follows: Expiry Date (Month) Required field Expiry Date Valid expiry date to ensure the card being used has not expired Card Number Required field, Valid Card Number NOTE: regarding the expiry date, you MUST use the date object to ensure that your date check is dynamic. here is the given html code. <li> <label for="month">Expiry Date</label> <select id="month" name="month"> <option>- Month -</option> <option value="1">January</option> <option value="2">February</option> <option…arrow_forward
- A private int data field named accountNum for the account (default 0). A private string data field named accountName for the account (default "none"). A private double data field named balance for the account (default 0). A private int data field named numTransactions that will count the number of deposit and withdraw transactions made to an account. A private Date data field named dateCreated that stores the date when the account was created. A no-arg constructor that creates a default account. A constructor that creates an account with the specified account number and name. The accessor and mutator methods for account number, name. The accessor method for balance and dateCreated. A method named withdraw that withdraws a specified amount from the account. A method named deposit that deposits a specified amount to the account. A method named displayAccountInfo that displays all the information in the Account object. A method named combine that takes another Account object as an…arrow_forward21. Which properties will extend a grid item so that it covers multiple rows and columns, specifically the area from row gridlines 3 to 5 and from column gridlines 1 to 3? Group of answer choices a. grid-row: 3/5; grid-column: 1/3; b. grid-row: 2/4; grid-column: 4; c. grid-column-start: 3; grid-column-end: 5; d. grid-column-start-end: 1/3; grid-row-start-end: 3/5;arrow_forwardIn Java, create a user interface that has a top bar that includes a menu. The menu should have four items. When the user selects the first menu option, then the date and time should be printed in a text box. When the user selects the second menu option, then the text box contents should be written to a text file named "log.txt." When the user selects the third menu item then the frame background color changes to random color hue of the color green. The menu option should display the initial random hue each time selected for a single execution of the program. See https://www.w3schools.com/colors/colors_picker.asp When the user selects the fourth menu option then the program exits. Thank youarrow_forward
- Create three students with the following details: Snow White, student ID: A00234,credits: 24 Lisa Simpson, student ID: C22044,credits: 56 Charlie Brown, student ID: A12003,credits: 6 Then enter all three into a lab and print a list to the screen.arrow_forwardNeed help with this Create a function named FahrenheitToCelsius() containing a single parameter named degree. Insert a statement that returns the value of degree minus 32 and then divided by 1.8. Create a function named CelsiusToFahrenheit() containing a single parameter named degree. Insert a statement that returns the value of degree multiplied by 1.8 plus 32. Add an onchange event handler to the element with the id “cValue”. Attach an anonymous function to the event handler and within the anonymous function do the following: Declare a variable named cDegree equal to the value of the element with the id “cValue”. Set the value of the element with the id “fValue” to the value returned by the CelsiusToFarenheit() function using cDegree as the parameter value. Add an onchange event handler to the element with the id “fValue”. Attach an anonymous function to the event handler and within the anonymous function do the following: Declare a variable named fDegree equal to the value…arrow_forwardWrite a program named midterm.php that: When executed for the first time displays a form. The form has an input text with the name attribute “major” and a submit button with value attribute “Click”. When the submit button is clicked the form calls the midterm.php program. After determining that the text input is set, the program examines the value of the text input and displays a message as follows: If the text input is “CSC” then the message is “AS”. If the text input is “CIS” or “CNT” the message is “AAS”. Otherwise the message is “ERROR”. Below the message display the program re-displays the form with blank input data to accept new input and process that input according to the above logic when submit button is clicked.arrow_forward
- Computer Networking: A Top-Down Approach (7th Edi...Computer EngineeringISBN:9780133594140Author:James Kurose, Keith RossPublisher:PEARSONComputer Organization and Design MIPS Edition, Fi...Computer EngineeringISBN:9780124077263Author:David A. Patterson, John L. HennessyPublisher:Elsevier ScienceNetwork+ Guide to Networks (MindTap Course List)Computer EngineeringISBN:9781337569330Author:Jill West, Tamara Dean, Jean AndrewsPublisher:Cengage Learning
- Concepts of Database ManagementComputer EngineeringISBN:9781337093422Author:Joy L. Starks, Philip J. Pratt, Mary Z. LastPublisher:Cengage LearningPrelude to ProgrammingComputer EngineeringISBN:9780133750423Author:VENIT, StewartPublisher:Pearson EducationSc Business Data Communications and Networking, T...Computer EngineeringISBN:9781119368830Author:FITZGERALDPublisher:WILEY