What could be wrong?


#1


https://www.codecademy.com/es/courses/javascript-beginner-es-xhc8p/1/2?curriculum_id=53a32b14fed2a896c6000001#

Unexpected end of imput

Add your code here, between the ```'s!
var usuarioElige = prompt("piedra, papel o tijera?");
var computadoraElige = Math.random(0,1);
if (computadoraElige <0,34){
	computadoraElige = "piedra";
}else if(computadoraElige <=0.67){
	computadoraElige = "papel";
}else{
	computadoraElige = "tijera";
}
var comparar = function (eleccion1, eleccion2) {
if (eleccion1 === eleccion2); {
    return ("¬°Es un empate!");
};
 else if (eleccion1 === "piedra"); {
  if (eleccion2 === "tijera") {
        return ("piedra gana");
    } else { 
        return ("papel gana");
}
}

#2

Here what exactly did you want to write check your numbers

Now here

and

inspect these lines for correct syntax
remember the correct syntax for if/else

if(/*some_condtion_true*/) 
{//open if block

    //statements
    
}//close if 
else{//open else block

    //other statements
    
}//close else block

Finally run through your comparar function and make sure every opening brace has a matching closing brace