JavaScript Practice: Changing Circles

Today I was working through Udemy’s Complete Web Developer Course (thanks Women Who Code!) and wanted to challenge myself with some basic JavaScript code beyond what Rob Percival was challenging in Lesson 84.

Here is my own mini challenge on JSFiddle:

//jsfiddle.net/2y4z18L3/1/embed/

In short, I wanted to click a circle, make it disappear and have another circle reappear. Pretty basic, right? Well, it was a pretty big step for someone who hasn’t gone far beyond markup language and styling. It was a bit like an Ah-ha! moment. As a side note, I think I would have found this challenge easier to accomplish with jQuery. However, I’m determined to master JavaScript, regardless of its complexities.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s