Q.1.Write a java script code to accept a sentence from the user and
alters it as follows: Every space is replaced by * and digits are replaced by?
Q2.Write HTML code which generates the following output and display each
element of list in different size, color & font. Use inline CSS to format
the list.
<html>
<head>
<title>list</title></head>
<body style="background-color: lightblue;">
<ul>
<li>honda</li>
<ul type="square">
<li>petrol</li>
<ol type="1)">
<li>honda city</li>
<li>brio</li>
</ol>
<li>diesel</li>
<ol>
<li>amaze</li>
<li>brio</li>
</ol>
</ul>
<li>maruti-suzuki</li>
<ul type="square">
<li>petrol</li>
<ol>
<li>swift</li>
<li>rifz</li>
</ol>
<li>diesel</li>
<ol>
<li>swift-desire</li>
</ol>
</ul>
</ul>
</body>
</html>