Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

I cannot figured out why none is showing instead of block! I've messed with this for an hour and always get the same result. Can

I cannot figured out why "none" is showing instead of "block"! I've messed with this for an hour and always get the same result. Can anyone help??image text in transcribed

CHALLENGE ACTIVITY 7.5.1: Timers 365144.2027462.qx3zqy7 Jump to level 1 Write a setTimeout() function that reveals the answer after 2.5 seconds. D-D-D- HTML JavaScript 1 function showAnswer { 2 let answerElement = document.getElementsByClassName("answer")[0]; 3 4 answerElement.style.display = "block"; 5} 6 7 setTimeout(function({ 8 /* Your solution goes here */ 9 10 setTimeout(showAnswer, 2500); 11 }) 12 ); 1 2 3 Check Try again X Checking answer's display property before 2.5 seconds. Yours none * Checking answer's display property after 2.5 seconds. Yours and expected differ. See highlights below. Yours none Expected block

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Introduction To Constraint Databases

Authors: Peter Revesz

1st Edition

1441931554, 978-1441931559

More Books

Students also viewed these Databases questions

Question

Name is needed for identifying organisms ?

Answered: 1 week ago

Question

Q.1. Taxonomic classification of peafowl, Tiger and cow ?

Answered: 1 week ago

Question

What about leadership lessons from particularly good or bad bosses?

Answered: 1 week ago

Question

When would you use one approach, and when would you use another?

Answered: 1 week ago