文本记录English

Become a Fullstack Developer from Scratch – Full Beginner’s Tutorial

47h 29m 22s529,945 字数73,729 segmentsEnglish

完整文本记录

0:00

This massive course will prepare you to

0:02

be a full stack developer. It's taught

0:04

by many different instructors and put

0:07

together by Scribba. Here's Pere

0:10

Borggan, the CEO of Scribba, introducing

0:13

the course. Hi there and welcome to this

0:16

massive full stack developer path. These

0:19

modules that you are about to watch have

0:20

helped countless students over on

0:22

scribble.com break into the tech

0:24

industry as developers and not in the

0:27

boring theoretical way. No, in a fun way

0:30

where you build games, clone Google and

0:32

Instagram, build AI investing apps, even

0:35

Chrome extensions. And when I say you, I

0:38

really mean you. Because the only way to

0:39

learn this is to type the code out

0:41

yourself. Throughout this course, the

0:43

teachers will throw challenges your way,

0:45

actually over 500 times. And the starter

0:48

code for these challenges can be found

0:50

on GitHub or over on scrimba.com in the

0:53

interactive expanded version of this

0:56

course. We're going to start out with

0:57

the basics of HTML, CSS, JavaScript, and

1:01

so forth, and then move on to the

1:02

frameworks and technologies that are

1:04

used in the industry like React, Node,

1:06

Next, SQL, TypeScript, testing, and even

1:10

AI engineering. So, this really is your

1:12

one-stop shop towards becoming a

1:15

professional fullstack developer. Now, I

1:17

would love to follow you on this

1:19

journey. So, be sure to send me a

1:20

LinkedIn connection request so that I

1:22

can share for you from the sidelines.

1:25

With that, let's dive in.

1:30

>> The French philosopher Renee Deart once

1:33

said three clever words,

1:36

ergo, sum, which translates in English

1:39

to I code, therefore I am. So let us

1:43

prove to ourselves that we actually do

1:44

exist by coding this out in HTML. And

1:48

the way we do that is actually not too

1:50

different from how you would write this

1:52

out in a regular text editor. as there

1:54

you would simply write out the sentence.

1:56

And then if you wanted it a bit more

1:58

prominent, you'd probably highlight it

2:00

and then click on normal text here and

2:02

choose another content type for your

2:05

text. You can see heading one, heading

2:07

two, heading three. Let's hover over

2:09

heading one and then click on it. And

2:11

there you can see that the text became a

2:13

lot more prominent. It became a heading

2:16

one. Now if we want to do this in HTML,

2:18

we'd simply create an HTML file which

2:21

you can see here. It's called

2:22

index.html. HTML as that is a common

2:24

name to give your HTML files. And here I

2:28

would write I code therefore I am. Now

2:33

if we open up a browser and point this

2:35

browser to our HTML file and then run it

2:38

then we can see that the text indeed

2:40

appears in the browser. However, it's

2:43

pretty small. So if we wanted to turn it

2:45

into a heading one instead what we do is

2:48

wrap the text in HTML tags. So before

2:51

the text, I'll do this two angle

2:54

brackets with the text H1 inside of

2:57

them. That's short for heading one. And

3:00

then at the very end of the text, I

3:01

would do the same H1. But since this is

3:04

a closing tag and not an opening tag, I

3:07

would also have to give it a slash

3:09

before the text. And now if I rerun the

3:12

code, there you go. We have made our

3:14

text a lot more prominent. Now I think

3:17

our website should give proper credit

3:19

here. So let's write reneart underneath

3:22

the H1 like that. If we now rerun the

3:25

code, you can see that the text is just

3:28

normal. It's not an H1. And that is

3:30

because it is only the text which is

3:33

within the opening H1 and closing H1

3:36

that gets formatted as a proper heading

3:39

in the browser. In my view, this line

3:41

right here should be a bit bigger. I

3:43

want it to instead look something like

3:45

this where the name is pretty thick and

3:47

big but not as big as the heading one.

3:50

And that brings me to your first

3:52

challenge. I'm going to paste it in

3:54

here. So, what you are going to do is

3:57

try to make our web page look like the

3:59

design in the provided slide. And if you

4:01

are struggling to think of what kind of

4:03

HTML tag you'll have to wrap this name

4:06

in, well, I've got a little hint for

4:07

you. What comes after one? So, pause

4:11

this scrim, jump into the code, and try

4:13

to solve this challenge right now. And

4:15

then when you return back to me, I will

4:17

of course show you the solution as well.

4:19

Good luck.

