Menu
×
×
Correct!
Exercise:Set the background-color to red, of any <input> element that are in focus.
<style>
@(11) {
background-color: red;
}
</style>
<body>
<form>
Name:
<input type="text" name="fname">
Age:
<input type="text" name="age">
</form>
</body>
<style>
input:focus {
background-color: red;
}
</style>
<body>
<form>
Name:
<input type="text" name="fname">
Age:
<input type="text" name="age">
</form>
</body>
Not CorrectClick here to try again. Correct!Next ❯ |
This will reset the score of ALL 138 exercises.
Are you sure you want to continue?