Blog Post 207

Giles Adkins
1 min readMar 8, 2021

Write about something you learned this week.

I learned about extensions and apis.

Why would you use something like the load event? Does this event have disadvantages? Do you know any alternatives, and why would you use those?

The load event is triggered with the entire page has finished loading. This could be used to have your code wait to start to prevent bugs related to the dom.

What are the advantages and disadvantages of using Ajax?

Ajax is fast and efficient. Fetching is more complicated with it though.

Explain how JSONP works (and how it’s not really Ajax).

jsonp skips some steps that a regular fetch call would have to go through. Using get and a call back the data is converted to json with one less step.

Explain Ajax in as much detail as possible.

It is a tool that allows a webpage to have some data load asynchronously. That way the rest of the page can load and wait for the data.

What does it mean when we talk about time complexity of an algorithm?

The time complexity of an algorithm is how long it will take for an algorithm to finish. This is based on how efficiently the algorithm can work with the particular data.

How do you see yourself growing as a web developer?

I have learned so much as a web developer. My ability to take on new concepts has grown as my confidence has grown. I feel very optimistic about the future.

--

--