Help me to build a website

Job ID: 33507456

Budget: $15 – $25 USD

Hello, I need help to build a website. The website is using a lot of JavaScript.

Requirement: Please place a bid only if you solve the following exercises. I need an expert in JavaScript.

1. Assignment
A.You have the following:
let pets = ["cat", "dog", "hamster"];
let toys = ["ball", "bone", "mouse", "wheel", "box", "frisbee"];
Write a nested loop which prints out every toy for every pet.


B.You have the following:
let catIsBored = false;
Write a loop which randomly changes if catIsBored on each iteration.If cat is bored stop and print cat is bored, otherwise
let the loop run and say: "Cat is playing for X hours"where X increases with each iteration.
Related categories: JavaScript HTML5 HTML jQuery / Prototype