Answer:
- var count = 0;
- var counterElement = document.getElementById("counter");
- counterElement.innerHTML = count;
- var a = setInterval(
- function(){
- count++;
- counterElement.innerHTML = count;
- if(count == 5){
- clearInterval(a);
- }
- }
- , 300);
Explanation:
The solution code is given from Line 6 - 15.
setInterval function is a function that will repeatedly call its inner function for an interval of time. This function will take two input, an inner function and the interval time in milliseconds.
In this case, we define an inner function that will increment count by one (Line 8) and then display it to html page (Line 9). This inner function will repeatedly be called for 300 milliseconds. When the count reaches 5, use clearInterval to stop the innerFunction from running (Line 11 - 13).
Until 2015, each new Roblox user automatically had one friend and the friend was called Builderman
Builderman is the friend that is provided automatically for all users until 2015
<h2>Further Explanation</h2>
The builderman welcomes each new Roblox user, send a message to them and automatically follows every user until when it was discontinued in 2014. The role of the Builderman was to introduce the game experience to each new Roblox user.
Roblox is an online game and serves as a platform where users can also create their own games. Roblox gives its users the platform to design their own games and allow its user to different kinds of games that are created by other users on the platform
Roblox hosts numerous games designed by its users and virtual worlds which covers different genres, such as traditional racing, obstacle courses and many more.
Roblox has millions of users worldwide, its monthly active users are over 100million. Roblox also allows its users to create virtual items for sale. This also implies, its users can create virtual items and sell them for other users
Roblox was founded by David Baszucki and Erik Cassel; it was released on September 1, 2006. It is a platform that allows single-player and multiplayer.
LEARN MORE:
KEYWORDS:
- roblox
- builderman
- friend
- message
- automatically
- david baszucki
- erik cassel
Answer:
The answer is cross-site scripting(XSS)attack.
Explanation:
Hope this helps!