Wha's wrong with my code?


#1

<PLEASE USE THE FOLLOWING TEMPLATE TO HELP YOU CREATE A GREAT POST!>

<Below this line, add a link to the EXACT exercise that you are stuck at.>
https://www.codecademy.com/courses/javascript-beginner-en-x9DnD/0/2?curriculum_id=506324b3a7dffd00020bf661#

<In what way does your code behave incorrectly? Include ALL error messages.>

you did not check for user’s age



Replace this line with your code. 
confirm("I am going to be serial Entrepreneur, just watch me");

var userAge = prompt("what's your age?");
    userAge =30  
if (userAge >= 30)
{
    console.log("You are so hot");
}
else
{
    console.log("****you");
}


#2

You are telling the computer that userAge is equal to 30, when you are supposed to prompt the user for his age.
Removing that line should do it.

The exercise you are working on right now asks:

If the player´s age is less than 13, it should log (“Play, but beware of risks”).

Else, the player should be able to play (“Alrighty, you can play!”)