@tushar-br/desktop 1.0.246 → 1.0.247

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of @tushar-br/desktop might be problematic. Click here for more details.

Files changed (137) hide show
  1. package/package.json +1 -1
  2. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/{1771614653879_HTML-_Learn.pdf → 1771615435561_DSA_Handwritten_Notes_Zero_to_Hero.pdf} +0 -0
  3. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615436069_linux-commands-handbook.pdf +0 -0
  4. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615436290_pamphlet__2_.pdf +0 -0
  5. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615451043_StudentLIST_SEM-3.pdf +0 -0
  6. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615458398_CLASS_COORDINATOR_W24-1-3-5-Revised.pdf +0 -0
  7. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615467705_LECP-IT-W24_3RD_SEMESTER_TENTATIVE_TIMETABLE.pdf +0 -0
  8. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615471212_MID-1time_table.jpg +0 -0
  9. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615493204_DS_unit1_by_PKChavda.pdf +0 -0
  10. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615493535_DS_unit2_OOP_by_PKC.pdf +0 -0
  11. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615493622_DS_unit3_by_pkc.pptx +0 -0
  12. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615519049_PRECTICAL-1.py +92 -0
  13. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615519206_PRECTICAL-2.py +17 -0
  14. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615519288_PRECTICAL-3.py +36 -0
  15. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615519394_PRECTICAL-4.py +4 -0
  16. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615519461_PRECTICAL-5.py +7 -0
  17. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615519540_PRECTICAL-6.py +6 -0
  18. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615542912_practical-1_-_9.pdf +0 -0
  19. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615543303_practical-14-18.pdf +0 -0
  20. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615543419_Data_Structure_with_Python___LAB_MANUAL_.pdf +0 -0
  21. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615547902_unit5_pk_chavda.pptx +0 -0
  22. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615562404_microproject-dswp.docx +0 -0
  23. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615598223_DM_GTU_Study_Material_e-Notes_Unit-3.pdf +0 -0
  24. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614493749_ch--2.pdf +0 -0
  25. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614493945_ch--3.pdf +0 -0
  26. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614494131_ch--4.pdf +0 -0
  27. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614494252_ch--5.pdf +0 -0
  28. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614494397_ch--1.pdf +0 -0
  29. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614502261_python_CO_Wise_Assignments.pdf +0 -0
  30. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614502630_python_manual.pdf +0 -0
  31. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614525408_Prectical_3_python.pdf +1 -1976
  32. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614525554_prectical_4_quiz.pdf +0 -0
  33. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614525699_prectical_5_quiz_python.pdf +11 -2771
  34. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614525889_prectical_6_quiz_python.pdf +6 -2912
  35. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614526007_prectical_7_quiz_python.pdf +0 -0
  36. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614526105_prectical_8_quiz_python.pdf +0 -0
  37. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614526215_prectical_9_quiz_python.pdf +0 -0
  38. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614526306_prectical_10_quiz_python.pdf +0 -0
  39. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614526392_prectical_11_quiz_python.pdf +0 -0
  40. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614526449_prectical_12_quiz_python.pdf +0 -0
  41. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614526551_prectical_13_quiz_python.pdf +0 -0
  42. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614526635_prectical_14_quiz_python.pdf +0 -0
  43. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614526721_prectical_16_quiz_python.pdf +0 -0
  44. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614526809_prectical_17_quiz_python.pdf +0 -0
  45. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614526919_prectical_18_quiz_python.pdf +0 -0
  46. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614527016_prectical_19_quiz_python.pdf +0 -0
  47. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614527097_prectical_20_python_quiz.pdf +0 -0
  48. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614527184_prectical_21_python.pdf +0 -0
  49. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614527305_prectical_22_quiz_python.pdf +0 -0
  50. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614527491_prectical_23_quiz_python.pdf +0 -0
  51. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614527617_prectical_24_quiz_python.pdf +0 -0
  52. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614527762_prectical_25_quiz_python.pdf +0 -0
  53. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614527911_ch1-Quiz.pdf +0 -0
  54. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614607798_Prectical-1.html +0 -57
  55. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614608182_Prectical-2.html +0 -18
  56. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614608243_Prectical-3.html +0 -20
  57. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614608522_Prectical-4.html +0 -43
  58. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614608678_Prectical-5.html +0 -25
  59. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614608736_PRectical-6.html +0 -25
  60. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614608792_Prectical-7.html +0 -29
  61. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614608851_Prectical-8.html +0 -33
  62. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614608903_Prectical-9.html +0 -101
  63. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614608970_prectical-10.pdf +0 -0
  64. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614609037_Prectical-11.html +0 -74
  65. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614609097_Prectical-12.html +0 -41
  66. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614609159_Prectical-13.html +0 -79
  67. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614609237_Prectical-14.html +0 -48
  68. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614609310_Prectical-15.html +0 -41
  69. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614609381_Prectical-16.html +0 -41
  70. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614609491_Prectical-17.html +0 -40
  71. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614609562_Prectical-18.html +0 -27
  72. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614609643_Prectical-19.html +0 -86
  73. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614609717_Prectical-20.html +0 -75
  74. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614609825_Prectical-21.html +0 -91
  75. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614636907__--Practical_No.5_Use_sorted__order.txt +0 -25
  76. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614637017__--Practical_No.6_Use_unsorted__uno.txt +0 -25
  77. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614637136__--Practical_No.7_Use_definition__d.txt +0 -29
  78. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614637260__--Practical_No.8_Use_semantic_tags.txt +0 -33
  79. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614637365__--Practical_No.9--.txt +0 -101
  80. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614637486__--Practical_No.11-htmlUse_inline__inte.txt +0 -74
  81. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614637595__--Practical_No.12--.txt +0 -41
  82. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614637686__--Practical_No.13--.txt +0 -79
  83. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614637786__--Practical_No.14-_Use_JavaScript_.txt +0 -48
  84. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614638006__--Practical_No.15_To_use_JavaScrip.txt +0 -41
  85. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614638179__--Practical_No.17_To_use_JavaScrip.txt +0 -40
  86. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614638335__--Practical_No.18_To_use_JavaScrip.txt +0 -27
  87. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614638470__--Practical_No.19_Use_JavaScript_u.txt +0 -86
  88. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614638587__--Practical_No.20_Use_JavaScript_t.txt +0 -75
  89. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614638694__--Practical_No.21_Use_JavaScript_t.txt +0 -91
  90. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614638787_Practical_No.11-css.txt +0 -8
  91. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614638883_Practical_No.12-css.txt +0 -40
  92. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614638972_prectical-16html.txt +0 -41
  93. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614639072__--_Practical_No.1_Use_HTML_text_fo.txt +0 -57
  94. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614639214__--_Practical_No.3_Use_image_tags_t.txt +0 -20
  95. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614639321__--Practical_No.2_Use_hyper_link_ta.txt +0 -18
  96. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771614639410__--Practical_No.4_Use_HTML_table_ta.txt +0 -43
  97. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615138710_Lab_Manual_4321603.pdf +0 -0
  98. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615168151_maths_sem_2_mid_1___CWT.pdf +2 -1619
  99. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615168331_Physics_sem_2_mid_1___CWT.pdf +5 -1539
  100. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615168504_python_sem_2_mid_1___CWT.pdf +3 -3074
  101. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615168622_E.S_sem_2_mid_1___CWT.pdf +3 -1694
  102. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615178590_e.s._sem_-2___mid-2_-_CWT.pdf +3 -2265
  103. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615178810_maths_mid-2__IT_sem-2_-CWT.pdf +6 -1710
  104. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615179004_phisics_sem-2__mid_-2_-CWT.pdf +5 -2183
  105. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615179183_python_sem-2__mid-2_-CWT.pdf +6 -2335
  106. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615208898_APP_assignment_CO_Wise.pdf +0 -0
  107. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615209239_LABMANUAL.pdf +0 -0
  108. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615252109_prectical13new.html +0 -165
  109. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615252617_prectical14.html +0 -173
  110. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615252771_prectical15.html +0 -172
  111. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615252880_prectical16.html +0 -167
  112. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615253003_prectical17.html +0 -161
  113. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615253153_prectical18.html +0 -161
  114. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615253301_prectical19.html +0 -161
  115. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615253440_prectical20.html +0 -161
  116. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615253559_prectical21.html +0 -161
  117. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615253655_prectical22.html +0 -161
  118. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615253773_prectical23.html +0 -161
  119. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615253961_prectical24.html +0 -161
  120. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615254081_prectical25.html +0 -161
  121. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615254185_prectical1.html +0 -182
  122. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615254292_prectical2.html +0 -168
  123. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615254429_prectical3.html +0 -163
  124. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615254659_prectical4.html +0 -165
  125. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615254962_prectical5.html +0 -237
  126. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615255210_prectical6.html +0 -176
  127. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615255422_prectical7.html +0 -179
  128. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615255585_prectical8.html +0 -176
  129. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615255789_prectical9.html +0 -170
  130. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615255993_prectical10.html +0 -190
  131. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615256276_prectical11.html +0 -188
  132. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615256486_prectical12.html +0 -167
  133. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615272643_pre12-2.png +0 -0
  134. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615272747_pre12-3.png +0 -0
  135. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615272874_pre13.png +0 -0
  136. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615273030_pre12.png +0 -0
  137. package/staging_area/desktop/resume web/dist/assets/explorer/thispc/1771615434649_Brochure_IIT_Bombay.pdf +0 -0
