FSD_report[1] final - Copy
FSD_report[1] final - Copy
ON
COLLABORATIVE LEARNING
By
Submitted to
Prof. Vimala kulkarni
1
ACTIVITY REPORT
ON
COLLABORATIVE LEARNING
By
2
GURU NANAK DEV ENGINEERING COLLEGE, BIDAR
2023-2024
Department of Information Science and Engineering
CERTIFICATE
3
GURU NANAK DEV ENGINEERING COLLEGE, BIDAR
DEPARTMENT OF INFORMATION SCIENCE &
ENGINEERING
ACKNOWLEDGEMENT
We would like to express our deep sense of gratitude to Dr. Suresh R Reddy,
Principal of Guru Nanak Dev Engineering College, Bidar for his motivation and for
creating an inspiring atmosphere in the college by providing state of facilities for
preparation and supporting in the completion of this Project.
We are highly indebted to our project guide Prof.Vimala Kulkarni, for guiding and
giving timely advices and suggestion in the successful completion of the project.
We thank all the staff members who have been helping us directly or indirectly for
completion of the project. Finally, we are thankful to our parents and our entire
friends who have directly or indirectly helped in the project.
4
Table of Contents
CHAPTER 1:
AJAX Solution, Javascript………………………………………………………………6
AJAX…………………………………………………………………………………….6
Javascript………………………………………………………………………………….9
CHAPTER 2:
Response……………………………………………………………………………………13
HTML………………………………………………………………………………………15
CHAPTER 3:
CSS, JSON…………………………………………………………………………………..18
CSS…………………………………………………………………………………………..18
JSON…………………………………………………………………………………………20
GROUP PHOTO…………………………………………………………………………….22
BIBILOGRAPHY………………………………………………………………………………23
5
CHAPTER 01
AJAX SOLUTION, JAVASCRIPT
AJAX and JavaScript: A Dynamic Duo for Your Project
Understanding AJAX
AJAX, which stands for Asynchronous JavaScript and XML, is a technique for
creating interactive web applications. It allows web pages to update parts of
themselves without reloading the entire page. This results in a smoother, more
responsive user experience.
6
Common Use Cases for AJAX
Real-time updates: Displaying live stock quotes, chat messages, or social
media feeds.
Form validation: Checking form data without full page reloads.
Data retrieval: Fetching data from a server without page refreshes.
Content loading: Loading content dynamically based on user actions.
Additional Tips
Leverage libraries: Consider using libraries like jQuery or Axios to simplify
AJAX operations.
Performance optimization: Minimize the amount of data transferred and
optimize response times.
Testing: Thoroughly test your AJAX code to ensure it works as expected in
different browsers and devices.
7
Dynamic image loading:
function loadImage(imageId) {
fetch(`images/${imageId}.jpg`) // Replace with your image path
.then(response => response.blob())
.then(blob => {
const imageUrl = URL.createObjectURL(blob);
const imageElement = document.getElementById('image-container');
imageElement.src = imageUrl;
})
.catch(error => {
console.error('Error loading image:', error);
});
}
8
JavaScript: The Backbone of Your Web Project
What is JavaScript?
JavaScript is a programming language that adds interactivity to web pages. It's the
third layer in the web development trifecta, alongside HTML (structure) and CSS
(style).
9
Getting Started:
Basic Syntax: Learn JavaScript fundamentals like variables, data types,
operators, control flow.
DOM Manipulation: Understand how to interact with HTML elements using
JavaScript.
Events: Handle user interactions and browser events.
AJAX: Fetch data from servers without reloading the page.
Libraries and Frameworks: Explore popular options like React, Angular, or
Vue for complex projects.
10
CHAPTER 02
XHTML Http Request and Response HTML
The Birth of XHTML
XHTML emerged as a response to the growing complexity and inconsistency of
HTML. With the web expanding rapidly, there was a need for a more structured and
standardized markup language. XHTML was envisioned as a bridge between
HTML and XML, aiming to combine the best of both worlds.
DOCTYPE
Optional Required
declaration
11
XHTML Modules
To address the complexity of creating full-featured XHTML documents, XHTML
was modularized. This meant that documents could be created by combining
different modules, allowing for customization and flexibility.
XHTML's Legacy
While XHTML may not be widely used today, its influence can still be seen in
modern web development practices. The emphasis on well-formed markup and
valid code is a direct result of XHTML's legacy. Additionally, some concepts from
XHTML, such as namespaces and modularization, have found applications in other
XML-based technologies.
Conclusion
XHTML was a significant step forward in web development, but it ultimately gave
way to the more versatile and developer-friendly HTML5. Understanding XHTML
can provide valuable insights into the evolution of web standards and the
importance of structured markup.
12
RESPONSE
13
Inspecting HTML Responses
You can inspect the HTML response of a webpage using the developer tools of your
web browser. This allows you to examine the HTML structure, headers, and status
code.
14
HTML
Core Characteristics
Markup Language: HTML is a markup language, meaning it uses tags to
define the structure and content of a webpage.
Platform Independence: HTML documents can be viewed on various
platforms (Windows, macOS, Linux) and browsers without modification.
Case Insensitive: HTML tags are generally case-insensitive, but it's
recommended to use lowercase for consistency.
Simple Syntax: HTML is relatively easy to learn and understand, making it
accessible to beginners.
Hypertext: HTML supports hyperlinks, allowing users to navigate between
different web pages.
16
HTML Form:
<!DOCTYPE html>
<html>
<head>
<title>Form Example</title>
</head>
<body>
<form>
<label for="name">Name:</label>
<input type="text" id="name" name="name">
<label for="email">Email:</label>
<input type="email" id="email" name="email">
<input type="submit" value="Submit">
</form>
</body>
</html>
HTML Table:
<!DOCTYPE html>
<html>
<head>
<title>Data Table</title>
</head>
<body>
<table>
<tr>
<th>Column 1</th>
<th>Column 2</th>
</tr>
<tr>
<td>Data 1</td>
<td>Data 2</td>
</tr>
<tr>
<td>Data 3</td>
<td>Data 4</td>
</tr>
</table>
</body>
</html>
17
CHAPTER 03
CSS, JSON
Types of CSS
Inline Styles: Styles applied directly to an HTML element using the style
attribute.
Embedded Styles: Styles defined within the <head> section of an HTML
document using the <style> tag.
External Styles: Styles defined in a separate CSS file linked to the HTML
document using the <link> tag.
18
Best Practices for CSS
Organization: Structure your CSS code for readability and maintainability.
Specificity: Use specific selectors to avoid style conflicts.
Cascading: Understand how CSS rules interact and override each other.
Responsiveness: Design for different screen sizes using media queries.
Accessibility: Consider color contrast, font size, and other accessibility
guidelines.
Performance Optimization: Optimize CSS for faster loading times.
By mastering CSS, you can transform your HTML documents into visually
appealing and user-friendly web pages.
h1 {
color: #333;
text-align: center;
}
p{
line-height: 1.5;
}
.button {
background-color: blue;
color: white;
padding: 10px 20px;
text-align: center;
text-decoration: none;
display: inline-block;
}
19
JSON
JSON Structure
Objects: Unordered collections of key-value pairs.
JSON
{
"name": "John Doe",
"age": 30,
"city": "New York"
}
Arrays: Ordered collections of values.
JSON
[
"apple",
"banana",
"orange"
]
20
Advantages of JSON
Efficiency: Compact and fast to parse.
Readability: Easy to understand and debug.
Wide Adoption: Supported by most programming languages.
Flexibility: Can represent various data structures.
Disadvantages of JSON
Lack of Comments: JSON doesn't support comments, which can be a
limitation in certain scenarios.
Security: While JSON itself is secure, the data it carries should be properly
sanitized and validated to prevent attacks.
21
GROUP PHOTO
22
BIBLIOGRAPHY
23
24
25