javascript for web designers

in this course, you’re going to learn the basics of javascript from a web designer’s perspective. we’ll begin by going over the basics, such as javascript variables, data types, and loops, before working toward more complex notions such as functions, selectors, and events. along the way, we’ll build some examples that are geared towards what you as a web designer might face on a daily basis.

source files:
the source files contain the examples presented in the course videos. use them to double-check your code or work alongside the instructor:

if this course inspires you to learn javascript for web development, check out our comprehensive guide: cms-1112?utm_campaign=yt_tutsplus_reswvwi333o&utm_medium=referral&


0:00 introduction: javascript for web designers

0:27 1. working with javascript
if you’re not yet familiar with javascript, let’s run through a quick intro.

4:54 2. variables
if you’ve ever used a css preprocessor like less or sass then you’re already familiar with the concept of “variables”. variables are used to store data in a specific format. they can contain numbers, strings of characters, and so on.

9:07 3. data types
in this lesson, you’ll learn about the available “data types” in javascript.

13:17 4. arrays
let’s learn about the first “composite” data type in javascript: arrays.

20:04 5. objects
understanding “objects” in javascript starts with an understanding of “properties”. here you’ll learn about both of these concepts.

25:25 6. operators
let’s learn about operators and the various types thereof. we’ll begin with “arithmetic” operators.

34:07 7. if else statements
let’s now look at the if/else statement. if you know any other programming language then you’ll already be familiar with the concept of conditional statements. if not, don’t worry—we’ll cover all of that.

38:50 8. loops
a loop is a piece of code that executes repeatedly, either a set number of times or until a certain condition is met. let’s see how we can loop in javascript.

45:01 9. functions
you can think of functions as being “subprograms” which can have their own name, can be called anytime, can receive parameters, and can return a value.

51:17 10. selectors
selectors are great if you want to manipulate the dom and gain access to all its elements. to understand selectors, first let’s have a look at the window and document objects.

59:17 11. events
the term “javascript events” is perhaps a bit improper because the events are actually happening on the html side. all you can do in js is listen to these events and react accordingly.

1:06:15 12. back to top button
having covered a great deal of theory, let’s now practice what we’ve learned with some exercises. to begin with, let’s see how we can create a “back to top” button.

1:17:11 13. textbox auto completion
you’ll learn how to create a textbox that supports auto-completion.

1:31:42 14. simple content slider
in this practical exercise, let’s create a simple content slider. we’re not going to limit ourselves to images either; we’ll create a slider that can display any type of content.

1:39:50 15. image lightbox
in this exercise we’ll create a very simple image lightbox. a lightbox is usually an overlay that shows a much bigger version of a thumbnail.

1:44:02 16. tab control
the “tab control” is a very common pattern, so let’s see how it’s done in this final exercise lesson.

1:46:43 17. final words
hopefully by now you’ll have a better understanding of what you can do with javascript from a web design point of view.

envato tuts+
discover free how-to tutorials and online courses. design a logo, create a website, build an app, or learn a new skill:

subscribe to envato tuts+ on youtube:
follow envato tuts+ on twitter:
follow envato tuts+ on facebook:

envato elements
all the creative assets you need under one subscription. customize your project by adding unique photos, fonts, graphics, and themes.
download unlimited stock photos, fonts & templates with envato elements:

javascript for web designers