SlideShare a Scribd company logo
1 of 31
JAVA SCRIPT: INTRODUCTION TO SCRIPTING
INTRODUCTION TO SCRIPTING ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Simple Program: Printing a Line of Text in a Web Page  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Simple Program: Printing a Line of Text in a Web Page  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
1 <!DOCTYPE html PUBLIC   &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot; > 2 <!-- Fig. 8.1: welcome.html --> 3 4 <HTML> 5 <HEAD>  6 <TITLE> A First Program in JavaScript </TITLE> 7 8 <SCRIPT LANGUAGE =  &quot;JavaScript&quot; > 9   document.writeln( 10   &quot;<H1>Welcome to JavaScript Programming!</H1>&quot; ); 11 </SCRIPT> 12 13 </HEAD><BODY></BODY> 14 </HTML>
 
Simple Program: Printing a Line of Text in a Web Page  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
1 <!DOCTYPE html PUBLIC  &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot; > 2 <HTML> 3 <!-- Fig. 8.2: welcome.html --> 4 5 <HEAD> 6 <TITLE> Printing a Line with Multiple Statements </TITLE>  7 8 <SCRIPT LANGUAGE =  &quot;JavaScript&quot; > 9   document.write( &quot;<FONT COLOR='magenta'><H1>Welcome to &quot; ); 10   document.writeln( &quot;JavaScript Programming!</H1></FONT>&quot; ); 11 </SCRIPT> 12 13 </HEAD><BODY></BODY> 14 </HTML>
 
1 <!DOCTYPE html PUBLIC   &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot; > 2 <HTML> 3 <!-- Fig. 8.3: welcome.html --> 4 5 <HEAD><TITLE> Printing Multiple Lines </TITLE>  6 7 <SCRIPT LANGUAGE =  &quot;JavaScript&quot; > 8   document.writeln(  9   &quot;<H1>Welcome to<BR>JavaScript<BR>Programming!</H1>&quot; ); 10 </SCRIPT> 11 12 </HEAD><BODY></BODY> 13 </HTML>
 
Simple Program: Printing a Line of Text in a Web Page  ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
1 <!DOCTYPE HTML PUBLIC   &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot; > 2 <HTML<!DOCTYPE HTML PUBLIC   &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot; > > 3 <!--  <!DOCTYPE HTML PUBLIC   &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot; > Fig. 8.4: welcome.html --> 4 <!-- Printing multiple lines in a dialog box --> 5 6 <HEAD> 7 8 <SCRIPT LANGUAGE =  &quot;JavaScript&quot; > 9   window.alert( &quot;Welcome toJavaScriptProgramming!&quot; ); 10 </SCRIPT> 11 12 </HEAD> 13 14 <BODY> 15 <P> Click Refresh (or Reload) to run this script again. </P>  16 </BODY> 17 </HTML>
 
JavaScript Program: Adding Integers ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
JavaScript Program: Adding Integers ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
JavaScript Program: Adding Integers ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
JavaScript Program: Adding Integers ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
JavaScript Program: Adding Integers ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
1 <!DOCTYPE html PUBLIC   &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot; > 2 < 1 <!DOCTYPE html PUBLIC   &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot; > HTML> 3 <!-- 1 <!DOCTYPE html PUBLIC   &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot; > Fig. 8.6: Addition.html --> 4 5 <HEAD> 6 <TITLE> An Addition Program </TITLE> 7 8 <SCRIPT LANGUAGE =  &quot;JavaScript&quot; > 9   var  firstNumber,  // first string entered by user 10   secondNumber,  // second string entered by user 11   number1,  // first number to add 12   number2,  // second number to add 13   sum;  // sum of number1 and number2 14 15   // read in first number from user as a string 16   firstNumber = window.prompt( &quot;Enter first integer&quot;, &quot;0&quot; ); 17 18   // read in second number from user as a string 19   secondNumber = window.prompt( &quot;Enter second integer&quot;, &quot;0&quot; ); 20 21   // convert numbers from strings to integers 22   number1 = parseInt( firstNumber );  23   number2 = parseInt( secondNumber ); 24 25   // add the numbers 26   sum = number1 + number2; 27 28   // display the results 29   document.writeln( &quot;<H1>The sum is &quot; + sum + &quot;</H1>&quot; ); 30 </SCRIPT> 31 32 </HEAD>
 
