Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 16 additions & 0 deletions End Term Practice/CSEML/08_2013347_ishita/2.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<html>
<head>
<script>
function ch1()
{
var x = document.getElementById("user").value
var y = x.toUpperCase()
document.getElementById("user").value = y
}
</script>
</head>
<body>
<input type="text" placeholder = "enter your name" id="user" onblur = "ch1()"><br>
<input type="password" placeholder = "enter your password" >
</body>
</html>
39 changes: 39 additions & 0 deletions End Term Practice/CSEML/08_2013347_ishita/3.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
<!DOCTYPE html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1">
<style>
.alert {
padding: 20px;
background-color: #f44336;
color: white;
}

.closebtn {
margin-left: 15px;
color: white;
font-weight: bold;
float: right;
font-size: 22px;
line-height: 20px;
cursor: pointer;
transition: 0.3s;
}

.closebtn:hover {
color: black;
}
</style>
</head>
<body>

<h2>Alert Messages</h2>

<p>Click on the "x" symbol to close the alert message.</p>
<div class="alert">
<span class="closebtn" onclick="this.parentElement.style.display='none';">&times;</span>
<strong>Danger!</strong> Indicates a dangerous or potentially negative action.
</div>

</body>
</html>
17 changes: 17 additions & 0 deletions End Term Practice/CSEML/08_2013347_ishita/4.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<body>

<h2>JavaScript setFullYear()</h2>
<p>The setFullYear() method sets the year of a date object:</p>

<p id="demo"></p>

<script>
const d = new Date();
d.setFullYear(2020);
document.getElementById("demo").innerHTML = d;
</script>

</body>
</html>
1 change: 1 addition & 0 deletions End Term Practice/CSEML/newishita/ishita1.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
sjdfnk
17 changes: 17 additions & 0 deletions End Term Practice/CSEML/solutions_ishita/4.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
<!DOCTYPE html>
<html>
<body>

<h2>JavaScript setFullYear()</h2>
<p>The setFullYear() method sets the year of a date object:</p>

<p id="demo"></p>

<script>
const d = new Date();
d.setFullYear(2020);
document.getElementById("demo").innerHTML = d;
</script>

</body>
</html>
Empty file.