1. Provide code to create a selection list named orderDay
containing the values and option text SAT and SUN placed in the
Weekend option group, and the option text MON, TUE, WED, THU, and
FRI placed in the Weekday option group.
2. Provide code to create two radio buttons for the compType field
with the values PC and Mac. Make PC the default value.
3. Kelsey has written the following code to create a data field
for users to select a food type using radio buttons. What mistake
did she make in her coding?
< input name="French" value="Fr" type="radio" />
< input name="Italian" value="It" type="radio" />
< input name="Chinese" value="Ch" type="radio" />
4. Provide code to enter the value of a data field named compType using a check box. Set the value of the Computer field to “yes” if the check box is checked. Associate the check box with the label text “I use a PC.”.
5. Provide code to create a text area box for the memoMsg field. Add the placeholder text, “Enter your memo message” to the text area box.
6. Provide a style rule for the input box with ID userAccount that changes the background color to pink when the input box has the focus and is invalid.
7. Provide a style rule for the input box with ID userAccount that changes the background color to the value rgb(211, 255, 211) when the input box has the focus and is valid.
Dear Student ,
As per the requirement submitted above , kindly find the below solution.
Question 1 :
Here a new web page with name "Question1.html" is created, which contains following code.
Question1.html :
<!DOCTYPE html>
<html lang="en">
<head>
<!--title for web page -->
<title>Question 1</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<!--selection list -->
<select name="orderDay">
<optgroup label="Weekday">Weekday</optgroup>
<option value="MON">MON</option>
<option value="TUE">TUE</option>
<option value="WED">WED</option>
<option value="THU">THU</option>
<option value="FRI">FRI</option>
<optgroup label="Weekend">Weekend</optgroup>
<option value="SAT">SAT</option>
<option value="SUN">SUN</option>
</select>
</body>
</html>
======================================================
Output :Open web page in the browser and will get the screen as shown below.
Screen 1 :Question1.html
*********************************
Question 2 :
Here a new web page with name "Question2.html" is created, which contains following code.
Question2.html :
<!DOCTYPE html>
<html lang="en">
<head>
<!--title for web page -->
<title>Question 2</title>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1">
</head>
<body>
<!--radio buttons -->
<input type="radio" name="compType" value="PC" checked/>PC
<input type="radio" name="compType" value="Mac"/>Mac
</body>
</html>
======================================================
Output :Open web page in the browser and will get the screen as shown below.
Screen 1 :Question2.html
*******************************************
Question 3 :
Answer :Correct code
<input name="foodType" value="Fr" type="radio" />French
<input name="foodType" value="It" type="radio" />Italian
<input name="foodType" value="Ch" type="radio" />Chinese
Errors :
Output :
*********************************
Question 4 :
Code :
<input type="checkbox" name="compType" value="yes"/>
<label>I use a PC</label>
Output :
*********************************
Question 5 :
<input type="text" name="memoMsg" placeholder="Enter your memo message"/>
Output :
======================================================
NOTE : PLEASE FEEL FREE TO PROVIDE FEEDBACK ABOUT THE SOLUTION.
1. Provide code to create a selection list named orderDay containing the values and option text...
I NEED SOME HELP WITH THIS PLEASE :) 1. Create a data entry form on one of your web pages for visitors who want to be added to your mailing list. Include one of each of the following input elements*: Text <input type="text".... • Tel <input type="tel".... . Email <input type="email"... Date <input type="date"... . A set of radio buttons <input type="radio"... • A set of check boxes <input type="checkbox"... • A select element with options <select>.....</select> (do NOT add...
This is a website picture The html and css code is as follow And my problem is as follow use the php and mysql Northwind Customer Database Search List Records All Records CustomerName v CustomerName ContactName Address City PostalCode Search O ASC DESC List All Records Insert Record Country List City CustomerName ContactName Address City PostalCode Country List City Find by IID Find Insert 1 <! DOCTYPE html PUBLIC"-//W3C//DTD XHTML 1.0 Transitional//EN" "http:L 3-<head> 4 Kmeta http-equiv-"Content-Type" content-"text/html; charset-utf-8" />...
I need the whole and correct code Form1.cs Form1.Designer.cs Form2.cs Form2.Designer.cs program.cs everything in details Create C# project of type "Windows Forms Application titled your name: 1. Change the form title to "YourName_Smart Convertor". (2 points) 2. Change the background color of the form to Cornsilk.(2 points) 3. Change the form size to 470 X350 (2 points) 4. Add a picture to the form as shown in the figure below. (2 points) 5. Adjust the picture size to be as...
I have the code buts its not working as this below instruction can anyone help Use the requirements from the pizza part of Assignment 6 and do the following using CSS and an internal style sheet: 1. Your Javascript function should be in an external file (don’t forget to move it up to studentweb too) 2. Put a red border of 300px in width around the form 3. There should be three Div sections: header, main_body, and footer. 4. Center the name of your...
//--------// // Events // //--------// console.log("Events"); // 1. Change the link (the <a> tag) in the HTML body below such that a hello // message is displayed on a click event. //--------------// // Input Fields // //--------------// console.log("Input Fields"); // 1. Change the background color to red for the input text field (the <input> // tag) in the HTML body when obtaining the focus and change it back to // white when the focus is lost. // 2. Read the...
Create an external style sheet named Lab05.css. In this style sheet put the following styles: At the top of the style sheet, add the line: @charset "utf-8"; Add this comment: /* Lab 5 External Style Sheet - Brandon */ Style the h1 element with a background color of lightgreen and center the text. Style the p element with a blue text color and yellow background color. Style the p element of class .firstclass with a green text color. Style the...
Hello, this is my code. moest of the things works but when select the price, i just dont get my total. can someone help me out . thank you My queshion is also here The page will simulate the site for a Chicago-based small bus line that travels to St Louis, Milwaukee, and Detroit. Here are the requirements: The home page (i.e. the main page) should simply be the heading, image, and slogan of the site. The home page should NOT...
i'm having trouble with 1 and 3 using html, javascript and jquery 1) Change the "Search" link on the left to a button that when clicked, hide all the fields on the form and display the text "This is a search feature..." 3) When the user fills the form and clicks "Login", the values inputted should be displayed in the empty row (under Login) of the page. The display should be in the form: Student ID: <input value> Student Name:...