Memory Concepts ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Arithmetic ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Arithmetic
Arithmetic ,[object Object],[object Object],[object Object],[object Object]
Decision Making: Equality and Relational Operators ,[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object],[object Object]
Decision Making: Equality and Relational Operators Equality and Relational Operators:
1 <!DOCTYPE html PUBLIC  &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot; > 2 <HTML> 3 <!-- Fig. 8.14: comparison.html --> 4 <!-- Using if statements, relational operators, -->  5 <!-- and equality operators --> 6 7 <HEAD> 8 <TITLE> Performing Comparisons </TITLE> 9 10 <SCRIPT LANGUAGE =  &quot;JavaScript&quot; > 11   var  first,  // first string entered by user 12   second;  // second string entered by user 13 14   // read first number from user as a string 15   first = window.prompt( &quot;Enter first integer:&quot;, &quot;0&quot; ); 16 17   // read second number from user as a string 18   second = window.prompt( &quot;Enter second integer:&quot;, &quot;0&quot; ); 19 20   document.writeln( &quot;<H1>Comparison Results</H1>&quot; ); 21   document.writeln( &quot;<TABLE BORDER = '1' WIDTH = '100%'>&quot; ); 22 23   if  ( first == second ) 24   document.writeln( &quot;<TR><TD>&quot; + first + &quot; == &quot; + second +  25   &quot;</TD></TR>&quot; ); 26 27   if  ( first != second ) 28   document.writeln( &quot;<TR><TD>&quot; + first + &quot; != &quot; + second + 29   &quot;</TD></TR>&quot; ); 30 31   if  ( first < second ) 32   document.writeln( &quot;<TR><TD>&quot; + first + &quot; < &quot; + second +
33   &quot;</TD></TR>&quot; ); 34 35   if  ( first > second ) 36   document.writeln( &quot;<TR><TD>&quot; + first + &quot; > &quot; + second + 37   &quot;</TD></TR>&quot; ); 38 39   if  ( first <= second ) 40   document.writeln( &quot;<TR><TD>&quot; + first + &quot; <= &quot; + second + 41   &quot;</TD></TR>&quot; ); 42 43   if  ( first >= second ) 44   document.writeln( &quot;<TR><TD>&quot; + first + &quot; >= &quot; + second +  45   &quot;</TD></TR>&quot; ); 46 47   // Display results 48   document.writeln( &quot;</TABLE>&quot; ); 49 </SCRIPT> 50 51 </HEAD>
 
ANGGOTA KELOMPOK M HAFIIZH FARDHANI  5107100050  AINI RACHMANIA K.F. 5107100077 SITA  IMMIAR WARDHANY  5107100080

More Related Content

What's hot

Html Server Input Radiobutton Control CS
Html Server Input Radiobutton Control CSHtml Server Input Radiobutton Control CS
Html Server Input Radiobutton Control CSsunmitraeducation
 
Introduction to java script
Introduction to java scriptIntroduction to java script
Introduction to java scriptDivyaKS12
 
Introduction to java script
Introduction to java scriptIntroduction to java script
Introduction to java scriptnanjil1984
 
IT Club @ NCP - PHP Workshop May 10, 2011
IT Club @ NCP - PHP Workshop May 10, 2011IT Club @ NCP - PHP Workshop May 10, 2011
IT Club @ NCP - PHP Workshop May 10, 2011IT Club GTA
 
Intro to html5 Boilerplate
Intro to html5 BoilerplateIntro to html5 Boilerplate
Intro to html5 BoilerplateMichael Enslow
 
Software Design
Software DesignSoftware Design
Software DesignSpy Seat
 
Code Generation using T4
Code Generation using T4Code Generation using T4
Code Generation using T4Joubin Najmaie
 
Advanced PHP: Design Patterns - Dennis-Jan Broerse
Advanced PHP: Design Patterns - Dennis-Jan BroerseAdvanced PHP: Design Patterns - Dennis-Jan Broerse
Advanced PHP: Design Patterns - Dennis-Jan Broersedpc
 
Margareth lota
Margareth lotaMargareth lota
Margareth lotamaggybells
 
