0% found this document useful (0 votes)
1 views

JavaScript(Task1)

The document outlines a web development course provided by Alkhidmat Foundation in collaboration with EncoderBytes Pvt Ltd, focusing on JavaScript. It covers key concepts such as including JavaScript in HTML, using console.log for debugging, alert boxes, popular frameworks like React and Angular, and the MERN stack for full-stack development. Additionally, it mentions the importance of JavaScript for web developers and compares it with PHP.

Uploaded by

Ayesha Sana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
1 views

JavaScript(Task1)

The document outlines a web development course provided by Alkhidmat Foundation in collaboration with EncoderBytes Pvt Ltd, focusing on JavaScript. It covers key concepts such as including JavaScript in HTML, using console.log for debugging, alert boxes, popular frameworks like React and Angular, and the MERN stack for full-stack development. Additionally, it mentions the importance of JavaScript for web developers and compares it with PHP.

Uploaded by

Ayesha Sana
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PPTX, PDF, TXT or read online on Scribd
You are on page 1/ 15

WEB DEVELOPMENT COURSE

Course Provided By: Alkhidmat


Foundation
Incollaboration with: EncoderBytes Pvt Ltd
Instructor: Sir Muhammad Munim

Date: 14_feb_2025
Task 1.
1: what is JavaScript?

• • JavaScript abbreviated as JS is a high level Object


Oriented Progamming language. This language used in
development of frontEnd as well as in the backEnd of
website.
• • JavaScript works like the brain of a website.
• • There are so many libraries of JavaScript which makes
the code shorter like jQuery and some frameworks of the
javascript are React JS and Anuglar JS.
• • Javascript is one of the Languages which is compalsury to
learn for a Web-Developer.
2: How do you include JavaScript in
an HTML file ?
• There are two ways to include JavaScript in an
HTML file:
• • Internal JavaScript: Inside <script> tags in
HTML.
• • External JavaScript: Linked as a .js file.
Internal JavaScript
External JavaScript
3: What is console.log() used for ?
• In JavaScript, console.log is a built-in function that
allows you to output messages or values to the
console. It is commonly used for debugging and
understanding what is happening in your code.

• console.log("Hello, World!)!
• When this code is executed, the string "Hello, World!"
will be printed to the console.
Example
4: write a javaScript script to print "Hello,
JavaScript!" in the console.
5: what is an alert box in
JavaScript?
• An alert box is a built-in JavaScript function
(alert()) that displays a message in a pop-up
dialog box. It is commonly used for simple
notifications or warnings.
• Example:
• alert("This is an alert box!");
Example:
7: Name some popular JavaScript
frameworks and their uses.
• React:
• Widely used for building fast, responsive user interfaces with a virtual DOM, ideal for
creating scalable and maintainable web applications.
• Angular (by Google):
• An open-source framework for creating dynamic single-page applications, known for
its structured approach and robust features.
• Vue.js:
• A versatile framework for building cross-platform apps and websites, praised for its
user-friendly interface and ease of learning.
• Ember.js:
• A framework for building enterprise-level web applications with a strong emphasis on
structure and maintainability, featuring two-way data binding.
• Node.js:
• Primarily used for backend development, enabling the creation of real-time
.
8. What is the MERN stack?
• The MERN stack is a collection of technologies used
for full-stack web development. It consists of:
• MongoDB – A NoSQL database used for storing
application data.
• Express.js – A backend web framework for Node.js.
• React.js – A frontend library for building user
interfaces.
• Node.js – A JavaScript runtime for executing server-
side code.
• The MERN stack is popular for building modern
9: campare JavaScript
and PHP
The end

You might also like