@@ -1,74 +0,0 @@
1
- <!--Practical No.11-Use inline, internal and external style sheets for the student registration form and bank account form created in previous practical.-->
2
-
3
- <!--() A )To create and apply inline . internal and external style sheets in the student registration form and the bank account opening registration form .-->
4
-
5
-
6
- <!--CODE-->
7
-
8
-
9
-
10
-
11
- <!--Inline css:-->
12
- <html>
13
-
14
- <head>
15
- <title>
16
- </title>
17
- </head>
18
-
19
- <body>
20
- <h1 style="color: blue;text-align: center;">This is a heading</h1>
21
-
22
- <p style="color: red;">This is paragraph. </p>
23
- </body>
24
-
25
- </html>
26
-
27
-
28
-
29
-
30
-
31
- <!--Internal CSS:-->
32
-
33
- <html>
34
-
35
- <head>
36
- <title>
37
- </title>
38
- </head>
39
- <style>
40
- body {
41
- background-color: linem;
42
- }
43
-
44
- h1 {
45
- color: rgb(158, 0, 0);
46
- margin-left: 40px;
47
- }
48
- </style>
49
-
50
- <body>
51
- <h1>THIS is Heading </h1>
52
- <p> This is paragraph </p>
53
- </body>
54
-
55
- </html>
56
-
57
-
58
-
59
-
60
- <!--External CSS-->
61
- <html>
62
-
63
- <head>
64
- <title>
65
- </title>
66
- </head>
67
- <link rel="stylesheet" href="Prectical-11.css">
68
-
69
- <body>
70
- <h1> This is heading </h1>
71
- <p> Thisis paragraph</p>
72
- </body>
73
-
74
- </html>
@@ -1,41 +0,0 @@
1
- <!--Practical No.12:-->
2
-
3
- <!-- a. Use different CSS elements to create and format your Profile Page (Note: use CSS Background,
4
- Text, Font, Tables, Links, Images, Margin etc)-->
5
-
6
-
7
- <!--CODE-->
8
-
9
-
10
-
11
- <html>
12
-
13
- <head>
14
- <link rel="stylesheet" href="pract12.css">
15
- </head>
16
-
17
- <body>
18
- <h1> Hello World of H1 </h1>
19
- <h2> Hello World of H2 </h2>
20
- <table>
21
- <tr>
22
- <th> Table Title 1</th>
23
- <th> Table Title 2</th>
24
- </tr>
25
- Static Webpage Design (4311603) 95 | Page
26
- <tr>
27
- <td> Table Value 1</td>
28
- <td> Table Value 1</td>
29
- </tr>
30
- <tr>
31
- <td> Table Value 2</td>
32
- <td> Table Value 2</td>
33
- </tr>
34
- <tr>
35
- <td> Table Value 3</td>
36
- <td> Table Value 3</td>
37
- </tr>
38
- </table>
39
- </body>
40
-
41
- </html>
@@ -1,79 +0,0 @@
1
- <!--Practical No.13-->
2
-
3
-
4
-
5
- <!--CODE-->
6
-
7
-
8
- <!--A-->
9
-
10
- <html>
11
-
12
- <head>
13
- <title>Practical No.13--SWD---A,B</title>
14
- </head>
15
-
16
- <script type="text/javascript">
17
- let a = 2;
18
- let b = -7;
19
- let c = 3;
20
-
21
- let sqroot = Math.sqrt(b * b - 4 * a * c);
22
-
23
- let denom = 2 * a;
24
-
25
- let root1 = (-b + sqroot) / denom;
26
-
27
- let root2 = (-b - sqroot / denom);
28
-
29
- document.write("root1 is:" + root1);
30
-
31
- document.write("root2 is:" + root2);
32
- </script>
33
-
34
- <body>
35
- </body>
36
-
37
- </html>
38
- <br>
39
- <br>
40
- <br>
41
-
42
- <!--B-->
43
- <html>
44
-
45
- <head>
46
- <title>
47
- </title>
48
- </head>
49
- <script>
50
- function highest() {
51
- let no1 = document.getElementById("no1");
52
-
53
- let no2 = document.getElementById("no2");
54
-
55
- let no3 = document.getElementById("no3");
56
-
57
- if (no1 > no2 && no1 > no3)
58
- res = no1;
59
- else if (no2 > no1 && no2 > no3)
60
- res = no2;
61
- else
62
- res = no3;
63
- }
64
- </script>
65
-
66
- <body>
67
- <input type="number" id="no1">
68
-
69
- <input type="number" id="no2">
70
-
71
- <input type="number" id="no3">
72
-
73
-
74
- <input type="submit" value="print highest" onclick="highest()">
75
-
76
- <span id="res"> </span>
77
- </body>
78
-
79
- </html>
@@ -1,48 +0,0 @@
1
- <!--Practical No.14- Use JavaScript to check whether given character is vowel or consonant using if else ladder.-->
2
-
3
-
4
- <!--CODE-->
5
-
6
-
7
-
8
- <html>
9
-
10
- <head>
11
- <title> </title>
12
- <script>
13
- let ch;
14
-
15
- function checkvowel() {
16
-
17
- ch = document.getElementById("char").value;
18
-
19
- if ((ch >= 'a' && ch <= 'z') || (ch >= 'A' && ch <= 'z'))
20
-
21
- {
22
- if (ch == 'a' || ch == 'e' || ch == 'i' || ch == 'o' || ch == 'u')
23
- document.getElementById("result").innerHTML = "character is vowel";
24
-
25
- else if (ch == 'A' || ch == 'E' || ch == 'I' || ch == 'O' || ch == 'u')
26
-
27
- document.getElementById("result").innerHTML = " character is vowel";
28
-
29
- else
30
- document.getElementById("result").innerHTML = " character is consonant";
31
- } else
32
- document.getElementById("result").innerHTML = "nither vowel nor consonant";
33
- }
34
- </script>
35
- </head>
36
-
37
- <body>
38
- <div class="wrapper">
39
- <label>Enter The Character</label>
40
- <input type="text" id="char">
41
- <br></br>
42
- <input type="submit" value="Check" onclick="checkvowel()">
43
- <span id="result"></span>
44
-
45
- </div>
46
- </body>
47
-
48
- </html>
@@ -1,41 +0,0 @@
1
- <!--Practical No.15: To use JavaScript to check whether given character is vowel or consonant using switch case.-->
2
-
3
-
4
-
5
- <!--CODE-->
6
-
7
-
8
- <html>
9
-
10
- <head>
11
- <title>
12
- </title>
13
- </head>
14
-
15
- <body>
16
- <script type="text/javascript">
17
- function Equation() {
18
- let ch = document.getElementById("input char").value;
19
-
20
- if (ch == 'a' || ch == 'e' || ch == 'i' || ch == 'o' || ch == 'u')
21
- document.getElementById("Number").innerHTML = ("<br>" + ch + "</br>" + "is a vowel");
22
-
23
- else if (ch == 'A' || ch == 'E' || ch == 'I' || ch == 'O' || ch == 'U')
24
- document.getElementById("Number").innerHTML = ("<br>" + ch + "</br>" + "is a vowel");
25
-
26
- else
27
- document.getElementById("Number").innerHTML = ("<br>" + ch + "</br>" + "is a consonant");
28
- }
29
- </script>
30
-
31
- <form>
32
- <label for="input char"><b>Input Char </b></label>
33
- <input type="text" name="input char" id="Input char">
34
- <br>
35
- <input type="button" value="click here" onclick="Equation()">
36
- </form>
37
- <div class="number" id="number"></div>
38
- <br>
39
- </body>
40
-
41
- </html>
@@ -1,40 +0,0 @@
1
- <!--Practical No.17: To use JavaScript to calculate power of given number.-->
2
-
3
- <html>
4
-
5
- <head>
6
- <title>Practical No.17</title>
7
-
8
- <script>
9
- function calcpower() {
10
-
11
-
12
- let b = document.getElementById("base").value;
13
- let e = document.getElementById("exp").value
14
- let res;
15
- res = powerofnumber(b, e)
16
- document.getElementById("res").innerHTML = res;
17
- }
18
-
19
- function powerofnumber(b, e) {
20
-
21
- let i, pow = 1;
22
-
23
- for (i = 0; i < e; i++) {
24
-
25
- pow = pow * b;
26
- }
27
- return pow;
28
- }
29
- </script>
30
- </head>
31
-
32
- <body>
33
-
34
- <h2>Java script to find power of a number without using pow()</h2>
35
- <input type="number" id="base" min="1">
36
- <input type="number" id="exp" min="1">
37
- <input type="submit" onclick="calcpower()" value="submit"> result: <span id="res"></span>
38
- </body>
39
-
40
- </html>
@@ -1,27 +0,0 @@
1
- <!--Practical No.18: To use JavaScript to print multiplication table of given number.-->
2
-
3
-
4
-
5
- <!--CODE-->
6
-
7
- <html>
8
-
9
- <head>
10
- <title>Practical No.18 -SWD
11
- </title>
12
- </head>
13
-
14
- <body>
15
- <h1> Table </h1>
16
- <center>
17
- <script>
18
- let a = prompt("enter the number to print table");
19
- const num = parseInt(a);
20
-
21
- for (i = 1; i <= 10; i++)
22
- document.write("<br>" + num + "*" + i + "=" + (i * num));
23
- </script>
24
- <center>
25
- </body>
26
-
27
- </html>
@@ -1,86 +0,0 @@
1
- <!--Practical No.19: Use JavaScript user defined functions to perform the following operations: -->
2
-
3
-
4
- <!--Code-->
5
-
6
- <!--a. to calculate sum of 1 to n-->
7
-
8
- <!DOCTYPE html>
9
- <html>
10
-
11
- <head>
12
- <title>Calculate Sum of Numbers</title>
13
- <script>
14
- function numberSum(n) {
15
- if (isNaN(n)) {
16
- return "Invalid input. Please enter a valid number.";
17
- }
18
- var total = 0;
19
- for (var i = 1; i <= n; i++) {
20
- total += i;
21
- }
22
- return total;
23
- }
24
-
25
- function calculateSum() {
26
- var n = document.getElementById("number").value;
27
- var sum = numberSum(n);
28
- document.getElementById("result").innerHTML = "The sum of numbers from 1 to " + n + " is " + sum;
29
- }
30
- </script>
31
- </head>
32
-
33
- <body>
34
- <label for="number">Enter a number:</label>
35
- <input type="text" id="number">
36
- <button onclick="calculateSum()">Calculate Sum</button>
37
- <p id="result"></p>
38
- </body>
39
-
40
- </html>
41
-
42
-
43
-
44
- <br>
45
- <br>
46
-
47
- <!--B-->
48
-
49
-
50
- <!DOCTYPE html>
51
- <html>
52
-
53
- <head>
54
- <title>Check if a Number is Prime</title>
55
- <script>
56
- function isPrime(n) {
57
- if (isNaN(n)) {
58
- return "Invalid input. Please enter a valid number.";
59
- }
60
- if (n <= 1) {
61
- return n + " is not a prime number.";
62
- }
63
- for (var i = 2; i <= Math.sqrt(n); i++) {
64
- if (n % i === 0) {
65
- return n + " is not a prime number.";
66
- }
67
- }
68
- return n + " is a prime number.";
69
- }
70
-
71
- function checkPrime() {
72
- var n = document.getElementById("number").value;
73
- var result = isPrime(n);
74
- document.getElementById("result").innerHTML = result;
75
- }
76
- </script>
77
- </head>
78
-
79
- <body>
80
- <label for="number">Enter a number:</label>
81
- <input type="text" id="number">
82
- <button onclick="checkPrime()">Check</button>
83
- <p id="result"></p>
84
- </body>
85
-
86
- </html>
@@ -1,75 +0,0 @@
1
- <!--Practical No.20: Use JavaScript to perform the following operations-->
2
-
3
-
4
- <!--CODE-->
5
-
6
- <!--A-->
7
-
8
- <html>
9
-
10
- <head>
11
- <title>JavaScript to take input of student name and address and display in a dialog box. </title>
12
- <script type="text/javascript">
13
- function printvalue() {
14
- let name = document.form1.name.value;
15
- let address = document.form1.address.value;
16
- alert("Welcome: " + name + "\n" + "Your Address is:" + address);
17
- }
18
- </script>
19
-
20
- <form name="form1">
21
- Enter Name:<input type="text" name="name" /> Enter Address:<input type="textarea" name="address" />
22
- <input type="button" onclick="printvalue()" value="print name" />
23
- </form>
24
- </body>
25
-
26
- </html>
27
-
28
-
29
-
30
-
31
- <!--B-->
32
-
33
- <html>
34
-
35
- <head>
36
- <title>JavaScript to change background color of webpage as selected by user from a list of colors given in combo box.</title>
37
- </head>
38
-
39
- <body>
40
-
41
-
42
- <form>
43
- Select your favorite color:
44
- <select id="mySelect">
45
- <option value="darkcyan">DarkCyan</option>
46
- <option value="lightpink">LightPink</option>
47
- <option value="royalblue">RoyalBlue</option>
48
-
49
- </select>
50
- </form>
51
-
52
- <p>Click the button to return the value of the selected color.</p>
53
-
54
- <button type="button" onclick="myFunction()">Try it</button>
55
-
56
- <p id="demo"></p>
57
-
58
- <script>
59
- function myFunction() {
60
- let x = document.getElementById("mySelect").value;
61
- // document.getElementById("demo").innerHTML = x;
62
- if (x == "darkcyan") {
63
- document.getElementsByTagName("body")[0].style.backgroundColor = "DarkCyan";
64
- }
65
- if (x == "lightpink") {
66
- document.getElementsByTagName("body")[0].style.backgroundColor = "LightPink";
67
- }
68
- if (x == "royalblue") {
69
- document.getElementsByTagName("body")[0].style.backgroundColor = "RoyalBlue";
70
- }
71
- }
72
- </script>
73
- </body>
74
-
75
- </html>
@@ -1,91 +0,0 @@
1
- <!--Practical No.21: Use JavaScript to perform the following operations: -->
2
-
3
-
4
-
5
- <!--CODE-->
6
-
7
- <!--A-->
8
- <html>
9
-
10
- <head>
11
- <title>JavaScript to calculate the factorial of a given number entered into a textbox. Display the result in another textbox.</title>
12
- </head>
13
-
14
- <body>
15
-
16
- Enter a number: <input type="text" id="num">
17
- <br><br>
18
- <button onclick="fact()"> Factorial </button>
19
- <input type="text" id="answer">
20
-
21
-
22
- <script>
23
- function fact() {
24
-
25
- let i, no, fact;
26
- fact = 1;
27
- no = Number(document.getElementById("num").value);
28
- for (i = 1; i <= no; i++) {
29
- fact = fact * i;
30
- }
31
- document.getElementById("answer").value = fact;
32
- }
33
- </script>
34
- </body>
35
-
36
- </html>
37
-
38
- <br>
39
- <br>
40
-
41
- <br>
42
- <br>
43
-
44
- <br>
45
- <br>
46
- <br>
47
- <br>
48
-
49
- <!--B-->
50
-
51
-
52
- <html>
53
-
54
- <head>
55
- <title>JavaScript to perform arithmetic operations on two numbers entered into textboxes. Use Radio buttons to select arithmetic operations</title>
56
-
57
- <script>
58
- function calc() {
59
- let n1 = parseFloat(document.getElementById('n1').value);
60
- let n2 = parseFloat(document.getElementById('n2').value);
61
- let oper = document.getElementById('operators').value;
62
- if (oper === '+') {
63
- document.getElementById('result').value = n1 + n2;
64
- }
65
- if (oper === '-') {
66
- document.getElementById('result').value = n1 - n2;
67
- }
68
- if (oper === '/') {
69
- document.getElementById('result').value = n1 / n2;
70
- }
71
- if (oper === '*') {
72
- document.getElementById('result').value = n1 * n2;
73
- }
74
- }
75
- </script>
76
- </head>
77
-
78
- <body>
79
- <input type="text" id="n1" /><br/><br/>
80
- <input type="text" id="n2" /><br/><br/>
81
- <select id="operators">
82
- <option value="+">+</option>
83
- <option value="-">-</option>
84
- <option value="/">/</option>
85
- <option value="*">*</option>
86
- </select>
87
- <button onclick="calc();">=</button>
88
- <input type="text" id="result" />
89
- </body>
90
-
91
- </html>
@@ -1,8 +0,0 @@
1
- body {
2
- background-color: lightblue;
3
- }
4
-
5
- h1 {
6
- color: navy;
7
- margin-left: 20px;
8
- }
@@ -1,40 +0,0 @@
1
- html {
2
- overflow-x: hidden;
3
- }
4
-
5
- body {
6
- font-family: 'Open Sans', sans-serif;
7
- font-weight: 300;
8
- color: #000;
9
- background-color: #f4ede5;
10
- }
11
-
12
- .h1,
13
- .h2,
14
- .h3,
15
- .h4,
16
- .h5,
17
- .h6,
18
- h1,
19
- h2,
20
- h3,
21
- h4,
22
- h5,
23
- h6 {
24
- font-family: 'Josefin Sans', sans-serif;
25
- font-weight: 400;
26
- color: green;
27
- }
28
-
29
- h1,
30
- h2 {
31
- font-weight: 700;
32
- }
33
-
34
- table,
35
- th,
36
- td {
37
- border: 3px solid black;
38
- color: blue;
39
- text-align: center;
40
- }
@@ -1,41 +0,0 @@
1
- <html>
2
-
3
- <head>
4
-
5
- <title>JavaScript to print Even Numbers within a Range!</title>
6
-
7
- <script>
8
- function printEvenNums() {
9
-
10
- //get the start and end range from user
11
-
12
- let start = parseInt(document.getElementById("start").value);
13
- let end = parseInt(document.getElementById("end").value);
14
- let eventums = "<br>Even Numbers:<br>";
15
-
16
- for (i = start; i <= end; i++) {
17
- // let's divide the value by 2
18
- // if the reminder is zero then it's an Even number }
19
- if (i % 2 == 0) {
20
- eventiums += i + "<br>";
21
- }
22
- }
23
- //print the values
24
- document.getElementById("result").innerHTML = eventums;
25
- }
26
- </script>
27
-
28
- </head>
29
-
30
- <h3>JavaScript to print Even Numbers within a Rangel</h3>
31
-
32
- <body>
33
-
34
- Start: <input type="number" id="start" /><br> End: <input type="number" id="end" /><br>
35
- <input type="button" onclick="printEvenNums()" value="Print Even Numbers" />
36
-
37
- <div id="result"></div>
38
-
39
- </body>
40
-
41
- </html>