<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: adriennemiller</title>
    <description>The latest articles on DEV Community by adriennemiller (@adriennemiller).</description>
    <link>https://dev.to/adriennemiller</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F144544%2Fc492ef93-da71-4d11-94d3-c63cb57916da.jpeg</url>
      <title>DEV Community: adriennemiller</title>
      <link>https://dev.to/adriennemiller</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/adriennemiller"/>
    <language>en</language>
    <item>
      <title>Semicolons in JavaScript: To Use or Not to Use?</title>
      <dc:creator>adriennemiller</dc:creator>
      <pubDate>Tue, 02 Apr 2019 05:36:07 +0000</pubDate>
      <link>https://dev.to/adriennemiller/semicolons-in-javascript-to-use-or-not-to-use-2nli</link>
      <guid>https://dev.to/adriennemiller/semicolons-in-javascript-to-use-or-not-to-use-2nli</guid>
      <description>&lt;p&gt;During one of our first JavaScript lectures at the Flatiron School, the instructor mentioned that semicolons are optional in JavaScript… except when they’re not 🤔 &lt;/p&gt;

&lt;p&gt;I decided to look more into semicolon usage in JavaScript to truly understand why we would or would not want to use them, and use this knowledge to avoid creating any bad habits early on.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fm7f6g127k6pgf7a7441m.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fm7f6g127k6pgf7a7441m.jpg" alt="Peter Arkle semicolon drawing"&gt;&lt;/a&gt;Peter Arkle, &lt;a href="https://opinionator.blogs.nytimes.com/2012/07/02/semicolons-a-love-story/" rel="noopener noreferrer"&gt;https://opinionator.blogs.nytimes.com/2012/07/02/semicolons-a-love-story/&lt;/a&gt;&lt;/p&gt;

&lt;h1&gt;
  
  
  Automatic Semicolon Insertion (ASI)
&lt;/h1&gt;

&lt;p&gt;The reason semicolons are sometimes optional in JavaScript is because of automatic semicolon insertion, or ASI. ASI doesn’t mean that actual semicolons are inserted into your code, it’s more of a set of rules used by JavaScript that will determine whether or not a semicolon will be interpreted in certain spots. I found a helpful lecture from Fullstack Academy on the topic, &lt;a href="https://www.youtube.com/watch?v=B4Skfqr7Dbs" rel="noopener noreferrer"&gt;which you can check out here&lt;/a&gt;. I also found a &lt;a href="http://www.bradoncode.com/blog/2015/08/26/javascript-semi-colon-insertion/" rel="noopener noreferrer"&gt;blog post&lt;/a&gt; from Bradley Braithwaite on the topic. Below I highlight the main takeaways from these resources. &lt;/p&gt;

&lt;h1&gt;
  
  
  3 Automatic Semicolon Insertion Rules:
&lt;/h1&gt;

&lt;p&gt;Here are 3 main points to be aware of when it comes to ASI.&lt;/p&gt;

&lt;p&gt;1- A semicolon will be inserted when it comes across a line terminator or a '}' that is not grammatically correct. So, if parsing a new line of code right after the previous line of code still results in valid JavaScript, ASI will not be triggered.  &lt;/p&gt;

&lt;p&gt;Example 1:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;

var beef 
var cheese 


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;will become: &lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;

var beef; 
var cheese; 



&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Example 2:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;

var a 
    b= 
    3;


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;here, grammar doesn't expect to see b after a, so ASI is triggered &lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;

var a; 
b = 3;


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Example 3: &lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;

a = b + c 
(d + e).print() 



&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;equals: &lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;

a = b + c(d + e).print();



&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;2- If the program gets to the end of the input and there were no errors, but it's not a complete program, a semicolon will be added to the end. Which basically means a semicolon will be added at the end of the file if it's missing one.&lt;/p&gt;

&lt;p&gt;3- There are certain places in the grammar where, if a line break appears, it terminates the statement unconditionally and it will add a semicolon. One example of this is return statements.&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;