Fundamentals of programming final santos
Fundamentals of programming final santosFundamentals of programming final santos
Fundamentals of programming final santosAbie Santos
 
RomaFramework Tutorial Basics
RomaFramework Tutorial BasicsRomaFramework Tutorial Basics
RomaFramework Tutorial BasicsLuca Garulli
 
Yeahhhh the final requirement!!!
Yeahhhh the final requirement!!!Yeahhhh the final requirement!!!
Yeahhhh the final requirement!!!olracoatalub
 
Basics of Javascript
Basics of Javascript Basics of Javascript
Basics of Javascript poojanov04
 
CSIS 138 Javascript Class1
CSIS 138 Javascript Class1CSIS 138 Javascript Class1
CSIS 138 Javascript Class1Teresa Pelkie
 
Htmlnotes 150323102005-conversion-gate01
Htmlnotes 150323102005-conversion-gate01Htmlnotes 150323102005-conversion-gate01
Htmlnotes 150323102005-conversion-gate01Niraj Bharambe
 

What's hot (19)

Php
PhpPhp
Php
 
Php
PhpPhp
Php
 
Html Server Input Radiobutton Control CS
Html Server Input Radiobutton Control CSHtml Server Input Radiobutton Control CS
Html Server Input Radiobutton Control CS
 
Introduction to java script
Introduction to java scriptIntroduction to java script
Introduction to java script
 
My final requirement
My final requirementMy final requirement
My final requirement
 
Introduction to java script
Introduction to java scriptIntroduction to java script
Introduction to java script
 
IT Club @ NCP - PHP Workshop May 10, 2011
IT Club @ NCP - PHP Workshop May 10, 2011IT Club @ NCP - PHP Workshop May 10, 2011
IT Club @ NCP - PHP Workshop May 10, 2011
 
Intro to html5 Boilerplate
Intro to html5 BoilerplateIntro to html5 Boilerplate
Intro to html5 Boilerplate
 
Software Design
Software DesignSoftware Design
Software Design
 
Code Generation using T4
Code Generation using T4Code Generation using T4
Code Generation using T4
 
Advanced PHP: Design Patterns - Dennis-Jan Broerse
Advanced PHP: Design Patterns - Dennis-Jan BroerseAdvanced PHP: Design Patterns - Dennis-Jan Broerse
Advanced PHP: Design Patterns - Dennis-Jan Broerse
 
Margareth lota
Margareth lotaMargareth lota
Margareth lota
 
Fundamentals of programming final santos
Fundamentals of programming final santosFundamentals of programming final santos
Fundamentals of programming final santos
 
RomaFramework Tutorial Basics
RomaFramework Tutorial BasicsRomaFramework Tutorial Basics
RomaFramework Tutorial Basics
 
Php
PhpPhp
Php
 
Yeahhhh the final requirement!!!
Yeahhhh the final requirement!!!Yeahhhh the final requirement!!!
Yeahhhh the final requirement!!!
 
Basics of Javascript
Basics of Javascript Basics of Javascript
Basics of Javascript
 
CSIS 138 Javascript Class1
CSIS 138 Javascript Class1CSIS 138 Javascript Class1
CSIS 138 Javascript Class1
 
Htmlnotes 150323102005-conversion-gate01
Htmlnotes 150323102005-conversion-gate01Htmlnotes 150323102005-conversion-gate01
Htmlnotes 150323102005-conversion-gate01
 

Viewers also liked

Add a web server
Add a web serverAdd a web server
Add a web serverAgCharu
 
Unit 1-uses for scripting languages,web scripting
Unit 1-uses for scripting languages,web scriptingUnit 1-uses for scripting languages,web scripting
Unit 1-uses for scripting languages,web scriptingsana mateen
 
Unit 1-introduction to scripts
Unit 1-introduction to scriptsUnit 1-introduction to scripts
Unit 1-introduction to scriptssana mateen
 
JavaScript: Operators and Expressions
JavaScript: Operators and ExpressionsJavaScript: Operators and Expressions
JavaScript: Operators and ExpressionsLearnNowOnline
 
Presentation about servers
Presentation about serversPresentation about servers
Presentation about serversSasin Prabu
 
