When I choose the path to become an early childhood educator, all I could think about was the impact I could make in child’s life. Teaching preschool is very different from teaching older grades. Once a child reaches kindergarten the focus becomes academic. The soft skills, such as learning to deal with conflicts, frustration, making plans and following through, taking turns, and making friends are rarely taught in kindergarten and often not supported. …
For the project I am currently working on I used Charles Proxy to monitor my HTTP requests. Charles is described on their website as:
Charles is a web proxy (HTTP Proxy / HTTP Monitor) that runs on your own computer. Your web browser (or any other Internet application) is then configured to access the Internet through Charles, and Charles is then able to record and display for you all of the data that is sent and received.
In other words, proxy server is a middleman that sits between the client and the primary server.
AddEventListener() and onclick both listen for an event. Both can execute a callback function, when a button is clicked. However, they are not the same. Below is a brief explanation of each one to help you figure out which one to use.
The main difference is that onclick is just a property. Like all object properties, you may have one inline event assigned. If you write more than once, it will be overwritten.
btn.onclick = () => console.log('button clicked');
addEventListener() on the other hand, can have multiple event handlers applied to the same element. …
Adding Google Maps API into my application was probably one of the easiest things I’ve done and it was so much fun. Below are the steps to take in order to integrate Google Maps into your Rails app.
Assuming you have already created a new rails app, have MVC set up, your migrations, your seed data, and now you are looking to add a map and a pin or marker for a specific location in your app.
The next thing you need to do is to get an API key: Get Your API Key Here.
Google offers a variety of…
What are data types?
Data types in programming are a classification that specifies the type of data a variable can hold and what type of logical operations can be applied to them
Being new to programming, one of my biggest challenges was understanding which data type I was working with, and how to extract values when the data type was not so simple.
In this post I want to touch on more complex data structures, and how I became more mindful of understanding how to properly read the outcome of what my inputs were. …