Setup on Mac OS X

4 minutes
Share the link to this page
Copied
  Completed
You need to have access to the item to view this lesson.
One-time Fee
$99.99
List Price:  $139.99
You save:  $40
€84.67
List Price:  €118.55
You save:  €33.87
£73.37
List Price:  £102.72
You save:  £29.35
CA$137.61
List Price:  CA$192.67
You save:  CA$55.05
A$149.99
List Price:  A$210
You save:  A$60
S$127.80
List Price:  S$178.93
You save:  S$51.12
HK$778.15
List Price:  HK$1,089.45
You save:  HK$311.29
CHF 79.10
List Price:  CHF 110.75
You save:  CHF 31.64
NOK kr982.45
List Price:  NOK kr1,375.47
You save:  NOK kr393.02
DKK kr632.10
List Price:  DKK kr884.97
You save:  DKK kr252.86
NZ$167.43
List Price:  NZ$234.41
You save:  NZ$66.98
د.إ367.21
List Price:  د.إ514.11
You save:  د.إ146.90
৳12,166.79
List Price:  ৳17,034
You save:  ৳4,867.20
₹8,808.28
List Price:  ₹12,331.95
You save:  ₹3,523.66
RM420.60
List Price:  RM588.86
You save:  RM168.26
₦149,779.02
List Price:  ₦209,696.62
You save:  ₦59,917.60
₨28,199.77
List Price:  ₨39,480.80
You save:  ₨11,281.03
฿3,171.78
List Price:  ฿4,440.62
You save:  ฿1,268.84
₺4,129.14
List Price:  ₺5,780.97
You save:  ₺1,651.82
B$531.74
List Price:  B$744.46
You save:  B$212.72
R1,735.97
List Price:  R2,430.43
You save:  R694.45
Лв165.69
List Price:  Лв231.97
You save:  Лв66.28
₩138,242.26
List Price:  ₩193,544.70
You save:  ₩55,302.43
₪334.41
List Price:  ₪468.19
You save:  ₪133.77
₱5,695.23
List Price:  ₱7,973.55
You save:  ₱2,278.32
¥14,703.56
List Price:  ¥20,585.57
You save:  ¥5,882.01
MX$1,835.73
List Price:  MX$2,570.10
You save:  MX$734.36
QR364.33
List Price:  QR510.07
You save:  QR145.74
P1,412.04
List Price:  P1,976.91
You save:  P564.87
KSh12,918.70
List Price:  KSh18,086.70
You save:  KSh5,168
E£4,810.26
List Price:  E£6,734.56
You save:  E£1,924.30
ብር14,388.56
List Price:  ብር20,144.56
You save:  ብር5,756
Kz91,186.38
List Price:  Kz127,664.58
You save:  Kz36,478.20
CLP$95,146.48
List Price:  CLP$133,208.88
You save:  CLP$38,062.40
CN¥711.46
List Price:  CN¥996.08
You save:  CN¥284.61
RD$6,327.53
List Price:  RD$8,858.80
You save:  RD$2,531.26
DA12,942.68
List Price:  DA18,120.28
You save:  DA5,177.59
FJ$223.44
List Price:  FJ$312.83
You save:  FJ$89.38
Q766.19
List Price:  Q1,072.70
You save:  Q306.50
GY$20,912.35
List Price:  GY$29,278.12
You save:  GY$8,365.77
ISK kr12,125.78
List Price:  ISK kr16,976.58
You save:  ISK kr4,850.80
DH898.60
List Price:  DH1,258.08
You save:  DH359.47
L1,655.88
List Price:  L2,318.30
You save:  L662.42
ден5,229.46
List Price:  ден7,321.46
You save:  ден2,091.99
MOP$800.88
List Price:  MOP$1,121.27
You save:  MOP$320.38
N$1,734.78
List Price:  N$2,428.76
You save:  N$693.98
C$3,675.63
List Price:  C$5,146.03
You save:  C$1,470.40
रु14,095.01
List Price:  रु19,733.58
You save:  रु5,638.57
S/349.14
List Price:  S/488.82
You save:  S/139.67
K417.74
List Price:  K584.85
You save:  K167.11
SAR375.04
List Price:  SAR525.07
You save:  SAR150.03
ZK2,361.43
List Price:  ZK3,306.09
You save:  ZK944.66
L428.72
List Price:  L600.23
You save:  L171.50
Kč2,059.69
List Price:  Kč2,883.65
You save:  Kč823.96
Ft33,026.86
List Price:  Ft46,238.93
You save:  Ft13,212.06
SEK kr925.67
List Price:  SEK kr1,295.98
You save:  SEK kr370.30
ARS$146,583.48
List Price:  ARS$205,222.73
You save:  ARS$58,639.25
Bs692.20
List Price:  Bs969.11
You save:  Bs276.90
COP$387,686.94
List Price:  COP$542,777.23
You save:  COP$155,090.28
₡50,348.19
List Price:  ₡70,489.48
You save:  ₡20,141.29
L2,616.36
List Price:  L3,663.01
You save:  L1,046.65
₲713,627.54
List Price:  ₲999,107.11
You save:  ₲285,479.56
$U4,016.28
List Price:  $U5,622.95
You save:  $U1,606.67
zł359.94
List Price:  zł503.94
You save:  zł143.99
Already have an account? Log In

