- All Lessons
- Staff Picks
- Pocket Perfect
- Sunset Magazine
- Curious 52
- Art & Photo
- Game On
- Green Thumb
- Smarty Pants
- Fit & Active
- Tasty Treats
- Song & Dance
- Health & Beauty
- Kids Only
- Business Savvy
- Party Time
- Great Outdoors
- Learn to Code
- Around the House
- Fancy Free
- Under 5 Minutes
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.
Once you have programmed how a character moves in Python, the next step is to allow the user to input movement. Working with the your draw_grid() function, you will inform the user of the game controls and provide text that appears when he or she wins or loses. Continue your quest towards Python game development mastery with this tutorial by Learn to Program.
Once you have mastered the display property, add another layer of CSS wizardry with this lesson, which teaches you how to use positioning. Positioning allows you to define the point-of-reference with which your element’s placement is defined. Learn to Program discusses static, relative, absolute and fixed positioning as well as the four offset properties.
When you open up a new project in Xcode, you may surprised to find a few lines of finished code. This is the default program for Objective-C. In this lesson, Lucas Derraugh breaks down the functions of each line, from the import function to NSAutorelease Pool. You’ll also learn how to use NSStrings to produce text with an NSLog.
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.
So, you're ready to begin learning all about Objective-C, in hopes of creating a game-changing app for Apple computers or iPhones. In this first lesson of the series on Objective-C on Mac from Lucas at Apple Programming, learn about the basics of the language: from which famous man is responsible for all Apple products using Objective-C, to where you can download Xcode, the tool you’ll use to write and compile your code. Finally, Lucas demonstrates how to begin a new project. Piece of cake!
Give the people what they want! You can let users choose from unlimited gameplay settings. This tutorial by Learn to Program demonstrates how to enable custom gameplay settings by using inputs and try statements. Allow your audience to change the height and width of the game board, or even change the speed of the monster; as a bonus, make your game even more unique with a few expert tips.
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!
Create men and monsters alike! Once you have your playing field, define functions for each of your characters and objects—here, the character, monster, flask, and trap—and place them on the grid so that they can interact with one another. This Python game development tutorial by Learn to Program sets up the playing field for so you can start customizing gameplay later in the series.
Arrays are useful programming tools for working with large amounts of information. However, in other languages such as C, they can only be used to gather primitive data such as integers or characters. Objective-C uses the more flexible NSArray class, which works with objects such as strings or classes. In this tutorial, Lucas Derraugh reviews the general idea of arrays before diving into how they work in Objective-C. Some knowledge of arrays in other programming languages is required.
In desperate need of a navigation bar? Just about every site has one, and for good reason: navigation bars allow your users to move from one web page to another with one click. A commonly-made rookie mistake in HTML and CSS web development is to use separate elements to create a navigation bar. This tutorial by Learn to Program demonstrates one of the easiest ways to create flexible and functional and navigation bars with unordered lists, of all things.
When all else fails, elements on a web page can be floated using CSS—that is, removed from the normal flow of content. Floating is a great alternative to tools such as absolute and fixed positioning; however, it has some quirks. In this lesson, Learn to Program gives you the lowdown on when to use float, how it works, and what oddities you can expect to encounter.
With the rise of sophisticated web browsing on mobile devices, it is more important than ever to learn the basics of styling CSS for smaller screens. In this comprehensive lesson, Learn to Program shows you how to craft a website that adapts to mobile devices, desktops and everything in between. You will learn about media values, the meta tag and dinosaur protection, while gaining a sense of how mobile browsing is changing the future of web design.
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.
For loops are the most commonly used loops when programming in Python, because they are so powerful. If you know how many conditions you will be utilizing, for loops have a number of features that while loops do not offer. This tutorial by Learn to Program covers when you should use for loops, and demonstrates some of the customizations available to you.