Types of Servers - Basic Differences
Types of Servers - Basic DifferencesTypes of Servers - Basic Differences
Types of Servers - Basic DifferencesVR Talsaniya
 

Viewers also liked (13)

Add a web server
Add a web serverAdd a web server
Add a web server
 
Introduction to Java Scripting
Introduction to Java ScriptingIntroduction to Java Scripting
Introduction to Java Scripting
 
Unit 1-uses for scripting languages,web scripting
Unit 1-uses for scripting languages,web scriptingUnit 1-uses for scripting languages,web scripting
Unit 1-uses for scripting languages,web scripting
 
Unit 1-introduction to scripts
Unit 1-introduction to scriptsUnit 1-introduction to scripts
Unit 1-introduction to scripts
 
JavaScript: Operators and Expressions
JavaScript: Operators and ExpressionsJavaScript: Operators and Expressions
JavaScript: Operators and Expressions
 
Introduction to programming
Introduction to programmingIntroduction to programming
Introduction to programming
 
Web servers
Web serversWeb servers
Web servers
 
Web servers
Web serversWeb servers
Web servers
 
Presentation about servers
Presentation about serversPresentation about servers
Presentation about servers
 
Basic Server PPT (THDC)
Basic Server PPT (THDC)Basic Server PPT (THDC)
Basic Server PPT (THDC)
 
Types of Servers - Basic Differences
Types of Servers - Basic DifferencesTypes of Servers - Basic Differences
Types of Servers - Basic Differences
 
Web Servers (ppt)
Web Servers (ppt)Web Servers (ppt)
Web Servers (ppt)
 
Automation test scripting guidelines
Automation test scripting guidelines Automation test scripting guidelines
Automation test scripting guidelines
 

Similar to Tugas Pw [6]

Dynamic Web Pages Ch 1 V1.0
Dynamic Web Pages Ch 1 V1.0Dynamic Web Pages Ch 1 V1.0
Dynamic Web Pages Ch 1 V1.0Cathie101
 
Introduction To Lamp
Introduction To LampIntroduction To Lamp
Introduction To LampAmzad Hossain
 
Javascript survival for CSBN Sophomores
Javascript survival for CSBN SophomoresJavascript survival for CSBN Sophomores
Javascript survival for CSBN SophomoresAndy de Vera
 
Struts2
Struts2Struts2
Struts2yuvalb
 
Csphtp1 18
Csphtp1 18Csphtp1 18
Csphtp1 18HUST
 
course slides -- powerpoint
course slides -- powerpointcourse slides -- powerpoint
course slides -- powerpointwebhostingguy
 
PHP Presentation
PHP PresentationPHP Presentation
PHP PresentationNikhil Jain
 
CIS 451: Introduction to ASP.NET
CIS 451: Introduction to ASP.NETCIS 451: Introduction to ASP.NET
CIS 451: Introduction to ASP.NETwebhostingguy
 
Jscript Fundamentals
Jscript FundamentalsJscript Fundamentals
Jscript Fundamentalsrspaike
 
JavaScript and jQuery Fundamentals
JavaScript and jQuery FundamentalsJavaScript and jQuery Fundamentals
JavaScript and jQuery FundamentalsBG Java EE Course
 
Justmeans power point
Justmeans power pointJustmeans power point
Justmeans power pointjustmeanscsr
 
Justmeans power point
Justmeans power pointJustmeans power point
Justmeans power pointjustmeanscsr
 
Justmeans power point
Justmeans power pointJustmeans power point
Justmeans power pointjustmeanscsr
 
Justmeans power point
Justmeans power pointJustmeans power point
Justmeans power pointjustmeanscsr
 
Justmeans power point
Justmeans power pointJustmeans power point
Justmeans power pointjustmeanscsr
 
Justmeans power point
Justmeans power pointJustmeans power point
Justmeans power pointjustmeanscsr
 

Similar to Tugas Pw [6] (20)

Dynamic Web Pages Ch 1 V1.0
Dynamic Web Pages Ch 1 V1.0Dynamic Web Pages Ch 1 V1.0
Dynamic Web Pages Ch 1 V1.0
 
JavaScript
JavaScriptJavaScript
JavaScript
 
Introduction To Lamp
Introduction To LampIntroduction To Lamp
Introduction To Lamp
 
