Question: a . Include this CSS code in the head section of your html document to test the effects of data validation: style > input:valid {

a. Include this CSS code in the head section of your html document to test the effects of
data validation:
style >
input:valid {
background-color: palegreen;
}
input:invalid {
background-color: lightpink;
}
b. Every input element must be linked to its label using the for attribute.
c. Every input element should have a name attribute.
d. "region" can be one of the KSA regions (Mecca, Riyadh, Eastern Region, Asir, Jazan,
Medina, Al-Qassim, Tabuk, Ha'il, Najran, Al-Jawf, Al-Bahah, Northern Borders
Region).
e. All fields are required except "website or domain name" and "project description".
f. Phone number must contain only numbers. It must contain at least 10 digits, at most 14
digits. You can use HTML pattern attribute:
a . Include this CSS code in the head section of

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 Programming Questions!