Written by students who passed Immediately available after payment Read online or as PDF Wrong document? Swap it for free 4.6 TrustPilot
logo-home
Class notes

Basics Of Javascript

Rating
-
Sold
-
Pages
1
Uploaded on
09-03-2023
Written in
2022/2023

Its the documents about who want learn JavaScript bascis from full

Institution
Course

Content preview

Learn Javascript - Full Course for Beginners

freeCodeCamp.org
Beau Carnes: This is the Beginner 's JauaScript course you are
loOking jor. In this Jull J a v a s c r i p t COurSe, y o u Will learn2
everything you need to know to get started with JavaSCript
This COUrSe is Derfect for beginners Or anyone that jUst wants a
refresher on basiC JavaSCript syntax. After this COurse, after this
COurSe you re going to want tO Complete some or build some
JavaSCript projects. This COurSe follows along witlh the
JavaSCript curriculu mon freeCodeCamp. org. Thnere 'S a built-in
JavaSCript editor right in here. A n d then it s h o w s yOu the
ConSole dowrn here. Another option uOuld be tO USe CocdePern.
io. And the final thing you Can d o WOuld be use Scrimba. com.
I ncomputer s i e n c e , data is anything that is mearingful to the
Computer. JavaScript proUidES Seven different data types that
yOu Can u s e within J U a s C r i p t . A U a r i a b l e a l l o w s Computers to
Store a n m a n i p u l a t e d a t a in a dynanmic f a s h i o n . TO d e c l a r e a
Uariable in JavasCript, one way is t uSe the var keywOrd.

A Uar is going to be able to be used throughout yOur u h o l e
p r o g r a m . L e t will o n l y b e USed i t h i n t h e sCOpe Of w h e r e yOU
declared that. Const is a Uariable t h a t s h o u l d n e v e r change.
YOu end al lineS in JavasCriptwith a Semicolon. We'll b e talking
m o r e a b o u t t h e different t y p e s of Uariables later. A + 1 is g o i n g
to eqUal 6. 5 +
t h e n C iS nQW
=6. b
gOing ,to
=b
S a y "
+5. That s going to be 15. And
I a m a s t r i n g " When w e c o n s o l e .




o g ( a ) it shoWS 7 down there. YOu Can check what variables
a r e a t Uarious pOoints in y O u r p r o g r a m . AGding n u m b e r _ in
JavASCripOt is pDretty straight f o r w r d . YOU j s t USe the pluS
Operator to add twO numbers. Multiplication in JaUasCript uSES
this * Or a star sSymbOl here. YOU Can divide in JaUascript with



this / symbol. So, this says 66/0. 66/33 is 2. QUotient equals 2.
The remainder operatorlookS like a %. And it gives,fhe,
remainder of t h e diuision Of twO numberS. If yOU CAn diuide a
number by 2 a n d the r e m a i n d e r is O, t h a t m E a n s the n u m b e r is
even. If IjUst ChangJe thiS to 2,500, n o u the ansWer tO product
is going t o be 5. Javascript just subtraCts the number from the
Original value and then assigns that new U l u e to the Uariable.
Compound Assignment with AUgmentea Multiplication is
a n o t h e r shortcuT JOr JaUaSCript. h e r e 1S a n e s c a p e c h a r a c t e r
e s c a p e c h a r a c t e r irn JavasCript. If y o u Want to e S C a p e a qUote
that mear it will no longer be nsidered the end of the atring.
I n s t e a do f h a u i n g yJOur s t r i n g s t a r t with d o u b l e qUoteS, haUE if
s t a r t with a s i n g l e qUote. A s t r i n g c a n either bE S u r r o u n d e d b y
Single q u o t e s O r " double quOtes " Javascript knoWS thhat this is
SUpDOsE to be a literal quote character inside the string. There
are ofher methods of acComplishing thhe sarme thing of aving a

Written for

Course

Document information

Uploaded on
March 9, 2023
Number of pages
1
Written in
2022/2023
Type
Class notes
Professor(s)
Gorge
Contains
All classes

Subjects

$8.59
Get access to the full document:

Wrong document? Swap it for free Within 14 days of purchase and before downloading, you can choose a different document. You can simply spend the amount again.
Written by students who passed
Immediately available after payment
Read online or as PDF

Get to know the seller
Seller avatar
bharath1

Get to know the seller

Seller avatar
bharath1 Exam Questions
Follow You need to be logged in order to follow users or courses
Sold
-
Member since
3 year
Number of followers
0
Documents
1
Last sold
-

0.0

0 reviews

5
0
4
0
3
0
2
0
1
0

Recently viewed by you

Why students choose Stuvia

Created by fellow students, verified by reviews

Quality you can trust: written by students who passed their tests and reviewed by others who've used these notes.

Didn't get what you expected? Choose another document

No worries! You can instantly pick a different document that better fits what you're looking for.

Pay as you like, start learning right away

No subscription, no commitments. Pay the way you're used to via credit card and download your PDF document instantly.

Student with book image

“Bought, downloaded, and aced it. It really can be that simple.”

Alisha Student

Working on your references?

Create accurate citations in APA, MLA and Harvard with our free citation generator.

Working on your references?

Frequently asked questions