Javascript survival for CSBN Sophomores
Javascript survival for CSBN SophomoresJavascript survival for CSBN Sophomores
Javascript survival for CSBN Sophomores
 
Struts2
Struts2Struts2
Struts2
 
Csphtp1 18
Csphtp1 18Csphtp1 18
Csphtp1 18
 
course slides -- powerpoint
course slides -- powerpointcourse slides -- powerpoint
course slides -- powerpoint
 
PHP Presentation
PHP PresentationPHP Presentation
PHP Presentation
 
CIS 451: Introduction to ASP.NET
CIS 451: Introduction to ASP.NETCIS 451: Introduction to ASP.NET
CIS 451: Introduction to ASP.NET
 
HTML
HTMLHTML
HTML
 
Jscript Fundamentals
Jscript FundamentalsJscript Fundamentals
Jscript Fundamentals
 
JavaScript and jQuery Fundamentals
JavaScript and jQuery FundamentalsJavaScript and jQuery Fundamentals
JavaScript and jQuery Fundamentals
 
Php intro
Php introPhp intro
Php intro
 
Php
PhpPhp
Php
 
Justmeans power point
Justmeans power pointJustmeans power point
Justmeans power point
 
Justmeans power point
Justmeans power pointJustmeans power point
Justmeans power point
 
Justmeans power point
Justmeans power pointJustmeans power point
Justmeans power point
 
Justmeans power point
Justmeans power pointJustmeans power point
Justmeans power point
 
Justmeans power point
Justmeans power pointJustmeans power point
Justmeans power point
 
Justmeans power point
Justmeans power pointJustmeans power point
Justmeans power point
 

Recently uploaded

Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Mark Simos
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxLoriGlavin3
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .Alan Dix
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxLoriGlavin3
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demoHarshalMandlekar2
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxLoriGlavin3
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????blackmambaettijean
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxhariprasad279825
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Commit University
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 3652toLead Limited
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity PlanDatabarracks
 

Recently uploaded (20)

Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
Tampa BSides - Chef's Tour of Microsoft Security Adoption Framework (SAF)
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptxMerck Moving Beyond Passwords: FIDO Paris Seminar.pptx
Merck Moving Beyond Passwords: FIDO Paris Seminar.pptx
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .From Family Reminiscence to Scholarly Archive .
From Family Reminiscence to Scholarly Archive .
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptxThe Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
The Role of FIDO in a Cyber Secure Netherlands: FIDO Paris Seminar.pptx
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
Sample pptx for embedding into website for demo
Sample pptx for embedding into website for demoSample pptx for embedding into website for demo
Sample pptx for embedding into website for demo
 
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptxA Deep Dive on Passkeys: FIDO Paris Seminar.pptx
A Deep Dive on Passkeys: FIDO Paris Seminar.pptx
 
What is Artificial Intelligence?????????
What is Artificial Intelligence?????????What is Artificial Intelligence?????????
What is Artificial Intelligence?????????
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Artificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptxArtificial intelligence in cctv survelliance.pptx
Artificial intelligence in cctv survelliance.pptx
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!Nell’iperspazio con Rocket: il Framework Web di Rust!
Nell’iperspazio con Rocket: il Framework Web di Rust!
 
Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365Ensuring Technical Readiness For Copilot in Microsoft 365
Ensuring Technical Readiness For Copilot in Microsoft 365
 
How to write a Business Continuity Plan
How to write a Business Continuity PlanHow to write a Business Continuity Plan
How to write a Business Continuity Plan
 

