Weekly event manager code not working in javascript
<p>I have create a weekly event manager in javascript . but something went wrong. the code is not working . Please someone solve the fault.Whats wrong in it ?????</p>

<pre><code>var plan=prompt("Hello , Made a week plan. Type the week name to add a event");
var week = ["saturday" , "sunday" , "monday" , "tuesday"];
var saturday;
var sunday;
var monday;
var tuesday;

if( plan == "saturday" ) {

var saturday=prompt("What will you do in saturday?");

} else if ( plan == "sunday") {

var sunday=prompt("What will you do in sunday?");

} else if (plan == "monday") {

var monday=prompt("var getknow=prompt(""What will you do in monday?");

} else if (plan == "tuesday" ) {

var tuesday=prompt("What will you do in tuesday?");

} 


var getknow=prompt("Do you want to cheack the schedule? Type the week name");


if ( getknow == saturday) {

alert(saturday);

} else if (getknow == sunday ) {

alert(sunday); 
} else if (getknow == monday) {

alert(monday); 

} else if (getknow == tuesday) {

alert(tuesday);

}
</code></pre>

<p>everything is working now without theese lines of codes </p>

<pre><code>var getknow=prompt("Do you want to cheack the schedule? Type the week name");

if ( getknow == saturday) {

alert(saturday);

} else if ( getknow == sunday ) {

alert(sunday); 

} else if ( getknow == monday ) {

alert(monday); 

} else if ( getknow == tuesday ) {

alert(tuesday);

}
</code></pre>
