God Dayumm
Banned
css is for styling not for
layout
layout
Find a good responsive starter theme (I use Bones on WordPress) and fool around with it and you'll start to see how everything ties in together.
Also, an invaluable tool when doing responsive design: http://lab.maltewassermann.com/viewport-resizer/
It allows you to change your viewport size on the fly so you can see what your site looks like on different screen sizes.
I need to improve my JS skills, and want to dabble with AngularJS in particular. Any suggestions on a good intro to Angular?
css is for styling not for
layout
<div class="row">
<div class="col-xs-12 col-sm-6 col-md-8">.col-xs-12 .col-sm-6 .col-md-8</div>
<div class="col-xs-6 col-md-4">.col-xs-6 .col-md-4</div>
</div>
<div class="row">
<div class="col-xs-6 col-sm-4">.col-xs-6 .col-sm-4</div>
<div class="col-xs-6 col-sm-4">.col-xs-6 .col-sm-4</div>
<!-- Optional: clear the XS cols if their content doesn't match in height -->
<div class="clearfix visible-xs"></div>
<div class="col-xs-6 col-sm-4">.col-xs-6 .col-sm-4</div>
</div>
As per the thread title, does someone know of a GOOD tutorial or a resource to learn how to do a proper "responsive" layout??
I tried doing one manually using and modifying the code provided by this http://www.responsivewebcss.com/ and it was a big mistake, soon enough it was a huge mess and stuff was overlapping, etc.
I still dont understand why I shouldnt just use tables with % based widths, they seem to behave better, but I am open to other alternatives, im in no way "set in my ways" but I also dont want to add unneeded complexity
css is for styling not for
layout
*snip*
Couple of tips for intermediate web devs:
Unit test your your code:
Front-end needs unit tests too. Qunit is good, so is mocha + chai. Sinon is the best for stubbing. Learn to do this. Also, test in actual browsers you wish to support. Do not use headless browsers like PhantomJS.
Use a framework:
Unless you are well-disciplined and have a personal consistent style use something like Backbone or Angular to help you. My favorite is Backbone with stickit for view model binding. Stickit is one of the few that actually does this in a sensible way.
Learn how jquery works under the hood:
Everyone uses it, most over use it. Instead of some $element.prop("checked", "checked") garbage for checking a checkbox, how about $element[0].checked = true? Easy use with bools, no strings. jQuery is best used for older browsers, DOM inserts, and even handler tracking, everything else can be done nearly as easily natively in modern browsers.
Use CSS flexbox:
All modern browsers support flexbox (Safari and Silk need -webkit but it's the same syntax). Use this for modern responsive layouts. No more garbage CSS frameworks.
Use native form validation:
Stop using libraries for this. Learn to use native html forms. It's actually fairly intuitive once you get it.
Use templates (especially logic-less ones):
Don't append strings for on demand html. Use a templating engine. Mustache is my favorite because you can't put code in it, this is a good thing because you'll want to but it pollutes the view with the logic, build view models instead. Notes that as Web Components uptake happens this might start rolling over to using that.
Subscribe to HTML5 rocks
http://www.html5rocks.com/en/ Google evangelists (And some others) post good articles here about new web features.
Use version control
If you work for a company this is obvious but might not be for one-man shows. Use Git, post your work to Github. Also check Github for cool new libraries.
Everything SVG
Use SVGs for anything that is man-made (ie not photos). Much easier to deal with and nice version control properties too. Learn to write by hand if possible, image editors tend to put a lot of garbage into these and don't use them efficiently but it's actually a pretty sensible XML schema to understand.
Use a CSS preprocessor
Takes the pain out of managing CSS as CSS is designed stupidly. I use Compass which is SASS based.
well thats what he means. You create the skeleton with elements like divs, but you style and manipulate these elements with css. Without a good layout you end up using extra css markup that you don't need.Eh? I thought that was one of the main uses of <div> tags. All sites I've designed I laid out using divs with CSS.
I secretly hate every major browser
Find a good responsive starter theme (I use Bones on WordPress) and fool around with it and you'll start to see how everything ties in together.
Also, an invaluable tool when doing responsive design: http://lab.maltewassermann.com/viewport-resizer/
It allows you to change your viewport size on the fly so you can see what your site looks like on different screen sizes.
This looks like a good tutorial:
https://tutsplus.com/course/responsive-web-design-for-beginners/
I haven't taken the course myself, but as a subscriber to tuts+ premium I have taken a number of beginner courses on HTML, CSS, PHP and Javascript and they were all pretty good. As a non-subscriber you can view the first two lessons to get an idea.
I still use Dreamweaver as my text editor. Force of habit.
Thank you
Will check this out as well, hopefully it can get me where I want.
What about [web] fonts. Do you guys just stick to the default fonts or seek out more nicer stuff?
I'm actually trying make my web site consistent with my resume and business card design.
I use Google Fonts. They have a ton of great, free fonts and they are super-easy to add to your project.
Couple of tips for intermediate web devs:
Unit test your your code
Use a framework:
Use templates (especially logic-less ones):
Use a CSS preprocessor
I'm going to take issue with these points. I think web design has become such a bloated mess in recent years because of all this crap. It's shame we're losing little snippets and ideas on blogs and websites that you could learn from and recommend to others. Nowadays everything is libraries on top of libraries with unit test and all this other stuff and the thing you actually want is only like 2kb.
I understand if you're working on so massive site with loads of developers or whatnot but 90% of the stuff I see on GitHub and around the web now is impossible recommend because it's just buried under layers and layers of bullshit.
anyway, rant over.
I use Google Fonts. They have a ton of great, free fonts and they are super-easy to add to your project.
Hey there web developers, use experience designer here. How many of you guys and girls work with designers and what are your biggest likes/dislikes, things you wish we'd do more/things we do less?
Maybe I should start a separate thread.
I'm going to take issue with these points. I think web design has become such a bloated mess in recent years because of all this crap. It's shame we're losing little snippets and ideas on blogs and websites that you could learn from and recommend to others. Nowadays everything is libraries on top of libraries with unit test and all this other stuff and the thing you actually want is only like 2kb.
I understand if you're working on so massive site with loads of developers or whatnot but 90% of the stuff I see on GitHub and around the web now is impossible recommend because it's just buried under layers and layers of bullshit.
anyway, rant over.
The only thing I ask for is understanding that what you want might not be realistic and that you need to be able to work with me, compromise, and help find a good middle ground if needed.
Though it seems natural to do so, try not to conflate the ideas of art and design (in the context of the web). A page or app can be artistic, but because of the interactivity of the medium, far more focus is placed on designing a positive experience for the user. Given limited resources, most firms will settle for a polished interface and flow.
Is it possible to be a designer, given your background? It depends on how much work you want to put in and what problems you hope to design solutions for a digital ad agency like AKQA creates visually-engaging awareness apps for clients, which may require more of an artistic streak. If you're interested in venturing off to other areas in the field, though, you may have more options.
I admit that I got caught up in the responsive design thing, but now I realize that responsive design is not a positive.
Tablets and phones now have enough resolution and people are comfortable zooming that making a dedicated site for a phone or tablet pisses me off more than it helps.
So that's my opinion. I think responsive design is a good idea in theory, but ends up being abused like frames etc..
Good points. I would prefer to learn development over design, although both interest me. UI/UX is another interest of mine.
I completely disagree. As someone who works on mobile ecommerce sites, I hate when sites dont have a tablet or mobile version. It makes navigating the site or buying things so much easier. Pinching and zoom around a site is infuriating.
Bad design is bad design regardless of if its responsive or not.
Nice thread. Subscribing since web design/development really interests me.
I've been wanting to create my own website but I don't exactly know where to begin. I've taken a class on HTML, but was never able to produce anything great looking, in my opinion.
Is it possible to make good looking websites solely with HTML? If not, I wouldn't mind learning something else if you guys have any recommendations. I have a decent amount of experience with programming, just not web stuff.
Also, would someone mind giving me a very basic order of the process to complete a website, start to finish?
Thank you for any help you can give me.
I admit that I got caught up in the responsive design thing, but now I realize that responsive design is not a positive.
Tablets and phones now have enough resolution and people are comfortable zooming that making a dedicated site for a phone or tablet pisses me off more than it helps.
So that's my opinion. I think responsive design is a good idea in theory, but ends up being abused like frames etc..
Subscribing. I was hired by my buddy as a programmer(zero experience, I have a degree in film) but mostly I was working on our sites. I had to learn wordpress first, then got pretty deep into drupal and now I'm working on our python/django site. I learned html/CSS and python syntax from code academy but I'm still sort of lost on a lot of things.
I want to learn JavaScript but I'd rather do some practical stuff than go through code academy again. Any ideas?
Agreed, although the merits of having a dedicated mobile site vs. a single responsive solution can be debated all day.
Nice thread. Subscribing since web design/development really interests me.
I've been wanting to create my own website but I don't exactly know where to begin. I've taken a class on HTML, but was never able to produce anything great looking, in my opinion.
Is it possible to make good looking websites solely with HTML? If not, I wouldn't mind learning something else if you guys have any recommendations. I have a decent amount of experience with programming, just not web stuff.
Also, would someone mind giving me a very basic order of the process to complete a website, start to finish?
Thank you for any help you can give me.
HTML is the visual foundation of a website. Realistically it represents document structure and that's it, CSS is what makes things visually look the way they do. Of course to make a site do anything you need javascript and some sort of backend that serves data.
You can partition website development any way you want but most basically you need:
-A data store : A database or something that holds the data you want to serve to users unless you're making a specific client-side web app that only holds the users own information.
-Web server: Something that serves the site and everything else. Often uses logic for permissions and serving up data from the database.
-HTML pages/templates: This outlines your pages (or views) and is necessary for the browser to render anything.
-CSS stylesheets : These give the layout, look and feel of your site. This text is bold, this is red, this appears on the left-size. Stuff like that.
-Javascript : Anything interactive needs javascript. This is any logic that runs on the front end, flipping switches, making things interactive to the user, interacting with the server etc.
My first foray into building a website was with Wordpress. I got a web server, installed Wordpress, found a theme I thought looked good and then just started tinkering with it. There are tons of themes out there, many of them free. Like you my only previous experience was a class in basic HTML. But I was able to get a decent looking website up and running pretty quickly and learned a lot in the process.