Jump to content

Best place to learn html5 / css?

cookiethecrumb

Hey guys I want to teach myself how to code and make websites with css and html5. What would be the best free resources to teach myself these two things. Thanks for any help!

 

(i know c++ and java if that is relevant information)

Link to comment
Share on other sites

Link to post
Share on other sites

W3Schools and generally trying out a ton helped me.

I have seen people recommend Codeacademy, but can't personally vouch for it (have never used it)

 

Also, Google any questions you have.

"We're all in this together, might as well be friends" Tom, Toonami.

 

mini eLiXiVy: my open source 65% mechanical PCB, a build log, PCB anatomy and discussing open source licenses: https://linustechtips.com/topic/1366493-elixivy-a-65-mechanical-keyboard-build-log-pcb-anatomy-and-how-i-open-sourced-this-project/

 

mini_cardboard: a 4% keyboard build log and how keyboards workhttps://linustechtips.com/topic/1328547-mini_cardboard-a-4-keyboard-build-log-and-how-keyboards-work/

Link to comment
Share on other sites

Link to post
Share on other sites

https://www.w3schools.com/html/default.asp

 

I was taught by a book. See if you can find a PDF of one of its edition online for free.

https://www.amazon.com/gp/product/0133970744/ref=oh_aui_detailpage_o03_s01?ie=UTF8&psc=1

Main Gaming and Streaming PC: http://pcpartpicker.com/user/Vinsinity/saved/TjwVnQ

Ultrabook and College Laptop:

Spoiler

XPS 13 9350:

i5-6200U

8GB RAM

Samsung PM951 250GB M.2 Solid State Drive

Workstation Laptop:

Spoiler

Sager NP8672 (P670SG):

i7-4720HQ

32GB (4 x 8GB) CORSAIR Vengeance Performance

Samsung 850 EVO 250GB M.2 Solid State Drive (Boot Drive)

Samsung 950 PRO 512GB M.2 Solid State Drive (Video Drive)

Crucial MX100 250GB 2.5" Solid State Drive (Secondary SDD Storage)

Western Digital (Blue or Black) 1TB 2.5" 7200RPM Internal Hard Drive (Storage Drive)

GeForce GTX 980M 4G

 

Link to comment
Share on other sites

Link to post
Share on other sites

HTML and CSS are not that hard to learn. I suggest you just jump in and try things. Tons of free resources are on the internet if you have any questions.

Link to comment
Share on other sites

Link to post
Share on other sites

I highly recommend this book: https://www.amazon.com/HTML-CSS-Design-Build-Websites/dp/1118008189/ref=sr_1_3?s=books&ie=UTF8&qid=1493229057&sr=1-3&keywords=HTML5+CSS3. It's no-nonsense, clear, and teaches you the things you will use most of the time (and the book as a tongue-in-cheek comment about the other things it won't cover you can Google. Seriously)

 

And then I use w3schools from time to time as a reference.

Link to comment
Share on other sites

Link to post
Share on other sites

Im not sure if this breaks the community standards (if it does, i will take out the link and you can personally ask me for it or find it yourself) but I found this PDF of a book that I have been reading in my free time that I recommend.

http://wtf.tw/ref/duckett.pdf

Link to comment
Share on other sites

Link to post
Share on other sites

I used w3 too :)

NEW PC build: Blank Heaven   minimalist white and black PC     Old S340 build log "White Heaven"        The "LIGHTCANON" flashlight build log        Project AntiRoll (prototype)        Custom speaker project

Spoiler

Ryzen 3950X | AMD Vega Frontier Edition | ASUS X570 Pro WS | Corsair Vengeance LPX 64GB | NZXT H500 | Seasonic Prime Fanless TX-700 | Custom loop | Coolermaster SK630 White | Logitech MX Master 2S | Samsung 980 Pro 1TB + 970 Pro 512GB | Samsung 58" 4k TV | Scarlett 2i4 | 2x AT2020

 

Link to comment
Share on other sites

Link to post
Share on other sites