function getCheese() {
    return 
    { 
       cheeseType: "Gouda"
    } 
}


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;This would trigger ASI and result in:&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;


function getCheese() {
    return; 
    { 
       cheeseType: "Gouda"
    } 
  }


&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;

&lt;p&gt;Expressions in a return statement should begin on same line, like this:&lt;/p&gt;


&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;

&lt;p&gt;function getCheese() {&lt;br&gt;
    return { &lt;br&gt;
       cheeseType: "Gouda"&lt;br&gt;
    } &lt;br&gt;
  }&lt;/p&gt;

&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;
&lt;h1&gt;
&lt;br&gt;
  &lt;br&gt;
  &lt;br&gt;
  When Should I Not Use Semicolons?&lt;br&gt;
&lt;/h1&gt;

&lt;p&gt;Here are a few cases where you don't need semicolons:&lt;/p&gt;

&lt;p&gt;if (...) {...} else {...} &lt;br&gt;
for (...) {...} &lt;br&gt;
while (...) {...} &lt;/p&gt;

&lt;p&gt;Note: You do need one after: do{...} while (...);&lt;/p&gt;

&lt;h1&gt;
  
  
  Final Thoughts
&lt;/h1&gt;

&lt;p&gt;If you're going to write your JavaScript without optional semicolons, it's probably good to at least know what ASI is doing. For example, compression or minification could cause your valid code to throw an error because those programs may rely on semicolons. &lt;/p&gt;

&lt;p&gt;Also, it can be harder to debug without semicolons since your code may be concatenating together without you realizing it. If you put a line break where there shouldn't be one, ASI may jump in and assume a semicolon even if there shouldn't be one.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqi9n7nqywiqvvti7j66q.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fqi9n7nqywiqvvti7j66q.jpg" alt="keep calm it's only a semi colon"&gt;&lt;/a&gt;&lt;a href="https://www.everywordcounts.co.uk/no-need-to-be-scared-of-semicolons/" rel="noopener noreferrer"&gt;https://www.everywordcounts.co.uk/no-need-to-be-scared-of-semicolons/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Companies and open source projects will likely have a preference one way or another, so be sure to note what it is. &lt;/p&gt;

&lt;p&gt;Finally, if you think you may be running into errors due to ASI, check out Babeljs.io to debug - it allows you to put in your code and shows you where ASI semicolons are being inserted. &lt;/p&gt;

&lt;p&gt;What have you found to be true when it comes to semicolons in JavaScript? &lt;/p&gt;

</description>
      <category>beginners</category>
      <category>javascript</category>
    </item>
    <item>
      <title>Getting Started With CSS Art</title>
      <dc:creator>adriennemiller</dc:creator>
      <pubDate>Wed, 20 Mar 2019 04:29:16 +0000</pubDate>
      <link>https://dev.to/adriennemiller/getting-started-with-css-art-43b8</link>
      <guid>https://dev.to/adriennemiller/getting-started-with-css-art-43b8</guid>
      <description>&lt;p&gt;I was really captivated by one of the links included in DEV's newsletter this week. It was a link to this &lt;a href="https://codepen.io/cobra_winfrey/details/aMLxMQ" rel="noopener noreferrer"&gt;pure CSS image of Frida Kahlo&lt;/a&gt; created by Adam Kuhn.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F82mjhjpgq3fcs1jngl85.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F82mjhjpgq3fcs1jngl85.png" alt="Adam Kuhn's Frida Kahlo css art"&gt;&lt;/a&gt;Adam Kuhn's Frida Kahlo CSS Art&lt;/p&gt;

&lt;h4&gt;
  
  
  How Do You Create Art From Code?
&lt;/h4&gt;

