Build Something Cool! And Share!

30.05.2016 |

by Rich Armstrong


Just like you can add external CSS files in your HTML files, so too can you add external JavaScript files! Instead of writing all your JavaScript between the <script></script> tags, save your code in a separate JavaScript file, like script.js, and reference it like this: <script src="script.js"></script>. Now you can keep your JavaScript, HTML, and CSS separate—which, most of the time, is a good thing.

If you have any issues that you can’t seem to get your head around, Google the error or spend some time debugging! Look for what works and what doesn’t. Try to isolate where the bug is coming from. I don’t think there’s a single error or bug I’ve come across that someone on Stack Overflow hasn’t already answered. Fixing your own mistakes and bugs leads to understanding, so go down that road, understand it, and debug! You’ll only become a great developer if you can debug, because even the best developers make mistakes—they just know how to find them and fix them. :)

Now it’s your turn to build something cool, and fun, and awesome. Or just test things out, mess around, and geek out. Use JS Fiddle or Code Pen for shorter snippets. Use Github and Github pages to publish bigger projects and sites. Also, Surge is a really cool tool for publishing static front-end sites with the command line (I like those most). If you feel like showing off, bragging, or asking questions, tweet at me! I’m @mr_r_a on Twitter. I’d love to see what you’ve made, and I’ll gladly share your projects with my Twitter world.

We’ve covered a lot of the basics in these past few days. There are, of course, so many things we haven’t had time to cover. There’s just so much more! If you’ve enjoyed JavaScript, continue to practice for 10 minutes every day. Do some more courses, read some books, read some blogs, and browse Stack Overflow.

I’ve got a new course called Yellowbelt JavaScript launching in July 2016! If you’re interested, sign up for updates. Also, I have a few classes on Skillshare that you should check out:

Launch a Rocket: Learn JavaScript Basics the Fun Way!
Get Your Game On! Make Your Own Emoji Snap with HTML, CSS, and JavaScript!
Learn jQuery: A Fun and Simple Introduction!
Hand-Coding Your First Website: HTML and CSS Basics

I’ve loved writing this email class, and I hope you’ve enjoyed reading it and learning JavaScript! Keep in touch :) and happy learning!

– Rich Armstrong
Freelance Product Designer


Recommended book

“JavaScript Patterns” by Stoyan Stefanov


Share with friends