My Journey Of Learning Programming Through Flatiron School #42

My name is Mason Ellwood, and I’m currently working on Flatiron School’s Online Full Stack Web Development Program . Each week, I’ll be writing about my experience, what I’m learning, and tips on learning to code.

So as you all know I finally started learning Javascript! Which is amazing and has helped me out at work immensely. But like all things that you begin to learn for the first time, it becomes a real pain in the butt until you slowly grasp how everything fits together. But I have been amazed at how quickly those pieces are fitting together once I grasped my first OO programming language. How all these pieces fit together and everything is connected in a sense to complete a task.

My time that I have to spend through The Flatiron School so far has taught me to think of things in a different way. How to think of things at a larger scale to complete a task and bring that skill in a tangible form to the workplace.

So for this first lesson, I will give a brief overview of Javascript and we will go through what I have learned together as I am going over it. So you can better understand how I have gone from writing zero Javascript to hopefully being proficient in the language.

As you probably already know, Javascript is the universally accepted language of the internet. As far as a developer standard you should know how to use it.

JavaScript is a dynamic, untyped, and interpreted programming language; it is prototype-based and supports both object-oriented and functional approaches. ” – The Flatiron School

If you have never written any Javascript go ahead and open up your console and we will try it out together. To open up the console simple right-click anywhere on this screen and select Inspect. Go to the top of the dialogue box and select Console. This area that you are now it is considered a sandbox. If you are using a mac press Command + K and it will clear the screen for you.

In this sandbox environment, you are now able to write and execute code directly in this environment. If you have been following along in my previous posts this is very similar to the IRB environment. A sandbox if you think of like a sandbox, it is an open area where you can do or make anything you can think of, with some limitations.

Remember how we could play in sandboxes as kids: building castles, moats, and shaping an entire world without worrying about the consequences outside of that world? In programming, sandboxes work the same way: they’re environments that we have complete control over, but whose contents don’t spill into the outside world.) ” – The Flatiron School

Inside this Sandbox environment type alert(“Hello World”); And check out the response. You should be given the response below.

This should give you a popup window that prints out the information added to the screen.

Congratulations you have officially written your first lines of Javascript!

A large part of programming is experimentation — we come up with a hypothesis (how we think something should work) and test it with code. ” – The Flatiron School

Javascript is a means of completing a task, and with you as the developer thinking about how things should be done without a clear picture to how it should be done. There are endless possibilities to doing the same thing with Javascript, but it is your job as the developer to chose that path.


Scroll position in a table body I want to implement infinite scrolling (with an AJAX-based loader) in an HTML table body. My HTML looks something like this: Column ...
Ng-repeat generates an error when defining the col... I'm having some problem when I use the plugin alert inside a ng-repeat that is inside other ng-repeat. I have a screen where I have to select a cate...
Inheritance and Extending Objects With JavaScript If you are familiar with object-oriented programming, you are most likely familiar with subclassing and inheritance. However, inheritance ha...
使用node中fs模块创建和删除文件夹 假如我们要创建这样一个文件夹‘a/d/c/d/e’ 同步创建文件夹 let fs = require('fs'); function makep(dir) { let paths = dir.split('/'); for(let i =1;i
Data Structures in JS. Part 2: Double Linked Lists This is the second part of a series about Data Structures in JS. The following list resumes all parts: Part 1 (Hash Tables) Part 2 (Dou...
Web Design Ledger责编内容来自:Web Design Ledger (源链) | 更多关于

本站遵循[CC BY-NC-SA 4.0]。如您有版权、意见投诉等问题,请通过eMail联系我们处理。
酷辣虫 » My Journey Of Learning Programming Through Flatiron School #42

专业 x 专注 x 聚合 x 分享 CC BY-NC-SA 4.0

使用声明 | 英豪名录