<?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: Antonio</title>
    <description>The latest articles on DEV Community by Antonio (@antonioprican).</description>
    <link>https://dev.to/antonioprican</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%2F316612%2Fe4a8027b-b27e-4b91-b8e2-950bf4720c85.jpg</url>
      <title>DEV Community: Antonio</title>
      <link>https://dev.to/antonioprican</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/antonioprican"/>
    <language>en</language>
    <item>
      <title>lesson 15 discussion</title>
      <dc:creator>Antonio</dc:creator>
      <pubDate>Thu, 20 Feb 2020 22:27:46 +0000</pubDate>
      <link>https://dev.to/antonioprican/lesson-15-discussion-3ani</link>
      <guid>https://dev.to/antonioprican/lesson-15-discussion-3ani</guid>
      <description>&lt;ol&gt;
&lt;li&gt; Methods belong to classes, structs, and enums. Functions is just a code that can do a specific task and can be added to any file outside of a particular type.&lt;/li&gt;
&lt;li&gt; In swift, a structure is defined is a single file so that it is less code for the programmer to type&lt;/li&gt;
&lt;/ol&gt;

</description>
    </item>
    <item>
      <title>WK1: Discussion</title>
      <dc:creator>Antonio</dc:creator>
      <pubDate>Tue, 18 Feb 2020 16:16:54 +0000</pubDate>
      <link>https://dev.to/antonioprican/wk1-discussion-22bb</link>
      <guid>https://dev.to/antonioprican/wk1-discussion-22bb</guid>
      <description>&lt;p&gt;Frontend development can be separated into two eras, before Bootstrap and after Bootstrap. In 2011, the greatest frontend framework ever was released. Also, in the same year, the adoption and use of the framework grew in great numbers, reaching almost every segment of the market.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>Lesson 14 Discussion</title>
      <dc:creator>Antonio</dc:creator>
      <pubDate>Wed, 05 Feb 2020 02:22:29 +0000</pubDate>
      <link>https://dev.to/antonioprican/lesson-14-discussion-ko6</link>
      <guid>https://dev.to/antonioprican/lesson-14-discussion-ko6</guid>
      <description>&lt;ol&gt;
&lt;li&gt;Why do you think arrays in Swift only support a ​collection of objects of the same type?&lt;/li&gt;
&lt;li&gt;If you create an array, and assign it to a variable, the collection that is created will be mutable. If you assign an array,  its size and contents cannot be changed.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;How can you access objects within an array one at a time?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;going over arrays one element at a time is something that is a very common exercise , and to do that you’d run a counter over the length of the array and pick out each element one at a time.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;How might you check if an array is empty?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;to check if an array is empty, use Swift function "isEmpty" on the array. To check if an array is empty. The function returns a bool value. If the array is empty, "isEmpty" returns true, else false.&lt;/li&gt;
&lt;/ul&gt;

</description>
    </item>
    <item>
      <title>Lesson 13 Discussion</title>
      <dc:creator>Antonio</dc:creator>
      <pubDate>Thu, 30 Jan 2020 20:06:26 +0000</pubDate>
      <link>https://dev.to/antonioprican/lesson-13-discussion-2l1n</link>
      <guid>https://dev.to/antonioprican/lesson-13-discussion-2l1n</guid>
      <description>&lt;p&gt;How does the contains function differ from the hasPrefix and hasSufix functions?&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; The  HasPrefix and HasSufix functions  work in the different way, the internal implementation just checks the length of both the strings and substring, and if the are = or the string is longer, then the required part of the string  is compared&lt;/li&gt;
&lt;/ol&gt;

</description>
    </item>
    <item>
      <title>Lesson 12 Discussion</title>
      <dc:creator>Antonio</dc:creator>
      <pubDate>Fri, 24 Jan 2020 00:24:13 +0000</pubDate>
      <link>https://dev.to/antonioprican/lesson-12-discussion-1l5n</link>
      <guid>https://dev.to/antonioprican/lesson-12-discussion-1l5n</guid>
      <description>&lt;ol&gt;
