5results with tags matching " learning JavaScript"


Learning React ES6: Working With Arrays in JSX

Last lesson was dealing with arrays in React ES6. Arrays are supported in JSX. Arrays are created like usual [1,2,3], the array is captured but not rendered on the screen. In order for the array to render on the screen, it has to be wrapped in curly braces like other Javascript expressions {[1,2,3]}. The output […]

Read More





Learning React ES6: Events, Attributes, and Data Mining

Today’s lesson was about creating listening events using special attributes and data mining for JSX. I have created buttons to click, for increment and decrement. It all started with creating arrow functions using const addOne= () => { count++;}, then creating html buttons <button>+1</button>. That’s not all! The buttons must have the onClick attribute and […]

Read More



Learning React ES6: Arrow Functions and Using ‘This’ Keyword

Today I got to learn how to use arrow functions in React ES6. From what I realized it that they are a much shorter syntax and typically simplifies the function scope making the `this` keyword more understandable. In ES5, the function scope was written like this: function square (x) { return x * x; }; […]

Read More



My Experience With JavaScript

JavaScript was created by Brendan Fich in May 1995. It was the first programming language that was taught in my co-hort at General Assembly. The syntax is very easy to understand. Basically what I was working with was strings, integers, and booleans. Then there was creating variables using var=’x’. One assignment I had to colorize […]

Read More