I have used codeacademy and pretty much learned the basics fast. Really simple to use. Also w3schools is really good.

My stuff:

Spoiler

CPU :  Intel i5 8400 | GPU : MSI GTX 970 Gaming 4GB

 

RAM : 32GB Corsair Vengeance DDR4 @ 3600MHz

 

Mouse : Logitech G502 HERO SE | Keyboard : Mountain Everest Max w/ Cherry MX Brown

 

Headset : Beyerdynamics DT990 Pro 250Ω w/ AT2020USB+

 

Monitor : Acer XF240H @  144Hz

 

Link to comment
Share on other sites

Link to post
Share on other sites

I'm surprised to see none is recommending what to me is the most obvious: View the source of existing websites on the internet and study it. Download it locally, mess with the code, brainstorm why things are working for you or not. Rinse repeat. I learned both html and css just by doing that.

 

Html is far less messy these days because you don't need it to design the UI anymore, you just use css. So for the most part it's pretty simple and straight forward. Now, for a handcoder like me css can be tricky. The amount of time spent messing with pixel values and refreshing just to "get it right" is unbelievable. I would recommend that once you get better at it just use software like Dreamweaver for easier UI design. 

 

But yeah, apart from all the nice sources everybody else mentioned, find websites that you like and study their source code. Sometimes, for some p eople, having functional code available to mess with can be better for learning than starting with a "hello world" kind of strategy. Try it and find out :)

 
~ Specs bellow ~
 
 
Windows 10 Pro 64-bit [UEFI]
CPU: Intel i7-5820k Haswell-E @ 4.5-4.7Ghz (1.366-1.431V) | CPU COOLER: Corsair H110 280mm AIO w/ 2x Noctua NF-A14 IPPC-2000 IP67 | RAM: G.Skill Ripjaws 4 32Gb (8x4Gb) DDR4 @ 2666mhz CL15 | MOBO: MSI X99S Gaming 7 ATX | GPU: MSI GTX 1080 Gaming (flashed "X") @ 2138-2151Mhz (locked 1.093V) | PSU: Corsair HX850i 850W 80+ Platinum | SSD's: Samsung Pro 950 256Gb & Samsung Evo 850 500Gb | HDD: WD Black Series 6Tb + 3Tb | AUDIO: Realtek ALC1150 HD Audio | CASE: NZXT Phantom 530 | MONITOR: LG 34UC79G 34" 2560x1080p @144hz & BenQ XL2411Z 24" 1080p @144hz | SPEAKERS: Logitech Z-5450 Digital 5.1 Speaker System | HEADSET: Sennheiser GSP 350 | KEYBOARD: Corsair Strafe MX Cherry Red | MOUSE: Razer Deathadder Chroma | UPS: PowerWalker VI 2000 LCD
 
Mac Pro 2,1 (flashed) OS X 10.11.6 El Capitan 64-bit (NAS, Plex, HTTP Server, Game Servers) [R.I.P]
CPUs: 2x Intel Xeon X5365 @ 3.3Ghz (FSB OC) | RAM: OWC 16Gb (8x2Gb) ECC-FB DDR2 @ 1333mhz | GPU: AMD HD5870 (flashed) | HDDs: WD Black Series 3Tb, 2x WD Black Series 1Tb, WD Blue 2Tb | UPS: Fortron EP1000
 
Link to comment
Share on other sites

Link to post
Share on other sites

You might want to take a look at http://www.freecodecamp.com. I happened to run across it a day or two ago and it looked very comprehensive and is free!

 

 

Good luck.

 

The computer isn't the "Thing".....the computer is the "Thing" that gets you to the "Thing".  - excerpt from "Halt and Catch Fire".

 

Link to comment
Share on other sites

Link to post
Share on other sites

It really depends what you intend to do and what your goals are...

 

You say that you "know" c++ and java, so what does that mean?  You took a class once or you're a software developer that currently writes console-based apps and wants to move more into front end and web applications?  HTML5 and CSS are pretty much just a hands-on type of learning because they don't really DO anything without some form of client/server code telling them what to do. 

 

