Discover Blog


Discover

What is fetch()

What exactly is fetch() and how does it work? The fetch function’s job is to retrieve data. Inside the parentheses, you must pass an argument that takes a string representing the URL to the data source. Ok .then I’ll tell the messenger called promise to return my data into JavaScript Object Notation (JSON) form using the .json() helper method, so javaScript knows how to read it and turn it into objects. You do just that and promise gives you something to keep you occupied while he gets information. When he comes back, he .then hands over some objects to the guy sitting next to you. This guy decided to put it in a folder. The guy sitting next to you is promise’s younger brother promise, Huh, What parent names their 2 boys promise?! You know what, let me just go ahead and grab the objects promise NUMBER 2 left in the folder and iterate through it because it’s mine now.


My ZapChat Project

by Kizito Njoku


My SimoneSays Project

Let just start by saying this project was pretty fun, all the step I have taken worked pretty well. Taking one step at a time was the best way to approach it. First, create the backend and generate the necessary rails class. Second, create the frontEnd, this contains HTML, CSS, and javaScript files. Last, in the javaScript files make all the necessary iterations.


Essential Skills For Programming

Through Flatiron School, I have achieved a few major skills I believe are essential for success in the programming world. The First major skill I pickup was how to debug your code. Second, was iterating and improving on it. And third, was how to find the resources you need to get past the wall. These are all the skills I believe are essential in breaking through any obstacle in the programming field.


My Rails Project

Airlines