Search Results
Search type | Search syntax |
---|---|
Tags | [tag] |
Exact | "words here" |
Author |
user:1234 user:me (yours) |
Score |
score:3 (3+) score:0 (none) |
Answers |
answers:3 (3+) answers:0 (none) isaccepted:yes hasaccepted:no inquestion:1234 |
Views | views:250 |
Code | code:"if (foo != bar)" |
Sections |
title:apples body:"apples oranges" |
URL | url:"*.example.com" |
Saves | in:saves |
Status |
closed:yes duplicate:no migrated:no wiki:no |
Types |
is:question is:answer |
Exclude |
-[tag] -apples |
For more details on advanced search visit our help page |
HTML (Hyper Text Markup Language) is the standard content markup language of the web. It is an open standard developed and maintained by W3C (World Wide Web Consortium).
1
vote
Asking and checking if the answer is correct
if (input.value === '17') {
input.style.backgroundColor = 'green';
answer.innerHTML = 'Правильно';
} else {
input.style.backgroundColor = 'red';
answer.innerHTML = 'Неправильно';
}
HTML … You should try to get a consistent and explicit HTML structure going for the questions/answers (which also ties in with the point made later on below). …