Page 377 - Web Applications (803) Class 11
P. 377
iii) Next choose the mode as Lightness. Click on OK.
iv) If required, adjust the brightness and contrast of your image by going to Colors and selecting Brightness-
Contrast.
v) You can now save this image by clicking on File → Export As.
JAVASCRIPT
21. To display one of the two alternate messages
Ans. <!DOCTYPE html>
<html>
<head>
<title> if-else statement </title>
</head>
<body>
<script>
var my_score = parseInt(prompt(“Enter a score”));
passing_score = 60;
if(my_score >= passing_score)
{
Practical Work 375

