Embed JavaScript code inside PHP code

Re: Embed JavaScript code inside PHP code

by AL Rachels -
Number of replies: 0
Picture of Core developers Picture of Particularly helpful Moodlers Picture of Plugin developers Picture of Testers
Hi Mike,
The MooTyper plugin uses JavaScript to process what the student is typing during an exercise. At the end of an exercise, the results are stored in the database. Time, Progress through the exercise, Mistakes, Precision, Hits per minute, and Words Per Minute are all processed and stored. Javascript is used in view.php along with typer.js, plus, each keyboard layout for each language has a .js file.
Average of ratings: Useful (1)