Would you like to inspect the original subtitles? These are the user uploaded subtitles that are being translated:
1
00:00:01,060 --> 00:00:01,450
All right.
2
00:00:01,450 --> 00:00:03,940
Hopefully you had some success on the first series of steps.
3
00:00:03,940 --> 00:00:06,330
So let's go over a solution right now.
4
00:00:06,490 --> 00:00:10,160
So the first thing we need to do is generate a new angular project called typing.
5
00:00:10,470 --> 00:00:12,950
But to do so I'm going to go back over to my terminal.
6
00:00:13,020 --> 00:00:16,240
I can make sure that I close out the old angular project we were working on.
7
00:00:16,620 --> 00:00:20,290
No you can stop that process by hitting control C under keyboard.
8
00:00:20,350 --> 00:00:23,320
Well then change back to a workspace directory of sorts.
9
00:00:23,320 --> 00:00:30,160
And then to generate a new project I will run energy new and in the name of our project which is typing.
10
00:00:30,490 --> 00:00:32,100
You'll go ahead and run that command.
11
00:00:32,140 --> 00:00:37,150
I'll ask you one or two questions and then you will just enter to use the defaults and then you'll see
12
00:00:37,180 --> 00:00:42,100
angular generate a ton of different files and then install a couple dependencies this to save a little
13
00:00:42,100 --> 00:00:42,820
bit of time.
14
00:00:42,850 --> 00:00:45,940
I already went ahead and ran that command.
15
00:00:45,940 --> 00:00:50,850
Now inside of my workspace directory I will see a new folder inside there called typing.
16
00:00:51,040 --> 00:00:53,790
That's where all my code is going to sit.
17
00:00:54,020 --> 00:00:57,080
I'm now go into it change into that folder.
18
00:00:57,310 --> 00:01:04,730
I'm going to start up my code editor inside their and then I'm going to move on to step two which is
19
00:01:04,730 --> 00:01:10,460
to make sure that we can start the project up and access it inside our browser so inside the typing
20
00:01:10,460 --> 00:01:17,390
directory I will start up my project by running NPM start that's going to take just a moment to warm
21
00:01:17,390 --> 00:01:23,370
up after it does some initial build steps will then see a message saying that we can access our application
22
00:01:23,400 --> 00:01:25,270
at local host forty two hundred.
23
00:01:25,320 --> 00:01:27,210
Yep there we go right there.
24
00:01:27,210 --> 00:01:31,520
They'll open up a new browser tab and navigate to a local host forty two hundred.
25
00:01:31,590 --> 00:01:35,050
And here is my angular welcome screen OK.
26
00:01:35,090 --> 00:01:36,180
So far so good.
27
00:01:37,680 --> 00:01:39,920
Now next up we'll move on to Step number three.
28
00:01:39,930 --> 00:01:45,030
We're going to go back over to our terminal and make sure that we install boom as we assess using NPM.
29
00:01:45,210 --> 00:01:47,220
They'll change back to my terminal.
30
00:01:47,310 --> 00:01:52,110
I'm going to open up once again a second terminal window and make sure that it's still inside of my
31
00:01:52,110 --> 00:01:59,540
typing project directory yet still inside there and then to install Boma I will run npm install Wilma
32
00:01:59,640 --> 00:02:03,580
like so once again this is a very small little package.
33
00:02:03,600 --> 00:02:09,880
So it should take just a moment or two to install and once I get that all good.
34
00:02:09,880 --> 00:02:11,310
I remember just installing it.
35
00:02:11,320 --> 00:02:12,460
Not quite enough.
36
00:02:12,490 --> 00:02:16,710
We have to actually make sure that we wire up all night to our project to do so.
37
00:02:16,720 --> 00:02:20,840
I will go to my editor which I just opened a moment ago.
38
00:02:20,870 --> 00:02:27,910
I'm going to find my S.R. C directory and inside there is our styles Nazi SS file remember these styles
39
00:02:27,910 --> 00:02:33,010
Nazi SS file is where we either add global styles that's going to affect all the different elements
40
00:02:33,010 --> 00:02:37,910
of our project or where we can also imports other style files as well.
41
00:02:37,930 --> 00:02:39,820
That's what we want to do in this case.
42
00:02:40,040 --> 00:02:49,750
So inside of here we will write out at import then Bouma the USS Wal-Mart that's USS and as a quick
43
00:02:49,750 --> 00:02:54,120
reminder that path right there is relative to our node modules directory.
44
00:02:54,280 --> 00:02:59,340
So we open up node modules and find that bomber folder somewhere inside of here.
45
00:02:59,350 --> 00:03:00,250
There it is right there.
46
00:03:00,340 --> 00:03:03,880
Inside there is the CSX folder and inside there is the Bowman dots.
47
00:03:03,900 --> 00:03:08,800
Yes as file that we want to include inside of our project.
48
00:03:08,810 --> 00:03:09,150
All right.
49
00:03:09,150 --> 00:03:10,340
That looks good.
50
00:03:10,340 --> 00:03:12,320
Now we will just go back over to our browser.
51
00:03:12,380 --> 00:03:15,510
Make sure that it looks like we kind of loaded up this file.
52
00:03:15,650 --> 00:03:18,120
If I flip back over I'll see that.
53
00:03:18,120 --> 00:03:22,920
Now some styling inside of here is just a little bit messed up which is pretty much a sign that yes
54
00:03:22,920 --> 00:03:25,510
we did just include Bona okay.
55
00:03:25,530 --> 00:03:28,060
So that was your first four steps.
56
00:03:28,070 --> 00:03:32,330
Now let me give you some guidance on the next thing that we're going to work on the next thing we're
57
00:03:32,330 --> 00:03:37,390
going to work on is we're going to replace some of the content that gets displayed to the user.
58
00:03:37,390 --> 00:03:40,740
So in other words we don't want to show this typical landing screen right here.
59
00:03:40,760 --> 00:03:43,710
Instead I want to replace all this default content.
60
00:03:43,720 --> 00:03:48,620
Now I want to show some of the basic elements that we need to display for our application though in
61
00:03:48,620 --> 00:03:54,230
particular I want to see the title some location to put the randomly generated sentence that we're going
62
00:03:54,230 --> 00:03:58,240
to display text input and a success message.
63
00:03:58,240 --> 00:04:04,980
So essentially this stuff right here you don't have to apply any styling or see assets to this.
64
00:04:04,980 --> 00:04:10,050
We're gonna do all that stuff together but just make sure that we see the title at the top.
65
00:04:10,050 --> 00:04:14,580
Some randomly generated sentence and again you don't have to randomly generate it just puts some element
66
00:04:14,610 --> 00:04:20,560
inside to make sure that we can show some form of some stuff in the text input and the message.
67
00:04:20,700 --> 00:04:22,590
Right now we're not worrying about any functionality.
68
00:04:22,620 --> 00:04:27,790
Just make sure the h t mail is there and that we can see it on the screen inside of our browser.
69
00:04:27,810 --> 00:04:30,590
So once again go ahead and give it a shot if you want to do this together.
70
00:04:30,600 --> 00:04:31,220
No problem.
71
00:04:31,230 --> 00:04:33,230
Just skip over to the next video.
72
00:04:33,240 --> 00:04:33,540
All right.
73
00:04:33,560 --> 00:04:36,200
So go ahead and give it a shot and I'll see you in just a minute.
7490
Can't find what you're looking for?
Get subtitles in any language from opensubtitles.com, and translate them here.