02Geek HTML5 and JavaScript, TypeScript, React, Flash, ActionScript online School
Previous VideoNext Video

Data, Structure and Design : Hello World CSS

Until now we worked in a vacuum we only did HTML but in reality the web is built out of 3 main components : Data, structure and design. In this video we talk more about what that actually means , where HTML stands in all of this and how do you expand your learning into things such as Data and Design.

Video Transcript

00:00Welcome back to session 6.
00:02-Hi everybody !
00:03-No, Hi everybody
00:05-no, hi everybody
00:06-I kinda said it first
00:07-no, you didn't
00:08-yes, I guess you're right
00:14Let's start, before we start looking into the tags I want to do a short little intro for section 6
00:21Until now we worked only in HTML and kind of undifine between what is HTML,
00:30is HTML for structure? is it for design? or is it for the data itself?
00:35Now what I mean by structure is the actual tags that we've been using
00:38if it's the html tag, the head, the body, the H1 and so on and so forth
00:43that's structure elements because we're telling the browser: whatever is inside of here,
00:48it doesn something specific. But it's also a design element right?
00:52Because we used an H1 to create H1 title, we used an image to put an image inside and so on and so forth
00:58and then there's the data itself, which is the actual content we put inside such as the text of our article
01:04or the images and such. So far we've done everything in HTML but in the real world and real application
01:11there's actually a seperation which we're not going to cover right now but it's important for you
01:16to understand it as you progress as developers, is that usually the hob of the structure is HTML,
01:23so even if we're working on tags that are supposedly design for a tags such let's say H1 tag,
01:29it's not really a design tag, it's a structure tag that says this is a headline of priority one
01:35-I knew that
01:36right, but it doesn't mean that it needs to be in a font size that's exactly this size,
01:42that could be define elsewhere, we didn't really learn how to do that yet and the great news is...
01:47we're not going to learn it right now because we're going to continue learning HTML
01:52but it's important for you to know that and the way you update that is through CSS,
01:57so literally when you're starting to get deeper into the world of design and making your pages look good,
02:02you need CSS! alrigh? now if you're asking yourself what should you learn next,
02:08or what should you look to learn as you're learning HTML course,
02:12you could go on a few different paths but a really good path would be to learn the basics of CSS
02:17you don't have to be masters at it, but to learn the basics of how to work with it,
02:20over time you'll get better and better at it,
02:23-where do they find that 'it' ?
02:24-we don't have a course on that yet, maybe at this second we don't but do check our profile
02:29because we're always making a news stuff so we might have a new CSS course really soon
02:34but it is a good place to continue learning. I'll make sure that by the end of this section
02:39I'll put up a recommended course or book that I think you could benefit from learning
02:44in the meantime until we create a course on CSS
02:47-good
02:48and if we already created a course in CSS then you'll find it in the end of this session
02:53more information about how to get to it at least,
02:55and there's a data itself that you don't have to worry about at all,
02:58but I want you to be aware of it that data element usually is built when you're already a programmer
03:03usually it's not baked inside of html. I'm going to ask you a question mom.
03:08and just think out of the box and tell me why.
03:11-why do you think it's a good idea to put our actuall data of our HTML file, not in the HTML file?
03:19What power does it give us if it's not in it?
03:22-What power doesn it give us?
03:24-What's the advantage of let's say taking the actual content of your page and not putting it directly inside of it?
03:31- Maybe if I want to change things it's easier?
03:34-That is definitely one advantage, we want to change things it's easier because
03:38you don't have to go into that specific file but you could have maybe some sort of a CMS
03:42or some sort of management system. CMS is 'content management system'
03:46-If I want to change one thing that's what going to make it easier
03:49Right, and Imagine that you have a site that has 10.000 pages right?
03:54for example our site has about 2000 on 02geek.com we have 2000 pages,
03:59about 4 months ago we changed our domain, we changed it from everythingfla.com
04:04to 02geek.com
04:06Now if we really had a 1000 pages that we manually wrote, it would take us weeks if not months
04:12to update every single link. But because we're working with content management system
04:17all we have to do is change one line and all the different links are updated.
04:21So one of the powers of taking your data outside of HTML is that it makes it much more easy to control
04:27beyond that in all those thousands of pages... We didn't talk to much about Head enough footer,
04:34but you know? Let's go into a browser because this is really important to undarstand,
04:39not necessarely to do anything about it yet but if we go to 02geek.com and I'll load it up
04:44and put it in our frame, first of all you notice that we have a header, and we also have a footer
04:52all the way in the bottom, and also a lot of courses that actually exist in every single page
04:57so if we go into our tool section we'll see that we still have our header and we still have our footer
05:02if we go into specific page, maybe we'll go inside of some sort of a tool that were marketing
05:08we'll see again that we have our header, we have our footer and we have all the stuff that are repetetive
05:12now because we're working with programming, with the server site language,
05:18we're capable of just telling the browser: use the same footer,
05:22basicaaly we're not rewriting the same footer over and over and over
05:26we just have like a file that has that footer inside of it and we bake it into HTML file
05:30byt doing that in our later day, whenever we want to change a logo here
05:34it'll automatically change the logo on every single place we're using the footer
05:38if we add a new course it'll update in every single place where we have this list of courses
05:43by extracting our data into external elements it gives us much more control over how we update it
05:50Obviously this isn't important if we just started doing HTML so one thing I would say is
05:55don't go crazy running to try to figure out how to do it because it's not important to you yet
05:59you really want your steps, as we looked in our chart, or steps are literally:
06:05HTML CSS, XML databse, and I would say, as you're going to that place to be able to do XML database
06:14you want to also learn programming ,
06:16Alright so we're basically saying you have HTML and CSS and beyond that you have also programming
06:23and the reason why you need programming and you may think:
06:26'whoaa Ben we've just learnt with you around 3 hours, were we learning to program?'
06:30the bad news is no, you didn't learn how to program, what you learnt is how to work with tag languages,
06:36so you didn't really do anything that demanded any ligic, all you really did was,
06:42well obviously you're logical persons so it took some logic from you but
06:46It wasn't something conditional such as if it's more thing to this, if it's not to do that,
06:52if the person is logged in then do this, and so on and so forth.
06:55You didn't really go into the depths of the programming language and you need some sort of
07:00a programming language to start working with the database and XML stuff.
07:04That's completely out of our scope of our course, CSS is almost completely out of our scope
07:09but we'll look at it at the future session before we're done with the HTML training with Mom
07:14but we're going to continue focusing on HTML, but at this stage if you've done already almost 3 hours of learning
07:21you should be able to get this, understand that's triangle or maybe foursome that builds you up as a developer
07:28So you want to know HTML, you want to know CSS, you want to know what XML or database language,
07:33you want to know programming. The good news is that we already had a training on all the topics
07:39beyond CSS right now but disclaimer , we may have it alread. You have to go on 02geek.com
07:44or onto our profile to check this if we have a course on CSS already up there,
07:49but in any case by the end of this session we'll leave you more information about what should you do next
07:55to know CSS because it's critical to know if you want to become an HTML developer, and you're ready for it
08:00so you're ready to grab a book or course and start looking into CSS as well
08:04in the next following videos what we're going to do is we're not going to focus on CSS
08:08but we're going to focus on a lot of tags that are very design oriented
08:13and I wanted to do this intro in the beginning to make it very cristal clear that they're not really design elements
08:20they're always structured or some logical implementation
08:23just as much as we had an H1 that had a meaning It meant the most important headline
08:28every single tag that we'll learn in the next 30 minutes is going to have a speciffic meaning.
08:34Although we're not going to focus each element and think about it but you do think about it
08:39as we're going along because at this stage we fell like you're ready to have enough background
08:43that we could run through a lot of tags because we want you to know all HTML tags that exist
08:48and by the way by the end of all of our sessions you're going to know every single HTML tag
08:52minus the new HTML5 tags that you could catch in one of our courses which we have up online as well
09:00we wanted to do that separation so it's much easier, so we first focus on the basics,
09:04know all the single tags that are still valid for HTML5 as well and the new HTML5 tags
09:09we talked about them in the separate course that's explicitly focused on HTML5

Ready to Level Up Your Skills?

Join thousands of learners on 02GEEK and start your journey to becoming a coding expert today!

Enroll Now for Free!