4:25

Okay, hopefully that went well. The way

4:27

you solve this is by instead of using

4:29

the H1, using its smaller sibling, the

4:33

H2. Like that. It has the exact same

4:36

so-called syntax as the H1. So instead

4:39

of a one you use a two. If we now run

4:42

this, there you go. We have achieved the

4:45

design we wanted. So great job. Let's

4:47

move on.

4:50

Before we move on to the next challenge,

4:53

there's one thing I want to make sure

4:54

that you are aware of. And that is that

4:57

if you have an HTML file locally on your

4:59

computer and you have a browser, what

5:02

you can do is simply drag and drop that

5:04

file into the browser and then it'll be

5:07

rendered. So that is actually more or

5:10

less the same thing that's happening

5:11

here on Scribba. Though here we have a

5:14

mini browser and the text editor inside

5:16

of well your browser because Scribba

5:19

itself is browser based. So a little bit

5:21

meta but it's essentially the same

5:23

thing. Okay. Now, it's time for you to

5:25

get some more muscle memory on how to

5:27

write HTML tags and also get to know two

5:30

new tags because I want you to create a

5:32

news article and more specifically this

5:35

news article right here which has a

5:37

title that says humans have reached

5:38

Mars. It has a subheading right here and

5:41

also some regular text. And the HTML

5:44

tags are H1 for the title, H3 for this

5:47

one. You haven't used an H3 for, but I

5:49

think you know how to do it. And then

5:50

there's finally a P tag for the text at

5:53

the bottom. P is short for paragraph and

5:56

I have provided a little syntax example

5:58

for you here. However, if you've

6:00

understood the logic of how to write

6:02

these tags by now, it shouldn't come as

6:04

a surprise how you do that. Okay, here

6:06

is also the text so that you don't have

6:08

to write all of that out. You can just

6:10

copy paste it instead. So now starting

6:12

here on line 13, write the HTML we need

6:15

in order to create this news article.

6:22

Okay, hopefully that went well. Let's

6:25

start with the H1. I'm going to create

6:27

the open and closing tag and then paste

6:29

in the text like that. Running the code.

6:32

Yes, it works. Moving on to the H3.

6:38

Copying the text.

6:40

Then rerunning the browser. And there we

6:42

go. Finally, there is the paragraph

6:48

like this.

6:51

rerunning the code and there we go. We

6:53

have achieved this exact layout. Great

6:55

job. Let's move on.

7:00

Now you are going to learn about images

7:02

because I really think our Mars article

7:05

needs an image. The way to do that is by

7:07

using the img tag. So we start with our

7:11

angle brackets and then write simply img

7:14

inside of those. And what's unique about

7:16

this tag is that you don't need a

7:18

closing tag. So there is no closing img

7:21

as there is a closing a run or closing

7:24

paragraph. This is simply not needed. So

7:27

it's often called a self-closing tag and

7:30

some people use the slash at the end of

7:32

the opening tag like this just to

7:34

signify that it is closing itself.

7:37

However, it's not really needed. So we

7:39

can skip it. And I think in general that

7:41

less code is better code. So I am just

7:43

going to skip it. However, if you prefer

7:45

to have it like this, that's totally

7:47

fine as well. Okay, enough syntax. How

7:50

do we get this image to work? Because

7:52

right now, if we rerender this page,

7:55

nothing has happened. And that is

7:56

because we haven't told the image tag

7:58

which image we want to render. And the

8:00

way to do that is by writing src, which

8:03

is short for source. And then we write

8:06

equals, and then two quotes, because

8:08

inside of these two quotes, we're going

8:10

to specify the image we want to render.

8:12

And here on the left hand side you can

8:14

see I have mars.jpeg.

8:16

It is in the same directory as our

8:18

index.html file. Meaning I can simply do

8:22

mars.jpg.

解锁更多

免费注册以访问高级功能

互动查看器

观看带有同步字幕、可调节叠加层和完整播放控制的视频。

免费注册以解锁

AI 摘要

获取由 AI 立即生成的视频内容摘要、要点和结论。

免费注册以解锁

翻译

一键将字幕翻译成 100 多种语言。以任何格式下载。

免费注册以解锁

思维导图

将字幕可视化为交互式思维导图。一目了然地了解结构。

免费注册以解锁

与字幕聊天

提出关于视频内容的问题。直接从字幕中获取由 AI 驱动的答案。

免费注册以解锁

从您的字幕中获得更多

免费注册并解锁交互式查看器、AI 摘要、翻译、思维导图等。无需信用卡。