Q1.Write a java script code to accept a number n from
user and display first n terms of Fibonacci series
<html>
<body>
<script type="text/javascript">
var var1 = 0;
var var2 = 1;
var var3;
var num =prompt("Enter No:-","0");
var num=parseInt(num);
document.write(var1+"<br />");
document.write(var2+"<br />");
for(var i=3; i <= num;i++)
{
var3 = var1 + var2;
var1 = var2;
var2 = var3;
document.write(var3+"<br />");
}
</script>
</body>
</html>
Q2.Create HTML page with following specifications
i)Title should be about your Car.
ii)Color the background by Pink color.
iii)Place your car name at the top of page in large
text and in green color.
iv)Add names of features in your car, each in
different color, style and font
v)Add scrolling text about your Car.
vi)Add any image at the bottom.
(Use external CSS to format the web page)