Tugas Pw [6]

  • 2.
  • 3.
  • 4.
  • 5. 1 <!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot; > 2 <!-- Fig. 8.1: welcome.html --> 3 4 <HTML> 5 <HEAD> 6 <TITLE> A First Program in JavaScript </TITLE> 7 8 <SCRIPT LANGUAGE = &quot;JavaScript&quot; > 9 document.writeln( 10 &quot;<H1>Welcome to JavaScript Programming!</H1>&quot; ); 11 </SCRIPT> 12 13 </HEAD><BODY></BODY> 14 </HTML>
  • 6.  
  • 7.
  • 8. 1 <!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot; > 2 <HTML> 3 <!-- Fig. 8.2: welcome.html --> 4 5 <HEAD> 6 <TITLE> Printing a Line with Multiple Statements </TITLE> 7 8 <SCRIPT LANGUAGE = &quot;JavaScript&quot; > 9 document.write( &quot;<FONT COLOR='magenta'><H1>Welcome to &quot; ); 10 document.writeln( &quot;JavaScript Programming!</H1></FONT>&quot; ); 11 </SCRIPT> 12 13 </HEAD><BODY></BODY> 14 </HTML>
  • 9.  
  • 10. 1 <!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot; > 2 <HTML> 3 <!-- Fig. 8.3: welcome.html --> 4 5 <HEAD><TITLE> Printing Multiple Lines </TITLE> 6 7 <SCRIPT LANGUAGE = &quot;JavaScript&quot; > 8 document.writeln( 9 &quot;<H1>Welcome to<BR>JavaScript<BR>Programming!</H1>&quot; ); 10 </SCRIPT> 11 12 </HEAD><BODY></BODY> 13 </HTML>
  • 11.  
  • 12.
  • 13. 1 <!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot; > 2 <HTML<!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot; > > 3 <!-- <!DOCTYPE HTML PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot; > Fig. 8.4: welcome.html --> 4 <!-- Printing multiple lines in a dialog box --> 5 6 <HEAD> 7 8 <SCRIPT LANGUAGE = &quot;JavaScript&quot; > 9 window.alert( &quot;Welcome toJavaScriptProgramming!&quot; ); 10 </SCRIPT> 11 12 </HEAD> 13 14 <BODY> 15 <P> Click Refresh (or Reload) to run this script again. </P> 16 </BODY> 17 </HTML>
  • 14.  
  • 15.
  • 16.
  • 17.
  • 18.
  • 19.
  • 20. 1 <!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot; > 2 < 1 <!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot; > HTML> 3 <!-- 1 <!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot; > Fig. 8.6: Addition.html --> 4 5 <HEAD> 6 <TITLE> An Addition Program </TITLE> 7 8 <SCRIPT LANGUAGE = &quot;JavaScript&quot; > 9 var firstNumber, // first string entered by user 10 secondNumber, // second string entered by user 11 number1, // first number to add 12 number2, // second number to add 13 sum; // sum of number1 and number2 14 15 // read in first number from user as a string 16 firstNumber = window.prompt( &quot;Enter first integer&quot;, &quot;0&quot; ); 17 18 // read in second number from user as a string 19 secondNumber = window.prompt( &quot;Enter second integer&quot;, &quot;0&quot; ); 20 21 // convert numbers from strings to integers 22 number1 = parseInt( firstNumber ); 23 number2 = parseInt( secondNumber ); 24 25 // add the numbers 26 sum = number1 + number2; 27 28 // display the results 29 document.writeln( &quot;<H1>The sum is &quot; + sum + &quot;</H1>&quot; ); 30 </SCRIPT> 31 32 </HEAD>
  • 21.  
  • 22.
  • 23.
  • 25.
  • 26.
  • 27. Decision Making: Equality and Relational Operators Equality and Relational Operators:
  • 28. 1 <!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.0 Transitional//EN&quot; > 2 <HTML> 3 <!-- Fig. 8.14: comparison.html --> 4 <!-- Using if statements, relational operators, --> 5 <!-- and equality operators --> 6 7 <HEAD> 8 <TITLE> Performing Comparisons </TITLE> 9 10 <SCRIPT LANGUAGE = &quot;JavaScript&quot; > 11 var first, // first string entered by user 12 second; // second string entered by user 13 14 // read first number from user as a string 15 first = window.prompt( &quot;Enter first integer:&quot;, &quot;0&quot; ); 16 17 // read second number from user as a string 18 second = window.prompt( &quot;Enter second integer:&quot;, &quot;0&quot; ); 19 20 document.writeln( &quot;<H1>Comparison Results</H1>&quot; ); 21 document.writeln( &quot;<TABLE BORDER = '1' WIDTH = '100%'>&quot; ); 22 23 if ( first == second ) 24 document.writeln( &quot;<TR><TD>&quot; + first + &quot; == &quot; + second + 25 &quot;</TD></TR>&quot; ); 26 27 if ( first != second ) 28 document.writeln( &quot;<TR><TD>&quot; + first + &quot; != &quot; + second + 29 &quot;</TD></TR>&quot; ); 30 31 if ( first < second ) 32 document.writeln( &quot;<TR><TD>&quot; + first + &quot; < &quot; + second +
  • 29. 33 &quot;</TD></TR>&quot; ); 34 35 if ( first > second ) 36 document.writeln( &quot;<TR><TD>&quot; + first + &quot; > &quot; + second + 37 &quot;</TD></TR>&quot; ); 38 39 if ( first <= second ) 40 document.writeln( &quot;<TR><TD>&quot; + first + &quot; <= &quot; + second + 41 &quot;</TD></TR>&quot; ); 42 43 if ( first >= second ) 44 document.writeln( &quot;<TR><TD>&quot; + first + &quot; >= &quot; + second + 45 &quot;</TD></TR>&quot; ); 46 47 // Display results 48 document.writeln( &quot;</TABLE>&quot; ); 49 </SCRIPT> 50 51 </HEAD>
  • 30.  
  • 31. ANGGOTA KELOMPOK M HAFIIZH FARDHANI 5107100050 AINI RACHMANIA K.F. 5107100077 SITA IMMIAR WARDHANY 5107100080

