[go: up one dir, main page]

Skip to content

radomyr-horban/web-workers

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Web Workers

You have an input field and a Caclulate button. When user enters a number and presses Calculate button, the fibonacci value should be evaluated and displayed in the div with id 'result' (innerText) in a form Result: evaluated_fibonacci While the value is being evaluated, please, display Calculating... in the div

Please, use web worker for the evaluation. It should receive a data in form of an object {data: someValue}. Result of its work should be a Number.

You have all the necessary files created, please, use them.

Additional task: when evaluation lasts long and user does not wait till it ends, he should be able to start a new evaluation. Pressing Calculate button should stop ongoing calculation and start new.

About

Web Workers (Practical task)

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published