In other words: they are both markup languages intended to help you design the UI (client) of a webpage/application.  What flavor or version of HTML you use (HTML5, Asp.net, etc) is largely irrelevant as the concepts are mostly the same, and CSS is really just a way of organizing your styles/themes into classes for re-usability and to keep your pages clean.  The differences between older HTML and HTML5 are pretty minor and also depend on which browser/s you're targeting.

 

For example, let's say you're trying to create a business website that tracks sales, invoices, customer information, reports, etc.  You're going to have a lot of controls (search templates, gridviews, tables, etc) on multiple pages.  If you wanted to have all your gridviews use the same appearance you would create a CSS class like "gridview-default" that you could then assign to each grid rather than styling them individually.  Not only is it less work, but when you need to make a change you update the one central location rather than modifying each page/control independently.  

 

So to summarize... learning HTML and CSS is really just the basics of web programming.  You can buy books or study tutorials but if you understand the concepts of controls, events and styles then you should really just dig in.  I would suggest picking a simple concept and starting to work on it, jot down some notes about what you think you'll need and then review later.  If you get stuck then Google, Stack Overflow, and W3Schools are your friends.

 

Also, I would strongly recommend you learn jQuery, JavaScript and look into Bootstrap as well...

Link to comment
Share on other sites

Link to post
Share on other sites

3 hours ago, SaladFingers said:

I'm surprised to see none is recommending what to me is the most obvious: View the source of existing websites on the internet and study it. Download it locally, mess with the code, brainstorm why things are working for you or not. Rinse repeat. I learned both html and css just by doing that.

I recommend against doing this. The source you see on your browser may be different than the actual source file on the server. jQuery and Angular for instance can generate a ton of HTML that gets complicated for a human to read really fast. But if you want to do that approach, I would go with a framework like http://www.getmdl.io, as it's easy to get into and the examples are helpful.

 

But until then, one should really learn the fundamentals of HTML and CSS before trying to look at someone else's work. It'd be like trying to learn C and looking at snippets of the Linux kernel source without understanding what a function call is.

Link to comment
Share on other sites

Link to post
Share on other sites

1 minute ago, M.Yurizaki said:

I recommend against doing this. The source you see on your browser may be different than the actual source file on the server. jQuery and Angular for instance can generate a ton of HTML that gets complicated for a human to read really fast. But if you want to do that approach, I would go with a framework like http://www.getmdl.io, as it's easy to get into and the examples are helpful.

 

But until then, one should really learn the fundamentals of HTML and CSS before trying to look at someone else's work. It'd be like trying to learn C and looking at snippets of the Linux kernel source without understanding what a function call is.

Well that's why you don't start with overly complicated websites at the beginning. Even templates can help one understand. Anyway, I have had success with top to bottom learning in the past and I know others that did as well, so I thought I'll give my 5c.

 

PS: What you see doesn't necessarily need to be the same with the code on the file server. If I'm using php inclusions for example, that doesn't really matter as the end result is the front end that the browser renders and the user sees, so it still works.

 
~ Specs bellow ~
 
 
Windows 10 Pro 64-bit [UEFI]
CPU: Intel i7-5820k Haswell-E @ 4.5-4.7Ghz (1.366-1.431V) | CPU COOLER: Corsair H110 280mm AIO w/ 2x Noctua NF-A14 IPPC-2000 IP67 | RAM: G.Skill Ripjaws 4 32Gb (8x4Gb) DDR4 @ 2666mhz CL15 | MOBO: MSI X99S Gaming 7 ATX | GPU: MSI GTX 1080 Gaming (flashed "X") @ 2138-2151Mhz (locked 1.093V) | PSU: Corsair HX850i 850W 80+ Platinum | SSD's: Samsung Pro 950 256Gb & Samsung Evo 850 500Gb | HDD: WD Black Series 6Tb + 3Tb | AUDIO: Realtek ALC1150 HD Audio | CASE: NZXT Phantom 530 | MONITOR: LG 34UC79G 34" 2560x1080p @144hz & BenQ XL2411Z 24" 1080p @144hz | SPEAKERS: Logitech Z-5450 Digital 5.1 Speaker System | HEADSET: Sennheiser GSP 350 | KEYBOARD: Corsair Strafe MX Cherry Red | MOUSE: Razer Deathadder Chroma | UPS: PowerWalker VI 2000 LCD
 
