can someone help me please with some Javascript problem

Im very new with javascript and been a little difficult I have a challenge to solve and i tried so many different methods but cant figure it out this is the steps for the challenge I would apreciate some help. thanks


Declare a variable named maxNumber and use a Math method to assign it the largest number from the following numbers: 7, 4, 8, 11, 5, 2
Log the value of maxNumber to the console.
Declare a variable named randomNumber and assign it an expression using the following Math.floor, Math.random and the variable maxNumber so that it outputs a random number between 0 and 10