TRINITY INTERNATIONAL SS & COLLEGE
Dillibazar Height, Kathmandu, Nepal
LAB WORK # 6: Java Script
(COMPUTER SCIENCE)
SUBMITTED BY: SUBMITTED TO:
NAME: Adarsha Nepal
GRADE: XII (DA2)
DATE : 2081/08/01 PRAVEEN KOIRALA
Faculty of Computer Science
KATHMANDU, NEPAL
2024
Table of Contents
1. Acknowledgement
2. Objectives
3. Theoretical Background
4. Work Done
5. Conclusion
1. Acknowledgement
I would like to express my sincere gratitude to Praveen Koirala for providing valuable guidance and
support throughout the course and lab exercises. Their insightful feedback and encouragement helped
me to better understand JavaScript and its applications.
I also wish to thank my classmates and lab partners for their collaboration and helpful discussions,
which contributed significantly to my learning experience.
Finally, I appreciate the resources available in the course materials and online documentation, which
were instrumental in completing the tasks and gaining a deeper understanding of JavaScript
programming.
2. Objective
The main objectives of the lab work are as follows:
1. To understand different variable types in JavaScript.
2. To get input from user and display output.
3. To perform arithmetic and logical operation in JavaScript.
4. To understand and apply different conditional and looping statements in JavaScript.
5. To understand the usefulness of JavaScript library (JQuery) and apply it.
5. Conclusion
This lab provided hands-on experience with JavaScript fundamentals, such as variables, functions,
loops, and event handling. Through coding exercises, we learned how to manipulate the DOM and
create interactive web elements. The lab strengthened our problem-solving skills and understanding of
JavaScript’s role in web development. Overall, it helped build a solid foundation for writing and
debugging JavaScript code in future projects.