<?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: Victor Edier</title>
    <description>The latest articles on DEV Community by Victor Edier (@victoredier).</description>
    <link>https://dev.to/victoredier</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%2F100105%2F3942c83e-5eb5-46b3-bd75-204081a742ef.jpg</url>
      <title>DEV Community: Victor Edier</title>
      <link>https://dev.to/victoredier</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/victoredier"/>
    <language>en</language>
    <item>
      <title>Another JS/CSS Calculator</title>
      <dc:creator>Victor Edier</dc:creator>
      <pubDate>Tue, 24 Nov 2020 21:50:39 +0000</pubDate>
      <link>https://dev.to/victoredier/another-js-css-calculator-550a</link>
      <guid>https://dev.to/victoredier/another-js-css-calculator-550a</guid>
      <description>&lt;p&gt;Here is a really simple classic calculator, is my attempt to practice JS and CSS, because I am being off of the FrontEnd environment for several years.&lt;/p&gt;

&lt;p&gt;Like a classic calculator, the first part and kind of most difficult is the display segment.&lt;/p&gt;

&lt;p&gt;To do it I am using a normal div, but with the ::before and ::after&lt;/p&gt;

&lt;p&gt;&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--Iv4Krpje--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/qildev88xluraxspyqn0.gif" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--Iv4Krpje--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_66%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/qildev88xluraxspyqn0.gif" alt="Segment"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;The next part was the buttons, with some div/shadows&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--4bO6TApl--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/f5thuepe8b22ko7en1q9.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--4bO6TApl--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/f5thuepe8b22ko7en1q9.png" alt="buttons"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;There are a LOT of things to improve, just the code needs some documentation, maybe using a more modern approach.&lt;/p&gt;

&lt;p&gt;I can use all of your opinions and suggestions.&lt;/p&gt;

&lt;p&gt;Thanks for the reading.&lt;/p&gt;

&lt;p&gt;&lt;a href="https://victoredier.github.io/js-css-calculator"&gt;Link&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Repository&lt;br&gt;
&lt;/p&gt;
&lt;div class="ltag-github-readme-tag"&gt;
  &lt;div class="readme-overview"&gt;
    &lt;h2&gt;
      &lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--vJ70wriM--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://practicaldev-herokuapp-com.freetls.fastly.net/assets/github-logo-ba8488d21cd8ee1fee097b8410db9deaa41d0ca30b004c0c63de0a479114156f.svg" alt="GitHub logo"&gt;
      &lt;a href="https://github.com/victoredier"&gt;
        victoredier
      &lt;/a&gt; / &lt;a href="https://github.com/victoredier/js-css-calculator"&gt;
        js-css-calculator
      &lt;/a&gt;
    &lt;/h2&gt;
    &lt;h3&gt;
      JS/CSS Calculator
    &lt;/h3&gt;
  &lt;/div&gt;
  &lt;div class="ltag-github-body"&gt;
    
&lt;div id="readme" class="md"&gt;
&lt;p&gt;&lt;a rel="noopener noreferrer" href="https://raw.githubusercontent.com/victoredier/js-css-calculator/main/readme_calculator.png"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--4rWxDNDH--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://raw.githubusercontent.com/victoredier/js-css-calculator/main/readme_calculator.png" alt="calculator"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h1&gt;
JS/CSS Calculator&lt;/h1&gt;
&lt;p&gt;This is working calculator made it using just JS and CSS, the code is still some ugly, I will eventually fixed&lt;/p&gt;
&lt;/div&gt;



&lt;/div&gt;
&lt;br&gt;
  &lt;div class="gh-btn-container"&gt;&lt;a class="gh-btn" href="https://github.com/victoredier/js-css-calculator"&gt;View on GitHub&lt;/a&gt;&lt;/div&gt;
&lt;br&gt;
&lt;/div&gt;
&lt;br&gt;


</description>
      <category>html</category>
      <category>javascript</category>
      <category>css</category>
      <category>calculator</category>
    </item>
    <item>
      <title>Format a list for a title in Python</title>
      <dc:creator>Victor Edier</dc:creator>
      <pubDate>Tue, 20 Oct 2020 01:17:49 +0000</pubDate>
      <link>https://dev.to/victoredier/format-a-list-for-a-title-in-python-1164</link>
      <guid>https://dev.to/victoredier/format-a-list-for-a-title-in-python-1164</guid>
      <description>&lt;p&gt;Some times is need it to show a list of items, but are you tire of the simple lists joined comma?&lt;br&gt;
&lt;a href="https://res.cloudinary.com/practicaldev/image/fetch/s--zVz8W6Gq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/tktd0orjb0mqvxu9pbpb.png" class="article-body-image-wrapper"&gt;&lt;img src="https://res.cloudinary.com/practicaldev/image/fetch/s--zVz8W6Gq--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/i/tktd0orjb0mqvxu9pbpb.png" alt="Alt Text"&gt;&lt;/a&gt;&lt;br&gt;
No?! Well I do, and this is the reason for this code snippet than can change your life ... well maybe not, but I found useful.&lt;/p&gt;

&lt;p&gt;Given a list of strings X,Y,Z it will return a simple string separated by comma but the last element will be separated by the string ' and ', thats it.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;def formatListforTitle(words):
  """
  This function returns a string like:
  For W,X,Y,Z
    W, X, Y and Z
  For X,Y
    X and Z
  """
  words = [s for s in words if s]
  if not words:
    return ''
  if len(words) == 1:
    listTitle = words[0]
  else:
    listTitle = ', '.join(words[:len(words) - 1]) + ' and ' + words[-1]
  return listTitle
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;This is my first post, I hope all you people like it.&lt;/p&gt;

</description>
      <category>codenewbie</category>
      <category>python</category>
    </item>
  </channel>
</rss>