&lt;p&gt;While I do have some experience with HTML and CSS, I didn't have any idea how to put the pieces together to create an image this beautiful using only CSS. I decided to hunt around for a basic tutorial regarding pure CSS images and found the post &lt;a href="https://medium.com/coding-artist/a-beginners-guide-to-pure-css-images-ef9a5d069dd2" rel="noopener noreferrer"&gt;"A Beginner’s Guide to Pure CSS Images"&lt;/a&gt; by Michael Mangialard. This is a great beginner-level tutorial that walks through each step of creating a CSS koala image. Each part of the koala is a separate HTML div element with different CSS styling applied to it. I highly recommend checking it out.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Michael Mangialard's koala CSS art:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;iframe height="600" src="https://codepen.io/mikemang/embed/oYMePj?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;h4&gt;
  
  
  My Own CSS Image Project
&lt;/h4&gt;

&lt;p&gt;I went through the tutorial and made my own edits to the code to create a pig image instead of a koala. &lt;/p&gt;

&lt;p&gt;&lt;strong&gt;My CSS pig project:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;iframe height="600" src="https://codepen.io/Millera92/embed/bZxVPe?height=600&amp;amp;default-tab=result&amp;amp;embed-version=2"&gt;
&lt;/iframe&gt;
&lt;/p&gt;

&lt;h4&gt;
  
  
  What is a CSS Image?
&lt;/h4&gt;

&lt;p&gt;A CSS image can be made with just HTML and CSS code. HTML is a markup language that provides the basic structure and content for web pages, and CSS is what gives that content its styling. CSS images can be made by creating HTML div elements then giving them different sizes, shapes, colors, and positioning to create an overall picture.&lt;/p&gt;

&lt;p&gt;An HTML div is a tag used for grouping elements together and then styling them with CSS or giving them behavior with JavaScript.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F597kmoyzephw1qd0yjby.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2F597kmoyzephw1qd0yjby.png" alt="code for box class"&gt;&lt;/a&gt;This is the code that creates the parent div box.&lt;/p&gt;

&lt;h4&gt;
  
  
  It's All Divs
&lt;/h4&gt;

&lt;p&gt;For this project, all of the div elements that make up the image are nested within a parent div. This parent div is like an invisible frame around the pig's head. If the parent div is given a red border, you can see that it is essentially a box centered on the page. The child div elements positions are based on the relationship to the parent div. In other words, all the different pieces of the pig are positioned on the page in relation to that box. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fv9321qrk6pppv5juyp9a.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fv9321qrk6pppv5juyp9a.png" alt="pig css art"&gt;&lt;/a&gt;The red outline shows the invisible box the parent div created.&lt;/p&gt;

&lt;p&gt;The pig's head div is a child to the box div, and its positioning is based on its relationship to that box.  &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fboa8lzh5vbfk61mqy345.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fboa8lzh5vbfk61mqy345.png" alt="code for head class"&gt;&lt;/a&gt;This is the code to create the pig's head, which is just a circle.&lt;/p&gt;

&lt;h4&gt;
  
  
  Z-Index
&lt;/h4&gt;

&lt;p&gt;The rest of the elements that create the pig are positioned and styled this same way. A few also have a z-index, which allows you to stack the elements on top of each other in a certain order. So, for example, the pig's nose has a larger z-index than the eyes, since the nose lays on top of the eyes.&lt;/p&gt;

&lt;h4&gt;
  
  
  Clip-Path
&lt;/h4&gt;

&lt;p&gt;Div elements are going to naturally be a rectangular shape. You can start curving the corners of the rectangle by setting a border-radius, and setting a border-radius of 50% will give us a circle. &lt;/p&gt;