Editor's Notes

  1. Glowing “neon tubes” text with reflection (Intermediate) To reproduce the effects on this slide, do the following: On the Home tab, in the Slides group, click Layout , and then click Blank . On the Insert tab, in the Text group, click Text Box , and then on the slide, drag to draw the text box. Enter text in the text box, select the text, and then on the Home tab, in the Font group, select Arial Rounded MT Bold from the Font list, select 60 from the Font Size list, and then click Bold . On the Home tab, in the Paragraph group, click Center to center the text in the text box. On the Home tab, in the Font group, click Character Spacing , and then click More Spacing . In the Font dialog box, on the Character Spacing tab, in the Spacing list, select Expanded . In the By box, enter 2 . Select the text box. Under Drawing Tools , on the Format tab, in the bottom right corner of the WordArt Styles group, click the Format Text Effects dialog box launcher. In the Format Text Effects dialog box, click Text Fill in the left pane, select Gradient fill in the Text Fill pane, and then do the following: Click the button next to Preset colors , and then click Ocean (second row, second option from the left). In the Type list, select Linear . Click the button next to Direction , and then click Linear Diagonal (first row, first option from the left). In the Angle box , enter 45° . Also in the Format Text Effects dialog box, click Text Outline in the left pane. In the Text Outline pane, select Solid line , click the button next to Color , and then under Theme Colors click Black, Text 1 (first row, second option from the left). Also in the Format Text Effects dialog box, click Outline Style in the left pane. In the Outline Style pane, in the Width box, enter 0.75 pt . Also in the Format Text Effects dialog box, click 3-D Format in the left pane, and then do the following in the 3-D Format pane: Under Bevel , click the button next to Top , and then under Bevel click Hard Edge (third row, third option from the left). Next to Top , in the Width box, enter 4 pt , and in the Height box, enter 0.8 pt . Under Depth , click the button next to Color , and then under Theme Colors click Black, Text 1 (first row, second option from the left). In the Depth box, enter 4.5 pt . Under Surface , click the button next to Material , and then under Translucent click Powder (first option from the left). Click the button next to Lighting , and then under Special click Glow (third option from the left). Under Drawing Tools , on the Format tab, in the WordArt Styles group, click Text Effects , point to Glow , and then under Glow Variations click Accent color 5, 8 pt glow (second row, fifth option from the left). Under Drawing Tools , on the Format tab, in the WordArt Styles group, click Text Effects , point to Reflection , and then under Reflection Variations click Half Reflection, 4 pt offset (second row, second option from the left). Drag the text box vertically on the slide to position it slightly above the middle. Select the text box. On the Home tab, in the Drawing group, click Arrange , point to Align , and then do the following: Click Align to Slide . Click Align Center . To reproduce the background on this slide, do the following: Right-click the slide background area, and then click Format Background . In the Format Background dialog box, click Fill in the left pane. In the Fill pane, select Solid fill , and then click the button next to Color , and under Theme Colors click Black, Text 1 (first row, second option from the left).