Front End Development Assignment 1-20 Q
Front End Development Assignment 1-20 Q
Journal Programs
1. Design a html page to display an history of Shivaji University using various text
formatting tags
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
</head>
<body>
<p>Over the years, the university has grown rapidly and now offers
<b>graduate</b> and <i>postgraduate</i> courses in a wide range of subjects.</p>
<blockquote>
</blockquote>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<body>
<ul>
<li>Fruits
<ul>
<li>Citrus
<ul>
<li>Orange</li>
<li>Lemon</li>
</ul>
</li>
<li>Berries
<ul>
<li>Strawberry</li>
<li>Blueberry</li>
</ul>
</li>
</ul>
</li>
<li>Vegetables
<ul>
<li>Leafy Greens
<ul>
<li>Spinach</li>
<li>Lettuce</li>
</ul>
</li>
<li>Root Vegetables
<ul>
<li>Carrot</li>
<li>Potato</li>
</ul>
</li>
</ul>
</li>
</ul>
</body>
</html>
3. Write HTML Code design Time Table using rowspan and colspan
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Time Table</title>
</head>
<body>
<table border="1">
<tr>
<th>Day</th>
<th>9:00 - 10:00</th>
<th>10:00 - 11:00</th>
</tr>
<tr>
<td>Monday</td>
<td>Math</td>
<td rowspan="2">English</td>
<td>Science</td>
<td>Lab</td>
</tr>
<tr>
<td>Tuesday</td>
<td>Physics</td>
<td colspan="2">Sports</td>
</tr>
<tr>
<td>Wednesday</td>
<td colspan="2">Workshop</td>
<td>History</td>
<td>Library</td>
</tr>
</table>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
</head>
<body>
<ul>
</ul>
</body>
</html>
5. Create a web page to get and display student information such as Name, Email, Phone
No, Class, Skill set, Blood group, image.
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Student Information</title>
</head>
<body>
<form>
<label for="name">Name:</label>
<label for="email">Email:</label>
<label for="class">Class:</label>
</form>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
</head>
<body>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
h1 {
color: green;
p{
color: orange;
</style>
</head>
<body>
<h1>This is a Heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
/* File: styles.css */
h1 {
color: purple;
p{
color: gray;
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
</head>
<body>
<h1>This is a Heading</h1>
<p>This is a paragraph.</p>
</body>
</html>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<style>
body {
background-color: #f0f0f0;
header {
background-color: #4CAF50;
color: white;
padding: 10px 0;
text-align: center;
section {
padding: 20px;
footer {
background-color: #4CAF50;
color: white;
text-align: center;
padding: 10px 0;
position: fixed;
width: 100%;
bottom: 0;
</style>
</head>
<body>
<header>
</header>
<section>
<h2>About Me</h2>
<h2>Portfolio</h2>
<h2>Contact Me</h2>
</section>
<footer>
</footer>
</body>
</html>
<!DOCTYPE html>
<html>
<head>
<title>Display Values</title>
</head>
<body>
<button onclick="display()">Submit</button>
<p id="output"></p>
<script>
function display() {
</script>
</body>
</html>
<!DOCTYPE html>
<html>
<body>
</body>
</html>
<!DOCTYPE html>
<html>
<body>
<h2>Function Demo</h2>
<script>
function greet() {
</script>
</body>
</html>
<!DOCTYPE html>
<html>
<body>
<h2>Array Demo</h2>
<p id="output"></p>
<script>
function showArray() {
</script>
</body>
</html>
<!DOCTYPE html>
<html>
<body>
<h2>Switch Demo</h2>
<p id="output"></p>
<script>
function checkDay() {
var text;
switch(day) {
document.getElementById("output").innerHTML = text;
</script>
</body>
</html>
<!DOCTYPE html>
<html>
<body>
<p id="output"></p>
<script>
var text = "";
document.getElementById("output").innerHTML = text;
</script>
</body>
</html>
<!DOCTYPE html>
<html>
<body>
<p id="output"></p>
<script>
while (i < 5) {
i++;
document.getElementById("output").innerHTML = text;
</script>
</body>
</html>
<!DOCTYPE html>
<html>
<body>
<script>
if (i === 3) { continue; }
if (i === 4) { break; }
document.getElementById("output").innerHTML = text;
</script>
</body>
</html>
console.log("Hello World");
var a = 10, b = 5;
res.end('Hello World\n');
}).listen(8080);
var fs = require('fs');
if (success) {
resolve("Operation Successful");
} else {
reject("Operation Failed");
});
promise.then((message) => {
console.log(message);
}).catch((error) => {
console.log(error);
});