&lt;p&gt;For more complex shapes you can use a clip-path, which sets coordinates determining what part of an element should be shown. It's important to note that they are not supported by all browsers. You can learn more about them and their usage on &lt;a href="https://developer.mozilla.org/en-US/docs/Web/CSS/clip-path" rel="noopener noreferrer"&gt;Mozilla's website&lt;/a&gt;. I used a tool called &lt;a href="https://bennettfeely.com/clippy/" rel="noopener noreferrer"&gt;Clippy&lt;/a&gt;, created by Bennett Feely, that allows you to draw the shape you want and then gives you the code for it. I used this to create the shape of the pig's ears.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Clippy allows you to easily make CSS shapes:&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fdtnyn5ance5u2y0ehr0a.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fthepracticaldev.s3.amazonaws.com%2Fi%2Fdtnyn5ance5u2y0ehr0a.png" alt="Bennet Feely's Clippy tool"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Are CSS Images Practical?
&lt;/h4&gt;

&lt;p&gt;From what I can tell, CSS images aren't great for practical application. It would be much more effective to use a design program to create an SVG image. However, learning how to create them is a great way to become more familiar with CSS styling and I found it especially helpful in familiarizing myself with how positioning works.&lt;/p&gt;

&lt;p&gt;Tools and References: &lt;br&gt;
&lt;a href="https://medium.com/coding-artist/a-beginners-guide-to-pure-css-images-ef9a5d069dd2" rel="noopener noreferrer"&gt;A Beginner's Guide to Pure CSS Images&lt;/a&gt;&lt;br&gt;
&lt;a href="https://codepen.io/cobra_winfrey/details/aMLxMQ" rel="noopener noreferrer"&gt;Adam Kuhn's Frida Kahlo CodePen&lt;/a&gt;&lt;br&gt;
&lt;a href="https://bennettfeely.com/clippy/" rel="noopener noreferrer"&gt;Clippy&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.w3schools.com/css" rel="noopener noreferrer"&gt;W3Schools CSS&lt;/a&gt;&lt;br&gt;
&lt;a href="https://developer.mozilla.org/en-US/docs/Web/CSS/clip-path" rel="noopener noreferrer"&gt;Clip-Path - Mozilla&lt;/a&gt;&lt;/p&gt;

</description>
      <category>css</category>
      <category>html</category>
      <category>beginners</category>
    </item>
    <item>
      <title>How The Internet Travels Through Oceans</title>
      <dc:creator>adriennemiller</dc:creator>
      <pubDate>Tue, 12 Mar 2019 06:11:02 +0000</pubDate>
      <link>https://dev.to/adriennemiller/how-the-internet-travels-across-oceans-3a4e</link>
      <guid>https://dev.to/adriennemiller/how-the-internet-travels-across-oceans-3a4e</guid>
      <description>&lt;p&gt;A couple of days ago I was watching &lt;a href="https://www.youtube.com/watch?v=gI9wqEDPiY0" rel="noopener noreferrer"&gt;this lecture&lt;/a&gt; by Avi Flombaum titled “How the Web Works”, and had to momentarily pause the video and freak out when he explained how the internet travels across oceans. Simply put, there are hundreds of underwater cables that have been put at the bottom of the ocean to transmit data internationally.  &lt;/p&gt;

&lt;h1&gt;
  
  
  It's Not Magic
&lt;/h1&gt;

&lt;p&gt;There is something so simple and yet so grand about this that I love. No, it's not satellites (well, there are some satellites...) or magic, it's simply a bunch of physical cables we installed.  &lt;/p&gt;

&lt;h1&gt;
  
  
  Submarine Cables
&lt;/h1&gt;

&lt;p&gt;There are currently around 378 underwater cables, over 1.2 million kilometers of cable total, that connect most of the world to the Internet. &lt;/p&gt;

&lt;p&gt;TeleGeography offers an interactive &lt;a href="https://www.submarinecablemap.com/" rel="noopener noreferrer"&gt;Submarine Cable Map&lt;/a&gt;, which shows the overall map of cables and gives you info like that particular cable length, who owns it, and its landing points. I highly recommend checking it out.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbagk45vulb6mrvlijbaq.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fbagk45vulb6mrvlijbaq.jpg" alt="undersea internet cable"&gt;&lt;/a&gt; &lt;/p&gt;

&lt;h1&gt;
  
  
  What Are The Cables Made Of?