&lt;li&gt;How is a method different from a property?&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;A property expresses an basic quality of an instance, while a method performs an action. Methods have parameters; properties don't. Prefer methods for any call with side effects. If a method does something (for example, it loads, parses, toggles, or prints) or has a verb name, it should not be a property.&lt;/p&gt;

&lt;p&gt;2.What is the difference between a type and an instance?&lt;/p&gt;

&lt;p&gt;Methods are functions that are associated with a particular type. Classes, structures, and enumerations can all define instance methods, which encapsulate specific tasks and functionality for working with an instance of a given type.&lt;/p&gt;

</description>
    </item>
    <item>
      <title>model 3 discussion </title>
      <dc:creator>Antonio</dc:creator>
      <pubDate>Wed, 22 Jan 2020 20:20:24 +0000</pubDate>
      <link>https://dev.to/antonioprican/model-3-discussion-1b33</link>
      <guid>https://dev.to/antonioprican/model-3-discussion-1b33</guid>
      <description>&lt;p&gt;Module 3 Discussion&lt;/p&gt;

&lt;p&gt;1- How is the number of columns in a web table determined?&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;The number of columns is based on the maximum number of cells from the table rows.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;2- Write code to create a table row with three header cells containing the text: Tompkins, Ramirez, and David.&lt;/p&gt;

&lt;p&gt;&amp;lt;.tr&amp;gt;&lt;br&gt;
  &amp;lt;.th&amp;gt;Tompkins&lt;br&gt;
&amp;lt;.th&amp;gt;Ramirez&lt;br&gt;&lt;br&gt;
&amp;lt;.th&amp;gt;david&lt;br&gt;
&amp;lt;./tr&amp;gt; &lt;/p&gt;

&lt;p&gt;3- Write code to create a table row with three data cells containing the text: Tompkins, Ramirez, and David.&lt;/p&gt;

&lt;p&gt;&amp;lt;.tr&amp;gt;&lt;br&gt;
  &amp;lt;.td&amp;gt;Tompkins&lt;br&gt;
&amp;lt;.td&amp;gt;Ramirez&lt;br&gt;
&amp;lt;.td&amp;gt;David&lt;br&gt;
&amp;lt;./tr&amp;gt;  &lt;/p&gt;

&lt;p&gt;4- Write the style rule to display all table elements with collapsed borders.&lt;/p&gt;

&lt;p&gt;table {border-collapse: collapse; }&lt;/p&gt;

&lt;p&gt;5- Two table cells have adjacent borders. One cell has a 5-pixel-wide double border and the other cell has a 6-pixel-wide solid border. If the table borders are collapsed, what type of border will the two cells share?&lt;/p&gt;

&lt;p&gt;The border will be a 6-pixle solid border because it is the border with the larger width. &lt;/p&gt;

&lt;p&gt;6- A table data ell contains the text Monday and should stretch across two rows and three columns. Write the HTML code for the cell.&lt;/p&gt;


&lt;td rowspan="2" colspan="3"&gt; Monday &lt;/td&gt;

&lt;p&gt;7-What adjustment do you have to make to a table when a cell spans multiple columns to keep the column aligned?&lt;/p&gt;

&lt;p&gt;You need to reduce the number of cells following the spanning cell&lt;/p&gt;

&lt;p&gt;8-What adjustment do you have to make to a table when a cell spans multiple rows to keep columns aligned?&lt;/p&gt;

&lt;p&gt;You need to reduce the number of cells in the rows following the spanning cells&lt;/p&gt;

&lt;p&gt;9-Write the style rule to display all table captions at the lower-left corner of the table.&lt;/p&gt;

&lt;p&gt;caption { caption-side: bottom;}&lt;/p&gt;

</description>
    </item>
    <item>
      <title>lesson 11</title>
      <dc:creator>Antonio</dc:creator>
      <pubDate>Sun, 19 Jan 2020 22:25:55 +0000</pubDate>
      <link>https://dev.to/antonioprican/lesson-11-33j</link>
      <guid>https://dev.to/antonioprican/lesson-11-33j</guid>
      <description>&lt;ol&gt;
