#javascript
Latest Posts
Taking a look at jQuery's performance
Taking a look at jQuery's performance

jQuery is a great JavaScript library for getting things done quickly without having to put too much thought into how you're going to be doing it. Getting DOM elements is a streamlined process, and chaining functions together makes for a non-stop coding session that can last minutes. But that doesn't come without some cost to performance. Remember, jQuery is based on JavaScript, which means that JavaScript will always be faster in every respect of the way.

Continue reading
What is the best way to check for an empty string in JavaScript
What is the best way to check for an empty string in JavaScript

A student recently asked me what the best way to check for an empty string in JavaScript was. I answered in the best way that I knew how and gave various methods that check for empty strings, such as checking for the value and checking the length of the variable. This left me wondering for some time after our conversation how accurate I was with my answer. And while usually code is left to subjectivity many a time, there must be one method that leans more towards the best practice or at least to improved performance.

Continue reading
How to add sorting to any table in JavaScript
How to add sorting to any table in JavaScript

And you never thought that algorithm class from college was going to pay off. In this post I'll be going over how to add the ability to sort to any table in JavaScript. All you will need to do is to add the sorting class to the specified table that you wish to add sorting to and then watch the magic happen.

Continue reading
A Quick Guide To JavaScript Touch Events
A Quick Guide To JavaScript Touch Events

This post won't make much sense unless you have a touchscreen!

Touch events have been around for some time now, and I feel they are not being used enough on mobile versions of sites. From swiping to scrolling to manipulating DOM elements, they are incredibly easy to implement and can definitely take us away from the traditional route of just vertical scrolling and button clicks that we default to today.

Continue reading
Building Tetris In JavaScript Part 2
Building Tetris In JavaScript Part 2

Welcome to part 2 in this building Tetris tutorial. If you missed part 1, feel free to check it out here. In this second part, we'll be finishing up the project by adding collision detection to each Tetris shape, generating new blocks, rotations and detecting when rows have been filled and collapsed.

Continue reading
Coding Tetris In JavaScript Part 1
Coding Tetris In JavaScript Part 1

Tetris is one of the first games that many of us played as a youth. It's fun and challenging and a level can take you from anywhere to a minute to forever if you so play your cards right. So in honor of the game, in this blog post, we'll go over how to build a Tetris clone in JavaScript without using any 3rd party libraries. Just plain old vanilla JavaScript and CSS.

Continue reading
Google Maps and Markers 101
Google Maps and Markers 101

There is no better way to share a location than with a map and a marker on it. The universal indicator of map based location in this and age. So today let's go over how to generate a map on your website using the Google Map JavaScript API, and how to add markers wherever you wish to mark your place.

Continue reading
How To Code Blackjack Using JavaScript
9
How To Code Blackjack Using JavaScript
How To Code Blackjack Using JavaScript

Today I will be building a small BlackJack game in pure JavaScript in the hopes that you out there reading this can use it as a frame to build something much bigger. And if you're a beginner in the programming world, than perhaps this tutorial will help you get a much better idea of how function, objects and DOM manipulation works in JS.

Continue reading
How To Create A Rain Effect Using Crafty.js
How To Create A Rain Effect Using Crafty.js

In this post I will cover how to create a rain effect using the JavaScript game engine, Crafty.js, for a 2D side-scroller type of game. If you're new to Crafty, then feel free to check out my previous posts in which I cover the framework from a beginner's perspective.

Continue reading
Play My Classic Snake Game
1
Play My Classic Snake Game
Play My Classic Snake Game

On this rainy day in Los Angeles, stay home, drink too much coffee and enjoy a classic game from our teen years (maybe). I coded this snake game clone some time ago, and still find myself coming back to it from time to time. It isn't finalized just yet, but it is for sure challenging and it is playable.

Continue reading
Load older
Guest Posts
creating your own it crowd
creating your own it crowd

“Have you tried turning it off and on again?” Thus goes the punchline of one of Britain’s most entertaining and often surreal sitcoms of the 21st century, The IT Crowd. But while the zany antics of Moss, Roy and Jen may belong squarely in the realm of fiction (and rarely have much, if anything at all to do with IT) they do capture what it’s like to work in IT support in broad terms every now and then. There’s a whole lot more to IT support than asking people if they’ve tried rebooting their thin client (although you will likely do it at least once). If you have entrepreneurial ambitions you may come straight out the gate wanting to start your own IT crowd, delivering bespoke IT and communications systems to small businesses and making the world a better place one query at a time.

Read more
3 ways to start a freelance career with programming
3 ways to start a freelance career with programming
3 Ways To Start A Freelance Career With Programming

Want to make money with your programming skills but don’t want to work for someone else? There are many ways in which you can go freelance as a programmer and be your own boss. Here are just three options to consider.

Read more
minigame: adding interactivity to a new website
minigame: adding interactivity to a new website
Minigame: Adding Interactivity To A New Website

Being able to keep your users hooked on your site for as long as possible is very important in modern business. The more they shop around your website, the more likely they will be to spend money, but achieve this goal can feel impossible. One of the best ways to do it is through interactivity. By providing a user with a game to play on your website, you will keep their attention for a long time. To help you out with this, this post will be exploring the process of building your own web-based game.

Read more
tips on making your work set-up more ergonomic
tips on making your work set-up more ergonomic
Tips On Making Your Work Set-Up More Ergonomic

Unless you have been living under a rock for the past few years, you will have heard about the term ‘ergonomics’ in regards to our work and office set-ups. This is all about designing a workspace so that it suits you and the tasks you are carrying out, benefiting your health in the process. With that being said, read on to discover some useful tips on making your work set-up more ergonomic.

Read more
the art of becoming a self-taught financial guru
the art of becoming a self-taught financial guru

If there is one thing that is worth understanding in more detail which is going to help you out in a big way in the future, it is finances. Unfortunately, many people simply don’t put in the required amount of effort to understand issues like investing, debt, savings etc.

Read more
break a leg: how to get started in the healthcare sector
break a leg: how to get started in the healthcare sector
Break A Leg: How To Get Started In The Healthcare Sector

Year after year, thousands of students graduate medical school one goal: become a doctor. Grad school is one element of the role, and the rest is yet to come. Are you ready for blood, guts and tears? You better be or else your career is going to circle the drain quite quickly.

Read more

About Me

Walter Guevara
Walter G.
Walter G. is a software engineer with over 10 years of professional experience. When he isn't blogging or being a CTO he enjoys coding randomly complex things that he hopes many people will get a chance to use one day.
Podcast

Snake High Scores

"sometimes you have to delete, to find your answer"
Copyright © 2018 thatsoftwaredude.com
humans.txt
Start
Score: 0
snake left
snake up
snake down
snake right