&lt;/h1&gt;

&lt;p&gt;At their core, these cables use fiber-optics to send light signals, with lasers that shoot from one end to another at an extreme rate. The actual glass fibers that do this are very small, they have a similar diameter to a piece of hair, but they are covered with several layers of protection. &lt;/p&gt;

&lt;p&gt;Still, the majority of the cable at the bottom of the ocean is only about the size of a garden hose. The layers of protection are increased in more shallow areas since there’s a greater chance of coming into contact with ships, etc. They’re also buried when close to shore for another layer of protection. However, out in the deep sea areas, the cables are laid directly on the ocean floor using a special machine.&lt;/p&gt;

&lt;h1&gt;
  
  
  Where Are The Cables Installed?
&lt;/h1&gt;

&lt;p&gt;Precautions are taken to find the safest path for the cables to avoid areas where there’s a lot of fishing or where boats may be anchoring. It’s these types of human activities that cause the most damage to the cables. Although there are about 100 cable faults each year, you would probably never notice because companies use redundant cables so there’s always backup.&lt;/p&gt;

&lt;p&gt;Also, the cables are laid based on which locations have something to communicate with each other. So, you can see there are not a lot of direct lines between Australia and South America, but instead, they both have many cables linking to North America. This is suggesting that they both have a need to send and receive info from North America.&lt;/p&gt;

&lt;h1&gt;
  
  
  Fast Facts
&lt;/h1&gt;

&lt;p&gt;Here are some additional facts, in case you’re as fascinated with these cables as I am:&lt;/p&gt;

&lt;p&gt;-The first oceanic cables ever installed were telegraphic lines laid across the Atlantic Ocean in 1866.&lt;/p&gt;

&lt;p&gt;-It only takes one boat to carry all the cable needed for these transcontinental connections.&lt;/p&gt;

&lt;p&gt;-Every 50 miles under the ocean there are blocks called repeaters that help amplify the light so it can travel all the thousands of miles.&lt;/p&gt;

&lt;p&gt;-In 2013 three scuba divers were caught trying to cut an undersea Internet cable in the Mediterranean, which slowed down the Internet for about a week.&lt;/p&gt;

&lt;p&gt;-While sharks are known to occasionally bite the cables, they are not seen as a major threat to the Internet. Human activity accounts for about 2/3 of damages to the cables.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzjn5nrznswtkkrqjm039.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Farticles%2Fzjn5nrznswtkkrqjm039.jpg" alt="shark biting internet cable"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;When did you learn that the world was connected via underwater cables? Am I the last to learn this? I'd love to hear any feedback or additional facts you have about our underwater system!&lt;/p&gt;

&lt;p&gt;Resources: &lt;br&gt;
&lt;a href="https://www2.telegeography.com/submarine-cable-faqs-frequently-asked-questions" rel="noopener noreferrer"&gt;Telegeography FAQs&lt;/a&gt; &lt;br&gt;
&lt;a href="https://www.submarinecablemap.com" rel="noopener noreferrer"&gt;Submarine Cable Map&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.history.com/this-day-in-history/first-transatlantic-telegraph-cable-completed" rel="noopener noreferrer"&gt;History Channel&lt;/a&gt; &lt;br&gt;
&lt;a href="https://www.wired.com/2014/08/shark-cable/" rel="noopener noreferrer"&gt;Wired&lt;/a&gt;&lt;br&gt;
&lt;a href="http://californiadiver.com/slow-internet-sharks-ships-have-an-appetite-for-undersea-fiber-optic-cables/" rel="noopener noreferrer"&gt;California Diver&lt;/a&gt;&lt;br&gt;
&lt;a href="https://www.cbsnews.com/news/egypt-divers-caught-cutting-internet-cable/" rel="noopener noreferrer"&gt;CBS News&lt;/a&gt;&lt;/p&gt;

</description>
      <category>beginners</category>
      <category>internet</category>
    </item>
  </channel>
</rss>
