Robot Ticker

Task

Your client is buying a welcoming robot to welcome customers to their store.

The robot has a ticker display screen on its chest that displays the output of Javascript programs.

Your client has asked you to write the software to send a statement that reads ‘Welcome to our store’.

Solution

Output here




Show Code

Code
window.onload = function() {
document.getElementById("robot-display").innerHTML = "Welcome to our store!";
}