Learn to Code lessons Show All Sort By Views
9 of 19

Want to repeat the same JavaScript code over and over? In this lesson from Learn to Program's JavaScript series, learn how to use while loops and do while loops, which execute repeatedly so long as certain conditions are true. See how to establish the loop and set those conditions. While loops are perfect for when you need your code to respond to multiple user inputs, or if you need it to read an XML document.


Assignment:
5:16
8
31
0
0
12 of 21

Elif statements allow you to stretch your data comparisons into infinity! Sandwiched between if and else statements, elifs allow you to check for multiple conditions, provided that the if statement’s condition is not met. Once you have mastered if, else and elif statements with this tutorial by Learn to Program, you will be on your way to making useful, flexible Python code.


Assignment:
2:49
10
41
0
0
17 of 24

Transforms allow you to manipulate elements in three dimensions. Dive into one of the most groundbreaking features of CSS3 in the second installment of this two-part lesson, which introduces you to 3D concepts such as perspective. Learn also how to provide maximum browser support for transform modules that are still in development - to help ensure that your elements look consistent across Firefox, Chrome, Safari, Internet Explorer, and other browsers.


Assignment:
9:24
4
20
0
0
20 of 24

The CSS display property is a simple, useful tool for maximizing flexibility and responsiveness between web page elements. Even the simplest page can have multiple containers, such as divs and spans, that play by different display rules. Learn to Program covers the essential display values and how containers react to them in this valuable lesson.


Assignment:
9:42
5
20
0
0
12 of 24

The box model is essential to understanding your web page elements at a technical level. The content area, padding, borders, margins and outlines are all great CSS attributes to know about when creating organized pages with flexible content. This tutorial by Learn to Program—invaluable for later lessons—walks you through each component and its importance.


Assignment:
9:58
5
20
0
0
3 of 3

It’s time to start DRYing up your javascript code! What does that mean? Don’t repeat yourself! In this lesson, learn how to DRY out your code in jQuery by making the existing 20 lines of code into 4 lines of code! And the best part is that the shorter code is better code! Learn how to do this by selecting HTML elements using classname and getting a custom HTML5 attribute value with jQuery.


Assignment:
6:43
36
26
0
2

If you are an HTML scripting enthusiast, and you use JavaScript, try this lesson to make your work easier! In this introductory jQuery lesson for beginners, learn how to get jQuery on your page and get up-to-speed with basic jQuery commands. Even beginners to JavaScript can write jQuery within minutes! It's also the most universally used JavaScript library in the world, so odds are your next employer will be using it. In this lesson, learn about showing and hiding, fading, and sliding.


Assignment:
7:49
48
60
2
2
2 of 3

Now that you are familiar with basic commands in jQuery, keep developing your skills and learn how to do event binding in this lesson! Events happen whenever a user clicks, hovers, drags, types, or does pretty much anything to interact with an HTML element. Learn about using jQuery to easily write a program to listen to these JavaScript events and modify the webpage in real time to create a professional-looking dynamic website!


Assignment:
6:34
72
45
5
9

Now that you have written the basic HTML structure for your website, in this lesson, learn how to style your page! Learn how to write CSS (Cascading Stylesheet) syntax, and learn the use this syntax to create a stylesheet to apply to the page. Learn to define basic features for your website, including color, position and decorative details. Finally, learn about using classes and Ids to create primary and secondary features to the sheet.


Assignment:
15:32
3
3
0
1
13 of 19

Make your webpage interactive by designing user events that call functions! In this third of three lessons on functions from Learn to Program's JavaScript series, discover how you can create a page that will respond to certain events or actions. See how to make a button page visitors can click, set up functions to execute once the page has loaded, and have the page respond to a user hovering the mouse over a button or word.


Assignment:
3:41
8
29
0
0
16 of 19

Does your program need to interact with real world people? If so, learn how to work with strings—one of the most important objects in JavaScript! In this lesson from Learn to Program, discover string methods, regular expressions, and the relationship between strings and characters. Mark demonstrates how to use the length property, charAt, charCodeAt, indexOf, replace and split methods. With this knowledge you’ll be working with real world data in no time!


Assignment:
12:15
7
31
0
0

It’s time to refine the style of your website! You started the CSS style sheet, but what should you do if you want to create columns? How about adding a footer? In this lesson, learn how to build these webpage elements with CSS syntax! Learn about adding a footer, header, padding text, and adding a border. Review how to effectively use semantic tags, and adjust the alignment of text with CSS display elements.


Assignment:
20:54
7
2
0
0

What's the difference between graphic design and web development? In this lesson, learn about starting out as a web developer, or the person that makes a webpage, based on the designer's aesthetic. In this lesson, learn about building a web page in HTML using Sublime Text, get comfortable with tags, and learn how to apply attributes. And all of this work is done in free software! Give this lesson a try and learn the basics of web development!


Assignment:
13:31
7
4
2
1
15 of 27

You've learned how to make page links and anchors that will allow your web browser to travel within and without your website. Now see how to use CSS (Cascade Style Sheets) to determine how your links will appear before and after someone has clicked on them, and when people hover their cursor over the link. Learn To Program teaches you to change color, font size and style, and to underline your links.


Assignment:
2:53
12
39
0
0
20 of 21

Thought you knew all there is to know about lists in Python? This tutorial by Learn to Program shows you how you can make your lists bend backwards and forwards or stretch out in any direction. With a number of easy-to-learn methods, such as ‘append’, ‘extend’ and ‘reverse, you will be sculpting your lists like the Michelangelo of Python in no time!


Assignment:
7:27
13
41
0
0
23 of 24

Want to make your website mobile-friendly? You’ll need to create and test CSS that works for smaller and narrower Android or iPhone screens. Don’t worry: by installing and running a mobile device emulator, you can successfully test your mobile CSS code on any computer. Learn to Program walks you through the steps necessary to get your emulator testing CSS in no time. Note: you will need an emulator to follow along with the next video in this series.


Assignment:
7:11
10
22
0
1
9 of 24

A useful veteran’s trick, the sliding doors technique can be used in many situations where you need an element that is both flexible and aesthetically pleasing. Learn to Program shows you how layered background images can create a button that responds well to changing input. The sliding doors technique can also be used for menu tabs.


Assignment:
11:50
7
22
0
0
19 of 21

Lists are a powerful way of compiling data in Python. They can bring together any number of disparate values and are compatible with a large amount of easy-to-use tools. This tutorial by Learn to Program delves into more advanced list topics, such as sequences and steppers, and reviews some basic things you should know about lists, such as indexes.


Assignment:
5:47
14
41
0
0

We use fonts every time we type, but do we really understand them? In this first in a series of typography lessons from Yes I'm a Designer, get an introduction to the wonderful world of fonts. You'll learn how to use InDesign to view the full range of glyphs in a font (beyond the characters you're used to seeing on your keyboard), discover how fonts are stored on your computer, and unravel the mystery of unicode.


Assignment:
5:15
469
298
7
22
Failed to load more lessons. Please try again.