Transcript

Hello, in this JavaScript video, I am going to show you how to set up well JavaScript on a Mac system. So first of all, you want to make sure that you have some sort of text editor that you like, just use the built in one not very good. I recommend blind, it's free, easy to use, lightweight, and it's cross platform. So you can use your Linux, Mac windows, you get the picture. Okay, so once you're in here, what you want to do first of all, is just save the file, go to desktop, and I'm going to create a new folder, I'm going to call it j s. Yeah. And in here, we're gonna say via index dot HTML.

So even though I'm going to be using this inline wave web development and HTML, the JavaScript side, you could use it with mobile application that support JavaScript anywhere, really. Okay, so in here, we want to simply set up a quick HTML page. Again, it's gonna be a very quick one. Okay, so now that we got to save it, there are a couple of different ways that you can use JavaScript in your website. The first is to simply put a script tag. And then just put, type equals text forward slash JavaScript, like so.

And in between here you put your JavaScript code this can actually be Pretty much placed anywhere on your page, the main places you will place it is even in the head tag. And that means it gets run before the actual page is rendered. If you want it run after the page is rendered, maybe you're going to, you know, animate the element, perhaps you would put the script tag, or the actual JavaScript, whether that's in a separate file, which I'm going to cover in a minute, here, usually at the end of the body, and just before the closing body tag, and those are the two common places. If you just think in one particular location within your HTML, you can put it in there as well, that is fine. Okay, so that's one method. The other method is create a new file, save that, save it in the same directory.

You can call it whatever you want. I am going to call it custom j s. And now, you again you can place this code that I'm just about to do ignore that. I'm just about to do anywhere you want. So script type equals SRP for slash script. And now instead of putting code here as you would for this tag, you just put SRC equals, now you put the directory location of custom j s for the exact location, and it's in the same location as my index dot HTML file. I just put custom dot j s, like Oh, so save that.

And now if I were to just run this by double clicking it, it opens it up. And to confirm it, is this one load enough or I'll do is literally just put a quick header tag here, and I'll call it Hello. We'll save it Now refresh. As you can see, I do not know how to spell, we'll save it again. Click Refresh, there we go. If we inspect here, go to the head, I think they've got this empty for inline script tag.

And we've got this file as well. And if we go to sources, we can run the actual code there, we find some code in the JavaScript file, he would actually have this the JavaScript file here as well, and often, you know, see die regularly. So that's how you set up a JavaScript web project on Mac. If you have any questions, as usual, feel free to come attack me and I will see you very very soon in the next video.

Sign Up

Share

Share with friends, get 20% off
Invite your friends to LearnDesk learning marketplace. For each purchase they make, you get 20% off (upto $10) on your next purchase.