<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by David Rios on Medium]]></title>
        <description><![CDATA[Stories by David Rios on Medium]]></description>
        <link>https://medium.com/@davidriosdoeswork?source=rss-6ab1942f2542------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*wXNG1GCde9-c2qy8</url>
            <title>Stories by David Rios on Medium</title>
            <link>https://medium.com/@davidriosdoeswork?source=rss-6ab1942f2542------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 20 Nov 2026 13:18:50 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@davidriosdoeswork/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Blog Class 16]]></title>
            <link>https://medium.com/@davidriosdoeswork/blog-class-16-b1469b1ae165?source=rss-6ab1942f2542------2</link>
            <guid isPermaLink="false">https://medium.com/p/b1469b1ae165</guid>
            <category><![CDATA[austin-coding-academy]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[lubbock-coding-academy]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[David Rios]]></dc:creator>
            <pubDate>Tue, 11 Apr 2023 16:42:53 GMT</pubDate>
            <atom:updated>2023-04-11T16:42:53.985Z</atom:updated>
            <content:encoded><![CDATA[<ol><li>Can you explain the purpose of each type of HTTP Request when using a RESTful web service?</li></ol><p>GET: Is used to retrieve information</p><p>POST: Is used to send information</p><p>PUT: Is used to update existing information</p><p>DELETE: Is used to delete information</p><p>2. What’s a test pyramid? How can you implement it when talking about HTTP APIs?</p><p>A test pyramid is a way of testing that is separate into three layers. Unit tests, integration tests, and end-to-end tests. You can implement this when using HTTP API’s by using unit tests to test api endpoints. Then you can use integration test the different compenents and how they interact with eachother. Finally, using end-to-end tests, you can test the entire HTTP API and how it does with fake users interacting with it.</p><p>3. What is the “demultiplexer”?</p><p>The demultiplexer is a circuit that separates a signal into individual parts.</p><p>4. What’s the difference between “blocking” and ‘non-blocking’ functions?</p><p>The difference between blocking and non-blocking functions is that blocking functions will stop all other code from running until it is done running, while non-blocking functions will keep the program running while it’s running.</p><p>5. What are the main security implementations within NodeJS?</p><p>Some main security implementations within NodeJS is input validation, which checks the user input to make sure it is nothing malicous like sql injections. Another main security implementaion is authentication, which makes sure the user is who they say they are and they only have access to the information they are allowed to have.</p><p>6. Explain the “path” module in NodeJS.</p><p>The path module allows you to work with other file paths and directories.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=b1469b1ae165" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Blog Class 10]]></title>
            <link>https://medium.com/@davidriosdoeswork/blog-class-10-3c9e2a0bca8a?source=rss-6ab1942f2542------2</link>
            <guid isPermaLink="false">https://medium.com/p/3c9e2a0bca8a</guid>
            <category><![CDATA[lubbock-coding-academy]]></category>
            <category><![CDATA[austin-coding-academy]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[David Rios]]></dc:creator>
            <pubDate>Mon, 03 Apr 2023 05:08:20 GMT</pubDate>
            <atom:updated>2023-04-03T05:08:20.436Z</atom:updated>
            <content:encoded><![CDATA[<ol><li>How does Node.js handle child threads?</li></ol><p>Node.js handles child threads through a module called child_process.</p><p>2. How can you listen on port 80 with Node?</p><p>You can listen to port 80 with node with the code below.</p><pre>const port = 80<br><br>app.listen(port, () =&gt; {<br> console.log(`Web server is listening on port ${port}!`);<br>});</pre><p>3. What tools can be used to assure consistent style?</p><p>One tool that can be used to assure consistent style is using the prettier extension. It helps to keep all code formatted to your preferences.</p><p>4. List out the differences between AngularJS and NodeJS.</p><p>One difference is that AngularJS is a front-end framework while NodeJS is a JS runtime environment. The main uses for these also vary with AngularJS used for building dynamic web applications while node is used for building high-performance web applications and API’s. The learning curve for these differ as well with NodeJS being easy to learn and beginner friendly while AngularJS takes a lot more practice to learn its more complex and advanced features.</p><p>5. What are the advantages of NodeJS?</p><p>NodeJS is a very popular JS runtime environment. Because of this, one of the main advantages is that it has a large and active community of developers. Another advantage it has is that its relatively easy to learn. Along with this, it also has fast performance and is highly scalable.</p><p>6. What is meant by JSON?</p><p>JSON stands for JavaScript Object Notation and uses a key-value pair system to represent data. This makes it easy for computers and us to read.</p><p>7. Discuss your understanding of Agile so far.</p><p>I know that Agile is an approach to developing software where you develop small portions at a time with less of a focus on UI to get feedback to be able to quickly make changes.</p><p>8. How is scrum different from waterfall?</p><p>Scrum is different from waterfall because it develops software in small iterations while waterfall develops in stages. This leads to Scrum being very flexible while waterfall is not.</p><p>9. What are the Three Amigos in Scrum?</p><p>The Three Amigos is an approach in Scrum that makes sure everyone in the project understands the development of the project and the issues that need to be solved.</p><p>10. What is the “timeboxing” of a scrum process called? Describe, please.</p><p>The timeboxing of a scrum is called a sprint. Sprints are broken up pieces of a project to more manageable small pieces and typically have a deadline of around a month and are assigned to small teams.</p><p>11. What are the roles of a scrum master and product owner?</p><p>The roles of the product owner are to specify the project and requirements while the roles of a scrum master is to keep all the teams organized and make sure they are on the right track.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3c9e2a0bca8a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Blog Class 6]]></title>
            <link>https://medium.com/@davidriosdoeswork/blog-class-6-f7381c1d89f4?source=rss-6ab1942f2542------2</link>
            <guid isPermaLink="false">https://medium.com/p/f7381c1d89f4</guid>
            <category><![CDATA[austin-coding-academy]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[lubbock-coding-academy]]></category>
            <dc:creator><![CDATA[David Rios]]></dc:creator>
            <pubDate>Sun, 26 Mar 2023 17:40:49 GMT</pubDate>
            <atom:updated>2023-03-26T17:40:49.005Z</atom:updated>
            <content:encoded><![CDATA[<ol><li>If a user attempts to create a resource that already exists — for example, an email address that’s already registered — what HTTP status code would you return?</li></ol><p>The HTTPS status code you would return is 409 conflict.</p><p>2. Consider a responsive site design that requires a full-width image in all responsive states. What would be the correct way to code this to ensure the page loads the smallest image required to fill the space?</p><p>The correct way to use this would be to use vw (viewport width), to ensure that the image stays responsive in all sizes that the site is displayed in.</p><p>3. When should you npm and when should you yarn?</p><p>You should use yarn if your project has lots of dependencies or you have to work offline, but if you are familiar and comfortable with npm, you should stick with it.</p><p>4. How can you make sure your dependencies are safe?</p><p>You can keep your dependencies safe by using a package-lock file. This ensures that everyone who works on that project is using the same dependencies and versions installed.</p><p>5. What are the differences between CHAR and VARCHAR data types (MySQL)?</p><p>The difference between CHAR and VARCHAR is that CHAR is used to store variables with a fixed length while VARCHAR is used to store variables with varying lengths. Another difference is that CHAR performs faster than VARCHAR because it’s a lot easier for the computer to sort through data that has a fixed length.</p><p>6. How else can the JavaScript code below be written using Node.Js to produce the same output?</p><pre>console.log(&quot;first&quot;);<br>    setTimeout(function() {<br>        console.log(&quot;second&quot;);<br>    }, 0);<br>    console.log(&quot;third&quot;);<br><br>    // Output:<br><br>    // first<br>    // third<br>    // second</pre><pre>console.log(&quot;first&quot;);<br>console.log(&quot;third&quot;);<br>console.log(&quot;second&quot;);</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f7381c1d89f4" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Blog Class 4]]></title>
            <link>https://medium.com/@davidriosdoeswork/blog-class-four-3993500b268d?source=rss-6ab1942f2542------2</link>
            <guid isPermaLink="false">https://medium.com/p/3993500b268d</guid>
            <category><![CDATA[lubbock-coding-academy]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[austin-coding-academy]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[David Rios]]></dc:creator>
            <pubDate>Tue, 14 Mar 2023 13:53:51 GMT</pubDate>
            <atom:updated>2023-04-02T15:49:05.920Z</atom:updated>
            <content:encoded><![CDATA[<ol><li>What do you find challenging about coding?</li></ol><p>The thing I find challenging about coding is how many solutions there are to a problem and that every problem can be very unique. It makes it hard to find the answer to your particular circumstances at times with so much information available.</p><p>2. Talk about a project that disappointed you. What would you change?</p><p>A project that disappointed me was the salon website. I spent so much time on the home page and didn’t have enough time to put the same amount of effort into the rest of the pages making it look very rushed. In the future if I were to do a similar project, I would make the focus on managing my time more efficiently.</p><p>3. List three key things to consider when coding with SEO in mind.</p><p>One key thing to consider with SEO in mind is how responsive your website is with all devices. If your website can’t look right on phones, then your traffic decreases signifigantly. Another key thing to consider is how your website actually looks. If it’s not appealing and the content is not better then competing websites, why would the user stick to yours. The last key thing to consider is how fast your website is. No user wants to sit around waiting for a page to load.</p><p>4. List five or more ways you could optimize a website to be as efficient and scalable as possible.</p><ul><li>Less lines of code. Make your code more efficient by taking out what you don’t need and finding ways to make your functions work with less code.</li><li>-Reduce the amount of HTTP requests. The more you have, the slower your website loads.</li><li>-Choose the best hosting service.</li><li>-Enable browser caching. This stores the website data to your storage so when you load up the page, a https request is no longer needed</li><li>-Less plugins. For every plugin you have, that just means another request to a server is necesarry to get the data for them. The less plugins the better.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3993500b268d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Blog Class 2]]></title>
            <link>https://medium.com/@davidriosdoeswork/blog-class-2-658f3dc7ca2d?source=rss-6ab1942f2542------2</link>
            <guid isPermaLink="false">https://medium.com/p/658f3dc7ca2d</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[lubbock-coding-academy]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[austin-coding-academy]]></category>
            <dc:creator><![CDATA[David Rios]]></dc:creator>
            <pubDate>Tue, 14 Mar 2023 13:38:10 GMT</pubDate>
            <atom:updated>2023-03-14T13:38:10.123Z</atom:updated>
            <content:encoded><![CDATA[<ol><li>How do you organize your code? What are some suggestions you find on the web?</li></ol><p>I organize my code by functionality. So I will have one area that focuses on one specific thing and another area focusing another function that it’s supposed to perform. Some thoughts I found on the web for code organization is that it is not for the computer to better understand but for people who might be coding with you or even yourself.</p><p>2. Can you describe your workflow when you create a web page or web app?</p><p>The first thing I do when I design a web page or web app is get a rough outline of what is needed for the project. Then I’ll think the process through my head and make a todo list of things I will need to complete in order. After that, it’s just coding with a lot of trial and error.</p><p>3. You can’t work out how to solve a coding problem, where do you find the answer? Why? How do you know?</p><p>If I can’t solve a coding problem, I find the answer by looking it up and using lots of different sources. I’ll know when I found the solution when I implement all the different strategies I found and find one that works in my particular case.</p><p>4. What problems have you solved that didn’t involve you coding?</p><p>A big problem I had before coding was not giving it my all. Even in the start of this course I would do the bare minimum just to get by and be able to do the least amount of work possible. But now I realize that if I really want to succeed, I have to push myself and do beyond what is needed for a project. Another problem I have is procrastination but I’m still working on that one.</p><p>5. Talk about your preferred development environment. (What IDE or text editor you enjoy, and why?)</p><p>My preferred development environment is Visual Studio Code. It is definitely the most popular out of any IDE. It’s my preferred since it’s very easy to use and widely supported with extensions that make coding a lot easier.</p><p>6. How are you keeping up with the latest developments in web development?</p><p>I keep up with the latest developments in web development by watching a lot of youtubers who focus on sharing the latest information.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=658f3dc7ca2d" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Blog 208]]></title>
            <link>https://medium.com/@davidriosdoeswork/blog-208-56dfe54e433?source=rss-6ab1942f2542------2</link>
            <guid isPermaLink="false">https://medium.com/p/56dfe54e433</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[lubbock-coding-academy]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[austin-coding-academy]]></category>
            <dc:creator><![CDATA[David Rios]]></dc:creator>
            <pubDate>Fri, 03 Mar 2023 02:53:00 GMT</pubDate>
            <atom:updated>2023-03-03T02:53:00.112Z</atom:updated>
            <content:encoded><![CDATA[<ol><li>Talk about something you learned this week.</li></ol><p>Something I learned this week is how to use an API to get information and add that to a DOM.</p><p>2. Explain Function.prototype.bind().</p><p>Function.prototype.bind() is a function that binds the ‘this’ keyword to an object so that it can be called outside of it.</p><p>3.Describe event bubbling.</p><p>Event bubbling is a method in the DOM that happens when an event is inside an element inside another element and both elements have reactions to that event.</p><p>4. What’s the difference between the window load event and document DOMContentLoaded event?</p><p>The load event detects when a page is fully loaded while the DOMContentLoaded event executes when the document is fully loaded and it does not wait for and of the stylesheets, images, etc.</p><p>5. Describe the call stack.</p><p>The call stack is what the browser uses to keep track of where it is in the script.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=56dfe54e433" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Blog 207]]></title>
            <link>https://medium.com/@davidriosdoeswork/blog-207-330cb4bbf9de?source=rss-6ab1942f2542------2</link>
            <guid isPermaLink="false">https://medium.com/p/330cb4bbf9de</guid>
            <category><![CDATA[austin-coding-academy]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[lubbock-coding-academy]]></category>
            <dc:creator><![CDATA[David Rios]]></dc:creator>
            <pubDate>Fri, 03 Mar 2023 02:20:23 GMT</pubDate>
            <atom:updated>2023-03-03T02:20:23.474Z</atom:updated>
            <content:encoded><![CDATA[<ol><li>Write about something you learned this week.</li></ol><p>I learned how to use API’s to gather data and how to use lodash for an easier and simpler alternative to some functions.</p><p>2. 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?</p><p>You would use something like the load event to execute something as document loading process is finished. One disadvantage is that it does not wait for the whole page to load.</p><p>3.What are the advantages and disadvantages of using Ajax?</p><p>One advantage of Ajax it improves a website’s performance. One disadvantage of Ajax is that it is open source. This means anyone can see how it works which makes it more vulnerable to malicious users.</p><p>4.Explain how JSONP works (and how it’s not really Ajax).</p><p>JSONP works by requesting files in an external script instead of requesting them by using the XMLHttpRequest object. This allows it to get data without running into problems with the cross-domain policy. It’s different from Ajax since it returns from a JavaScript function where Ajax returns in an Ajax event handler.</p><p>5.Explain Ajax in as much detail as possible.</p><p>Ajax allows a user to access web servers from a web page. This allows them to get data and update the page without having to refresh it.</p><p>6.What does it mean when we talk about time complexity of an algorithm?</p><p>What it means when we talk about time complexity of an algorithm is how long the algorithm will take to complete.</p><p>7.What are the three laws of algorithm recursion?</p><p>The first law of algorithm recursion is that it must have a base case. The second law is that it must change its state and move toward the base case. The third law is that it must call itself, recursively.</p><p>8.How do you see yourself growing as a web developer?</p><p>I see myself growing as a web developer by becoming more experience and knowledgeable about advanced concepts.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=330cb4bbf9de" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Blog 206]]></title>
            <link>https://medium.com/@davidriosdoeswork/blog-206-81db075fc34a?source=rss-6ab1942f2542------2</link>
            <guid isPermaLink="false">https://medium.com/p/81db075fc34a</guid>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[lubbock-coding-academy]]></category>
            <category><![CDATA[austin-coding-academy]]></category>
            <dc:creator><![CDATA[David Rios]]></dc:creator>
            <pubDate>Tue, 28 Feb 2023 20:36:17 GMT</pubDate>
            <atom:updated>2023-02-28T20:36:17.172Z</atom:updated>
            <content:encoded><![CDATA[<ol><li>Tell us about something you learned this week.</li></ol><p>Something I learned this week is how to fetch data from API’s.</p><p>2. What are the pros and cons of immutability?</p><p>One con of immutability is that it is a lot more performance intense compared to using small mutable data. One pro of immutability is that it’s a lot simpler to use since you don’t have to worry about objects changing over time.</p><p>3. How can you achieve immutability in your own code?</p><p>You can achieve immutability in your own code by declaring a variable with const.</p><p>4. What are Divide and Conquer algorithms? Describe how they work. Can you give any common examples of the types of problems where this approach might be used?</p><p>Divide and Conquer algorithms are algorithms that take a problem and break it into smaller problems to solve. A common example of this would be doing a merge sort. The algorithm divides an array into two halves, sorts those halves, then combines them for a sorted array.</p><p>5.How do insertion sort, heap sort, quick sort, and merge sort work?</p><p>They work by using a divide and conquer algorithm.</p><p>6.What are the key advantages of insertion sort, quick sort, heap sort and merge sort? Discuss best, average, and worst case time and memory complexity.</p><p>Insertion Sort:</p><p>It works in-place.</p><p>Best: O(n) Worst: O(n²)</p><p>Quick Sort:</p><p>It works in-place.</p><p>Best: O(n log n) Worst: O(n²)</p><p>Heap Sort:</p><p>Asymptomatically optimal comparison.</p><p>Best: O(n) Worst: O(n (log (n)))</p><p>Merge Sort:</p><p>Quick for large lists</p><p>Best: <strong>Ω</strong>(n log n) Worst: O(n log n)</p><p>7.Explain the difference between mutable and immutable objects.</p><p>The difference between mutable and immutable objects is that immutable objects cannot be changed while mutable objects can.</p><p>8.What are the three laws of algorithm recursion? Describe them in your own words and what they mean to you.</p><p>The first law is that a algorithm recursion must have a base case. This means that it must have a condition to stop it from being recursive. The second law is that a recursive algorithm must change its state and move toward the base case. If the second law is not obeyed, then the algorithm would run forever. The third law is that a recursive algorithm must call itself. This is the rule that makes the algorithm recursion actually recursive.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=81db075fc34a" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Blog 205]]></title>
            <link>https://medium.com/@davidriosdoeswork/blog-205-1d1c5618b46c?source=rss-6ab1942f2542------2</link>
            <guid isPermaLink="false">https://medium.com/p/1d1c5618b46c</guid>
            <category><![CDATA[lubbock-coding-academy]]></category>
            <category><![CDATA[austin-coding-academy]]></category>
            <category><![CDATA[coding]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[David Rios]]></dc:creator>
            <pubDate>Thu, 23 Feb 2023 00:11:58 GMT</pubDate>
            <atom:updated>2023-02-23T00:11:58.859Z</atom:updated>
            <content:encoded><![CDATA[<ol><li>Describe one thing you’re learning in class today. Why do you think it will be important in your future web development journey?</li></ol><p>One thing I learned in class today is sorting algorithms. I think they will be very important in my web development journey since sorting algorithms are a very key part of coding.</p><p>2. Can you offer a use case for the new arrow =&gt; function syntax?</p><p>A time when you would use the new arrow function is when you create a new function.</p><p>3. How does this new syntax differ from the older function signature, function nameFunc(){}, both in style and functionality?</p><p>The new function syntax uses the =&gt; and looks a lot simpler than the older function syntax. Also =&gt; cannot be used as methods.</p><p>4. Explain the differences on the usage of foo between function foo() {} and const foo = function() {}</p><p>The difference between function foo() {} and const foo = function() {} is that one is an expression while the other is a declaration</p><p>5. What advantage is there for using the arrow syntax for a method in a constructor?</p><p>One advantage is having to write a lot less code which makes it easier to read and easier to write.</p><p>6. Can you give an example for <strong>destructuring</strong> an object or an array?</p><p>let colors = [“red”, “orange”, “yellow”]</p><p>let [first, second, third] = colors</p><p>console.log(first) // red</p><p>console.log(second) // orange</p><p>console.log(third) // yellow</p><p>7. Explain Closure in your own words. How do you think you can use it? Don’t forget to read more blogs and videos about this subject.</p><p>A closure is a function that accesses the variables in the scope outside of it. I’m not really sure how I can use it but with more practice and studying I’m sure there will be very useful ways to implement this in my code.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1d1c5618b46c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Blog 204]]></title>
            <link>https://medium.com/@davidriosdoeswork/blog-204-e8955f896bd4?source=rss-6ab1942f2542------2</link>
            <guid isPermaLink="false">https://medium.com/p/e8955f896bd4</guid>
            <category><![CDATA[web-development]]></category>
            <category><![CDATA[austin-coding-academy]]></category>
            <category><![CDATA[lubbock-coding-academy]]></category>
            <category><![CDATA[coding]]></category>
            <dc:creator><![CDATA[David Rios]]></dc:creator>
            <pubDate>Wed, 22 Feb 2023 17:39:52 GMT</pubDate>
            <atom:updated>2023-02-22T17:39:52.732Z</atom:updated>
            <content:encoded><![CDATA[<ol><li>Describe one thing you’re learning in class today.</li></ol><p>One thing I learned in class today is how to make tests for my code.</p><p>2. Can you describe the main difference between a forEach loop and a .map() loop and why you would pick one versus the other?</p><p>The main difference between a forEach loop and a .map() loop is that .map() is chainable while forEach is not.</p><p>3. Describe event bubbling.</p><p>Event bubbling is a method in the DOM that happens when an event is inside an element inside another element and both elements have reactions to that event.</p><p>4. What is the definition of a higher-order function?</p><p>The definition of a higher-order function is function that takes in one or more functions as arguments.</p><p>5. ES6 Template Literals offer a lot of flexibility in generating strings. Can you give an example?</p><p>An example of an ES6 Template Literal is:</p><p>const name = “David”</p><p>console.log(`Hello ${name}`)</p><p>This would print “Hello David”</p><p>6. What Is an associative array in JavaScript?</p><p>An associative array in JavaScript is an array used to store key value pairs.</p><p>7. Why should you never use new Array in JavaScript?</p><p>You should never use new Array in JavaScript because it’s slower since it has to call the array constructor.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e8955f896bd4" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>