Mac Pro 2,1 (flashed) OS X 10.11.6 El Capitan 64-bit (NAS, Plex, HTTP Server, Game Servers) [R.I.P]
CPUs: 2x Intel Xeon X5365 @ 3.3Ghz (FSB OC) | RAM: OWC 16Gb (8x2Gb) ECC-FB DDR2 @ 1333mhz | GPU: AMD HD5870 (flashed) | HDDs: WD Black Series 3Tb, 2x WD Black Series 1Tb, WD Blue 2Tb | UPS: Fortron EP1000
 
Link to comment
Share on other sites

Link to post
Share on other sites

Just now, SaladFingers said:

PS: What you see doesn't necessarily need to be the same with the code on the file server. If I'm using php inclusions for example, that doesn't really matter as the end result is the front end that the browser renders and the user sees, so it still works.

That's what I said. With AngularJS, I can iterate a data structure using a repeat function. On the actual source file, if I'm putting this in a ul, I only have one li element. AngularJS creates the rest of listing on the client side.

 

In any case, I find it harder to find a website with simple enough code to be useful for learning than not. Something like W3 Schools is good because they provide examples that are appropriate for the expected level of experience.

Link to comment
Share on other sites

Link to post
Share on other sites

Just now, M.Yurizaki said:

That's what I said. With AngularJS, I can iterate a data structure using a repeat function. On the actual source file, if I'm putting this in a ul, I only have one li element. AngularJS creates the rest of listing on the client side.

 

In any case, I find it harder to find a website with simple enough code to be useful for learning than not. Something like W3 Schools is good because they provide examples that are appropriate for the expected level of experience.

But that's the thing, going through the code you find things you don't understand and then you look them up on sites like W3 Schools. And then it sticks.

 
~ Specs bellow ~
 
 
Windows 10 Pro 64-bit [UEFI]
CPU: Intel i7-5820k Haswell-E @ 4.5-4.7Ghz (1.366-1.431V) | CPU COOLER: Corsair H110 280mm AIO w/ 2x Noctua NF-A14 IPPC-2000 IP67 | RAM: G.Skill Ripjaws 4 32Gb (8x4Gb) DDR4 @ 2666mhz CL15 | MOBO: MSI X99S Gaming 7 ATX | GPU: MSI GTX 1080 Gaming (flashed "X") @ 2138-2151Mhz (locked 1.093V) | PSU: Corsair HX850i 850W 80+ Platinum | SSD's: Samsung Pro 950 256Gb & Samsung Evo 850 500Gb | HDD: WD Black Series 6Tb + 3Tb | AUDIO: Realtek ALC1150 HD Audio | CASE: NZXT Phantom 530 | MONITOR: LG 34UC79G 34" 2560x1080p @144hz & BenQ XL2411Z 24" 1080p @144hz | SPEAKERS: Logitech Z-5450 Digital 5.1 Speaker System | HEADSET: Sennheiser GSP 350 | KEYBOARD: Corsair Strafe MX Cherry Red | MOUSE: Razer Deathadder Chroma | UPS: PowerWalker VI 2000 LCD
 
Mac Pro 2,1 (flashed) OS X 10.11.6 El Capitan 64-bit (NAS, Plex, HTTP Server, Game Servers) [R.I.P]
CPUs: 2x Intel Xeon X5365 @ 3.3Ghz (FSB OC) | RAM: OWC 16Gb (8x2Gb) ECC-FB DDR2 @ 1333mhz | GPU: AMD HD5870 (flashed) | HDDs: WD Black Series 3Tb, 2x WD Black Series 1Tb, WD Blue 2Tb | UPS: Fortron EP1000
 
Link to comment
Share on other sites

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×