Hello I want a very simple Java Script code . Here is the details
Input Box : Year [Submit]
Output Box : Details
If year = 1900 then
outputbox text = " Lorem ipsum . Whatever whatever "
Else if year= 1901 then
Outputbox text = " Loremp ipsum so so "
Else if year = 1902 then
outputbox year = " aha genius , lorem ipsum "
Else
Alert " Invalid entry "
Requirements
Java Script Only. No Database . I will put this code inside a HTML document