I'm so today we're going to get into how to do web development
not I wanted a quick distinction before we get into stuff what's the difference
between web design
and web development and basically web design
is more graphic design in means you work with Photoshop you make the look in the
field the web page
and then you give it to a developer they're gonna take your look and feel
and they're gonna make the actual web page for you and
the designers don't tend to get paid as much they don't tend to you
up have as much opportunity to work remotely I used to be a designer and I
moved on to development because it was just a better career to get into
that's that's kinda the difference also it's cheaper to be a web developer you
don't have to buy
a thousand dollars worth of Adobe Photoshop software all you need is
notepad
that's right note pad I except for you probably want to get something better
than notepad
we are going to be using sublime text I'm
which is one of the best notepad kinda editors out there and it's free so go
ahead
go download Sublime Text pause the video come back when you got fired up and
we're going to build a web page
so we're gonna do is we're going to start by creating a new file in Sublime
Text in saving it as
index dot HTML as you see here I
we're basically in call it whatever you want but the fact that we're calling it
dot HTML means that when we open it up in chrome
its gonna know that it's a web page so it's gonna show it as an HTML webpage
and today we're going to be learning HTML I later in the learning CSS which
is another skill you need to learn to be a web developer
and then later on you can learn JavaScript JavaScript is what
HD males what puts the content together for your page
but it's going to be ugly cuz it's just content
CSS is what puts together your style
it stands for cascading cascading style sheets so basically
it gives look feel and style to your webpage
iraq uncover that today so we're gonna make today's ugly
be prepared we're going to get into style later and then JavaScript is
function it makes the webpage do cool things
loading in data real time just like Pinterest does and Mike Instagram it
makes things move around in the enemy
JavaScript is where things get fine it's also where
you get paid better if you learn HTML CSS
not you know you get paid fine yep a normal but if you get really get a
javascript
people are really looking for people are getting JavaScript you can get paid
quite a bit and it's a lot easier to get remote work
are very flexible work cell we no further do
we let's get into you making an HTML page
so you've saved your indexed on HTML now go to comment open
file open your index that HTML file where you saved it
I mine shows local host cuz I'm using live reload basically whatever I type
its automatically going to you re fresh over here for me automatically
for you you're going after it save you cannot come over to chronic active
refresh
I but I for the secular video I'm doing it differently
cell let's build an HTML page the
core HTML is tax basically
thats all there is staged email is tags: a tag is basically something surrounded
by greater than in less then
kinda quotes and so this is an HTML tag
and this is a closing HTML tag
pardon me if you can hear my baby crying somewhere way in the background
am not sure what's going on out there but I'm sure mom will take care of it
am her said like a good dad right so here we have
HTML opening tag HTML closing tak
tags are little awkward to type it first cuz they use those keys down towards the
bottom right that you don't use very often but I promise you'll get fast
very quickly so basically anything in between these HTML tags is considered
within the HTML tax I there's basically three tax you can use to create
a web page there's an HTML which means hey this is my HTML page
anything inside if this is considered your web page and you're gonna make a
head tag
which will get into a little bit and you're going to make a body tag
whatever's in the body tag is what your user will see and interact with some
gonna put in here
hello world
and now have a web page congratulations
your web developer you're probably thinking wow this is kinda complicated
it's all this cold looking stuff
don't worry it looks like a foreign language it first but
seriously within five times you're gonna feel very comfortable
there's only like 10 tax maybe 20 at the most you're going to use
and they're all tags just have to remember a different word so far all
we've actually done is created 3tags
made an HTML tag be put ahead tag with inside a bit
I put a body tag when inside a bit as well and these are considered
siblings their next to each other I'm also gonna add a title tag
and inside at the tide on going to put my webpage
can't type today
my webpage and now you look at the top when you refresh
it says my web page at the top a your web page you tap
so once again head is not with the user interacts with this is all reserved for
other stuff
am which is why the title goes up there
and so the body is what the user interacts with and we did hello world
and the rest of our example
will be adding other tags in here so let me show you can to some other tax this
is bold so we're gonna wrap bold
it's called rapping at in be tags:
an agency that bold is bolt
as I wrapped in NB which stands for bold
EM as organist for taluk and
EM basically stands for emphasis it used to be people use
II it also works but that is not the correct way to do it anymore
and do not show a prospective employer that cuz it's not good cell
B is for bold EM is for italic
and then I am let's see
actually shrunk Hall I can't believe I did this sure wrong is we're going to
use for bold
we used to use be and we used to use
II and we used to use you for underline but now he's strong
for bold and we use EM for talks and we started doing this we
beginning to mobile devices and devices that might not actually have the
capability of rendering
bold or italics and so we needed some other way
to let the user know or maybe it's a screen reader I
that you should display it in whatever way you can
so but for the most part strong as always bold
EM is always italic that's about all you need to know so it covered bold and
italic now it's getting to a critical tag
the a tack that makes a hyperlink
to another web page when you click on so gonna make a Google Doc comic guess what
it doesn't go
anywhere that's because it doesn't know where to go
one thing that some tax need is what's called
attributes we've defined in a tag but this a tag doesn't know enough about
itself
to know where to go we know what's inside a bit
Google dot com text but we need to get nowhere to go so we're gonna add an
a traffic attribute you add an attribute by doing equals
and then a pair quotes and what ever since I did the quotes
is setting the a trap cell Google dot com
they go and look magically now underlined I have that purple color cuz
I've been a Google Doc calm before
and look I can now go back and forth from Google dot com to my webpage
all like that you're now a web developer its
tremendous so let's do another tag and I am G for image
and this one needs to know what the source
love the image is I'll leave that blank for now and
thats all an image tag is for the source gonna go look something up on Google
Alice just look up an image of Simon Cal
sure everybody love Simon Wright
why not its view image
gonna copy the URL why won't you let me close
I don't know aka my computer's acting strange
hit save and look there we go Google dot com link
and a nice link to sign in Cal's web
website
saving closest area arm
basically that's your core tax another thing you'll probably notice
is is these are not coming on a new lines like we've type them out
at first but doesn't make sense in it seems very bad a bit later on you
realize it's very very good
how HTML works is is it does not
recognize anything except for how you program it
to go cell unless you say it with tags it doesn't know what to do
and that's because these things kinky huge are sometimes they'll get
word wrapping like this and it just doesn't know what to do so it's not
gonna make any guesses for you if you don't say
line break which is a b/r tag it doesn't line break
so there we go I added a BR tag and now it's bold
website want to add another line break cuz right now sign in Cal's on the same
line as all other friends
BR there you go
so now we got this is bold line break this is italic
Google dot com line break and an image that can re-start structuring your web
page
and you're probably thinking this is ugly this doesn't feel like building a
web page
but this is now it is complicated as HTML gets for real I'm not making it up
HTML is not much more complicated than this you just have to remember
a few tags a few attributes like
a giraffe and source and that's about
it I can show you a few more tags here at
you l is something I use a lot that stands for on ordered list
on inside this you'll add allies
I'm so here I that an ally which stands for line
item I I don't want item to
and now you see we've got our
you know I'm going to try to mister simon nobody likes to see him
for burial are any okay their ego
so now we've got and unordered list which by default
just gonna display with bullet points I am one item to you
you can style these a lot of different ways
see you can use the you l a lot
anytime you have a list of items you can use a you l with allies inside it
I a drop down navigation is a list of items
you'll use Ulli on an actual navigation is a list of items you'll use you lol I
a list of mp3's enough fake mp3 player online
you wells with allies on another
thing very similar is 00 als and thats
on and that is ordered list and that actually by default is going to spit out
numbers for each item
you don't really use this one very often but its helpful to know that it exists
I we're almost out of tags honestly folks
others div tags which use a lot job or not going to show you
that's basically first I like so we're gonna leave it untouched right now
span tags you also use
a decent bit but once again that is for styling said that is a
out is complicated as HTML gets all you have to do is get comfortable typing in
tax
on and you're pretty much in HTML developer
a paragraph tags those are important and
header tags and then we'll be done pay P is for paragraph that's another way to
you
kinda separate text let's say we added this
four times starting of messy
Africa
closes p and each p.m. slash p there you go
so inside of this paragraph we have this
I don't know what that it right there so this paragraph we have
a block of text for each one and you'll see the paragraph automatically conduct
created its own space on either side
paragraphs are usually the way you're gonna wanna add fresh line breaks
usually don't want to use the BR tech
I like reusing their up but it has its purposes as well
BR creates a line break as you can see here and P creates as fresh paragraph a
space on either side
the only other tags are going to use our header tags they start with H
depending on how big you want the header to Bo's h1 for the biggest
h2 is smaller than that nh3 and so on down to about
h6 urself that's pretty rare to have headers beyond six different sizes
you're probably pretty bad at design if you're doing that
and refreshes there you go big
that's a big not really big in our down to our normal text
some that is HTML
design so our next thing we're gonna cover style
see can actually not feel like a fake developer you get feel like a real
developer in the next one as we start to style are things
CSS gets a little more complicated citing kerja take a little time
make some links makes in different web pages I
and just have fun with HTML for a little while before you move forward
and our next one we're gonna do a little bit more advanced HTML
and we're gonna do a little bit more style