JavaScript for Web Designers
July 18, 2024 2024-07-18 0:31JavaScript 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: https://github.com/tutsplus/javascript-for-web-designers
If this course inspires you to learn JavaScript for web development, check out our comprehensive guide: https://code.tutsplus.com/series/learn-javascript-the-complete-guide–cms-1112?utm_campaign=yt_tutsplus_ResWVWI333o&utm_medium=referral&utm_source=youtube.com&utm_content=description
Chapters
00:00:00 Introduction: JavaScript for Web Designers
00:00:27 1. Working With JavaScript
If you’re not yet familiar with JavaScript, let’s run through a quick intro.
00:04: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.
00:09:07 3. Data Types
In this lesson, you’ll learn about the available “data types” in JavaScript.
00:13:17 4. Arrays
Let’s learn about the first “composite” data type in JavaScript: arrays.
00:20:04 5. Objects
Understanding “objects” in JavaScript starts with an understanding of “properties”. Here you’ll learn about both of these concepts.
00:25:25 6. Operators
Let’s learn about operators and the various types thereof. We’ll begin with “arithmetic” operators.
00: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.
00: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.
00: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.
00: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.
00: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.
01: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.
01:17:11 13. Textbox Auto Completion
You’ll learn how to create a textbox that supports auto-completion.
01: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.
01: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.
01: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.
01: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: https://tutsplus.com/?utm_campaign=yt_tutsplus_ResWVWI333o&utm_medium=referral&utm_source=youtube.com&utm_content=description
► Subscribe to Envato Tuts+ on YouTube: https://www.youtube.com/tutsplus
► Follow Envato Tuts+ on Twitter: https://twitter.com/tutsplus
► Follow Envato Tuts+ on Facebook: https://www.facebook.com/tutsplus
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: https://elements.envato.com/?utm_campaign=yt_tutsplus_ResWVWI333o&utm_medium=referral&utm_source=youtube.com&utm_content=description
source
Comments (30)
@4Mulator
Please do an updated version of this!
@HaifengZhu-pn3uq
good tutorial
@alasdeeali5117
OMG..I need some one to translate it into arabic😢.
@vishh47
to the point and most accurate tutorial i ever seen on js , tq sir ❤
@denisdezest9599
Super useful and great pedagogy as usual 👍👍👍
You helped me found a new vocational path.
Thank you so much for all your educational videos!
So grateful to you Adi 🙏
@littlegirllost2654
Got it working then I added some svg animation and it broke. I took everything apart but can’t get it back
Lord only knows what I’ve done
@blueflower8214
What is a frammwork ?
@Mr.G626
I like this man's style. Excellent tutorials!
@PrettyLittleTee
I've learnt so much!
@sundarapandim1104
kindly guide me or post a video about "How to connect my HTML File to Custom Domain" and host it in server…i saw in youtube channel..but one one posted video about it..plz post video rregarding this…i am now creating website by using HTML & CSS and java script a simple website by watching youtube and learning and creating…just now purchased domain and hosting….but i dont know how to connect it…html and css created web file with domain and servber…plz guide me….
@unpaired-electron
thank you for such an amazing video. I am a beginner in learning javascript and was confused where to start from. This video gives an awesome idea of Javascript programming.
@Neil_09
Thanks anthony
@aaryanganglas
i will recommend if you see this comment , to watch the video in 1.25x play speed cause it feels bit sluggish though superb video
@bahareveramehrpour7688
thank you very much, a very helpful video as always
@shreyasnair02
Great tutorial.
One observation, there is a bug in your input autocomplete logic, with regards to the cursor variable going out of bounds
@johannes00255
For the back to top button, what’s the difference with using an anchor link with id top?
@amirhosseinsediqi5867
cool tutorial😍😍
@nicolaslopezbidone8591
Great tutorial, you're awesome man!
@aka_slendy
the first JavaScript tutorial that
1. didn't just jump into stuff so quickly I felt overwhelmed
2. didn't make me do math right off the bat so i felt like walking away
3. explained things simply enough that i wanted to continue but also showed me the value in each thing i was learning enough that i wanted to keep going for more advanced items
@catherinevalencia5112
Is this updated up untill now?
@abdulhaphyz
Most relevant JS tutorial , bin searching the internet for something like this… finallyy!!!!
@jonnyelbert6772
legit shop tools to get cc in yt leakfullz,
@jerade312
grateful for this. my Back to Top button worked without adding the last block of code. should I add the last block of code?
@shepardkmunyaradzi3081
Your Lessons are straight forward , very applicable , i learned a lot .Thank you
@mahmudun-nabisaikat
Awesome . Thanks for sharing this tutorial with us .
@shajjadmondol457
Good video
@ThePr0Br0
Everything makes perfect sense until he started on the examples i'm so lost
@mdalamin7079
Wow 💓💓💓
@magicmermaidasmr
It’s really good tutorial, so calm and we can understand easily!!
@Enigmata23
Thank you for this. Really amazing