subject

Whats wrong with my code for .addEventListener Html code:

Don't Give Up

Home
TAKE ACTION

Fighters

a:link {
color: Blue;
background-color: transparent;
text-decoration: none;
}

a:visited {
color: Purple;
background-color: transparent;
text-decoration: border;
}

a:hover {
color: black;
background-color: transparent;
text-decoration: underline;
}

a:active {
color: Blue;
background-color: transparent;
text-decoration: underline;
}

Extra Facts
Click Me

Java code:
var factList = [
"Mo", /*0*/
"ok", /*1*/
"oh", /*2*/
"shh"]; /*3*/

var fact = document. getElementById("fact");
var wind = document. getElementById('wind');

var count = 0;

wind. addEventListener('click', displayfact());

function displayfact(){
fact. innerHTML = factList[count];
count++;
if (count == factList. length){
count = 0;
}
}

ansver
Answers: 3

Another question on Computers and Technology

question
Computers and Technology, 23.06.2019 00:30
Which one of the following is the most accurate definition of technology? a electronic tools that improve functionality b electronic tools that provide entertainment or practical value c any type of tool that serves a practical function d any type of tool that enhances communication
Answers: 1
question
Computers and Technology, 23.06.2019 06:00
What machine listens for http requests to come in to a website’s domain? a. a router b. a browser c. a server d. a uniform resource locator
Answers: 1
question
Computers and Technology, 23.06.2019 06:30
You have a small company and want to keep your costs low, but it is important your employees share data. which network would provide you with the most economical solution?
Answers: 1
question
Computers and Technology, 23.06.2019 18:00
Freya realizes she does not have enough in her bank account to use the debit card. she decides to use a credit card instead. which questions should freya answer before using a credit card? check all that apply. can i pay at least the minimum payment each month? can i make payments on time and avoid late fees? will i have to take out a loan? how much in finance charges can i afford to pay? should i talk to a consumer credit counseling service?
Answers: 1
You know the right answer?
Whats wrong with my code for .addEventListener Html code:

Don't Give Up

Ho...
Questions
question
Mathematics, 25.09.2020 21:01
Questions on the website: 13722359