
Just another #dev Occasionally writes tutorials.
Earth, Milky Way Galaxy
Joined August 2016
- Tweets383
- Following823
- Followers245
- Likes627
#Beginners guide on automating the web using #javascript, from the comfort of your browser.
#webdev
Automate the Web — Basics link.medium.com/4CdBwz5Mqcb
I'm getting back into writing, and I suppose I should get back into tweeting... 😅
"#CSS Shorts: Spoilers and Hidden Content" #DEVCommunity dev.to/learn2dev/css-shorts-…
CodeDraken retweeted
It's gonna be a challenge but I'm committing to #100DaysOfGatsby from Jan 1st 2020.
Anyone want to join me?
#100DaysOfCode
The 2nd tutorial of my canvas/game dev series is out now. The 1st tutorial was about drawing shapes and getting used to how the canvas works; this one focuses on the parts of an animation.
"Creating a Bouncing Ball Animation Using JavaScript and Canvas"
link.medium.com/KyhnZbMhw2
CodeDraken retweeted
What's the hardest part about learning how to build a React App for the first time?
RT for reach!
CodeDraken retweeted
freeCodeCamp will offer 4 new Python certifications in 2020:
⚗️Scientific Computing
💾Data Analysis
🔒Information Security
🤖Machine Learning
And that's not all. We're working on lots of other exciting curriculum upgrades.
freecodecamp.org/news/python…
The first part of my HTML5/JavaScript game development series is out now. It still needs some refining but I'm excited to begin working on the next project-based tutorials. 😄
"Drawing on an HTML5 Canvas using JavaScript"
medium.com/p/creating-and-dr…
#javascript #gamedev #tutorial
What does this #javascript code output? #100DaysOfCode
A) 5, 99
B) 5, 10
C) Uncaught SyntaxError: Identifier 'y' has already been declared
D) Uncaught SyntaxError: Unexpected token '{'
CodeDraken retweeted
🔥 Here is a neat one! Since arrays are objects, we can destructure their indexes to easily grab the first and last items.
People making worthwhile contributions to open-source for #Hacktoberfest #hacktoberfest2019 😂🤦♀️
CodeDraken retweeted
Another (somewhat related) pop quiz:
var x = { ...false };
Error, or works? If works, contents of x? How?
CodeDraken retweeted
Pop quiz:
var x = new Boolean(true);
var y = new Boolean(false);
How do you turn `x` and `y` into their respective primitive boolean equivalents (true and false)?
A cool and unique tutorial on making a game with vanilla JavaScript:
"Design and Make a Video Game"
youtu.be/xI7BI30rpRw via @YouTube by @NewThinkTank
What does this code log to the console in #javascript?
```
'use strict'
const deepObj = {
name: 'Deep Object',
logThis() {
function logThisInside() {
console.log(this)
}
logThisInside()
}
}
deepObj.logThis()
```
#100DaysOfCode #webdev #CodeNewbie
28%A. undefined
25%B. Window / Global Object
21%C. function logThis
26%D. deepObj {name,logThis}
53 votes • Final resultsThe Answer (spoilers):
A. `undefined`
1. It's not B the global object because strict-mode is enabled.
2. JS does not set `this` to a function by itself so it's not C.
3. `logThisInside` was called directly and not as a method, `this` does not point to an object, it's not D.
If you're interested in more examples of `this` in JavaScript and want to learn more about it then check out my tutorial on it. Feedback is appreciated. 😄
codeburst.io/the-simple-guid…