&lt;li&gt;Why do you think conditionals are important?&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Sometimes you want code to execute only if a certain condition is true, and in Swift that is represented primarily by the if and else statements. You give Swift a condition to check, then a block of code to execute if that condition is true.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  2. Give a set of instructions on how you think a thermostat program should work and “bold/underline” the conditionals.
&lt;/h2&gt;

</description>
    </item>
    <item>
      <title>functions in real life</title>
      <dc:creator>Antonio</dc:creator>
      <pubDate>Thu, 16 Jan 2020 18:01:57 +0000</pubDate>
      <link>https://dev.to/antonioprican/functions-in-real-life-49ka</link>
      <guid>https://dev.to/antonioprican/functions-in-real-life-49ka</guid>
      <description>&lt;p&gt;What processes and tasks, from real life, can fit into the various ways you can define a function? (Explain at least 5)&lt;/p&gt;

&lt;p&gt;The function contains instructions used to create the output from its input. In that case, let's give 5 examples of real life situations that would mimic functions in coding. &lt;/p&gt;

&lt;p&gt;1- Working out. A person needs to eat right, take whatever pre workout, that's the input, the out put would be, being more fit and building muscle&lt;/p&gt;

&lt;p&gt;2- gaining weight. A person eats junk food, overloads on carbs and doesn't exercise, that's the intake. the outtake would be weight gain and poor health&lt;/p&gt;

&lt;p&gt;3- driving a car. Person put gas into their car, that's the input. the output would be that the car drives without any issues. with this, the input needs the right kind of fuel. If you put water in the car, because it's the wrong input, then the output would be a not operational vehicle.&lt;/p&gt;

&lt;p&gt;4- going to school. A person attended school to gain knowledge. So the intake is lecture, work and homework. The output is taking that knowledge and applying it to you job or life and understand what you are doing. &lt;/p&gt;

&lt;p&gt;5- losing weight. A person limits the amount of carbs and sugars from their diet, so the outtake is less then the intake, so the person will loss weight.    &lt;/p&gt;

</description>
    </item>
    <item>
      <title>Module 2 Discussion</title>
      <dc:creator>Antonio</dc:creator>
      <pubDate>Mon, 13 Jan 2020 20:48:18 +0000</pubDate>
      <link>https://dev.to/antonioprican/module-2-discussion-33bm</link>
      <guid>https://dev.to/antonioprican/module-2-discussion-33bm</guid>
      <description>&lt;p&gt;Read Session 1.2 (pp. 22 - 45) and then answer the following questions and post them in "&lt;a href="https://dev.to/%22:"&gt;https://dev.to/":&lt;/a&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt; Write code to mark the text Gourmet Thai Cooking as a heading with the second level of importance.
&amp;lt;!DOCTYPE html&amp;gt;


Gourmet Thai Cooking


&lt;h1&gt;Main heading&lt;/h1&gt;
&lt;p&gt;Paragraph&lt;/p&gt;

&lt;/li&gt;
&lt;li&gt; What is the div element and why will you often encounter it in pre-HTML5 code?
-div-is a name that uniquely identifies the division.
-Prior to HTML5, sections were defined as divisions created using the following div element:&lt;/li&gt;
&lt;li&gt; What element would you use to indicate a change of topic within a section?
-The HTML  element represents a thematic break between paragraph-level elements&lt;/li&gt;
&lt;li&gt;
&lt;/li&gt;
&lt;li&gt; Write the code to mark the text Daily Special as emphasized text.
&lt;em&gt;Daily Special&lt;/em&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Write code to mark the text H2SO4 with subscripts.&lt;br&gt;
H2SO4&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Write the code to link the web page to the CSS file mystyles.css.&lt;br&gt;
&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Write the expression to insert the em dash into a web page using the character code 8212.&lt;br&gt;
—&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;Write the code to insert an inline image using the source file awlogo.png and the alternate text Art World.&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--D1A8wfIT--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/awlogo.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--D1A8wfIT--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/awlogo.png" alt="Art World"&gt;&lt;/a&gt;&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
    </item>
  </channel>
</rss>
