<?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: Benjamin Wehner</title>
    <description>The latest articles on DEV Community by Benjamin Wehner (@b3nnu3).</description>
    <link>https://dev.to/b3nnu3</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%2F189382%2F7708262a-af7a-4179-8cf6-5cb872791a97.png</url>
      <title>DEV Community: Benjamin Wehner</title>
      <link>https://dev.to/b3nnu3</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/b3nnu3"/>
    <language>en</language>
    <item>
      <title>Label as input-placeholder and autofill</title>
      <dc:creator>Benjamin Wehner</dc:creator>
      <pubDate>Mon, 27 Apr 2020 09:48:00 +0000</pubDate>
      <link>https://dev.to/etribes/label-as-input-placeholder-and-autofill-5cmm</link>
      <guid>https://dev.to/etribes/label-as-input-placeholder-and-autofill-5cmm</guid>
      <description>&lt;p&gt;Everybody knows the fancy input placeholders that will move out of the input-field if you set the focus on it. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F4asst7oc8kntfd7vrrwz.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2F4asst7oc8kntfd7vrrwz.jpg" alt="Input with label as placeholder" width="400" height="400"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;So it's relatively easy:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nt"&gt;input&lt;/span&gt;&lt;span class="nd"&gt;:focus&lt;/span&gt; &lt;span class="o"&gt;~&lt;/span&gt; &lt;span class="nt"&gt;label&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="c"&gt;/* ..do stuff*/&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;input&lt;/span&gt; &lt;span class="na"&gt;id=&lt;/span&gt;&lt;span class="s"&gt;"user"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&amp;lt;label&lt;/span&gt; &lt;span class="na"&gt;for=&lt;/span&gt;&lt;span class="s"&gt;"user"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;Input&lt;span class="nt"&gt;&amp;lt;/label&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  The problem
&lt;/h2&gt;

&lt;p&gt;If your page is ssl encrypted and the user has used &lt;br&gt;
your login-form before. The browsers will autofill your form. &lt;/p&gt;

&lt;p&gt;But they wont really fill your form. Its just a preview. &lt;br&gt;
And they will do it on page-load they dont need the focus.&lt;br&gt;&lt;br&gt;
If you use javascript to check if the form-value is filled, it will appear empty. &lt;/p&gt;

&lt;p&gt;And in the end, the filled in preview-data, will overlap your label-/placeholder. &lt;/p&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fenf3qh5jlg49msn8b12c.jpg" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fi%2Fenf3qh5jlg49msn8b12c.jpg" alt="Input with overlapping text" width="400" height="200"&gt;&lt;/a&gt;&lt;/p&gt;
&lt;h2&gt;
  
  
  The Solution
&lt;/h2&gt;

&lt;p&gt;To prevent this, you could use a construct like the following.&lt;br&gt;
So you will check for the placeholder. You should also set the color of the input-placeholder to transparent.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight css"&gt;&lt;code&gt;&lt;span class="nt"&gt;input&lt;/span&gt;&lt;span class="nd"&gt;:not&lt;/span&gt;&lt;span class="o"&gt;(&lt;/span&gt;&lt;span class="nd"&gt;:placeholder-shown&lt;/span&gt;&lt;span class="o"&gt;)&lt;/span&gt; &lt;span class="o"&gt;~&lt;/span&gt; &lt;span class="nt"&gt;label&lt;/span&gt;&lt;span class="o"&gt;,&lt;/span&gt;
&lt;span class="nt"&gt;input&lt;/span&gt;&lt;span class="nd"&gt;:focus&lt;/span&gt; &lt;span class="o"&gt;~&lt;/span&gt; &lt;span class="nt"&gt;label&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;&lt;span class="c"&gt;/* ..do stuff*/&lt;/span&gt;&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight html"&gt;&lt;code&gt;&lt;span class="nt"&gt;&amp;lt;input&lt;/span&gt; &lt;span class="na"&gt;placeholder=&lt;/span&gt;&lt;span class="s"&gt;"input"&lt;/span&gt; &lt;span class="na"&gt;id=&lt;/span&gt;&lt;span class="s"&gt;"user"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&amp;lt;label&lt;/span&gt; &lt;span class="na"&gt;for=&lt;/span&gt;&lt;span class="s"&gt;"user"&lt;/span&gt;&lt;span class="nt"&gt;&amp;gt;&lt;/span&gt;Input&lt;span class="nt"&gt;&amp;lt;/label&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Hope that will help somebody. :D &lt;/p&gt;

</description>
      <category>css</category>
      <category>frontend</category>
    </item>
    <item>
      <title>Welcome - This is the DevRound</title>
      <dc:creator>Benjamin Wehner</dc:creator>
      <pubDate>Mon, 09 Mar 2020 10:28:51 +0000</pubDate>
      <link>https://dev.to/etribes/welcome-this-is-the-devround-58kd</link>
      <guid>https://dev.to/etribes/welcome-this-is-the-devround-58kd</guid>
      <description>&lt;p&gt;Moin, I'm Benny, webdeveloper at Etribes. &lt;br&gt;
We are a consulting-/tech-agency from Hamburg. &lt;br&gt;
Our goal is to digitize germany.&lt;br&gt;
Currently, we are about 30 tech-people, still growing.   &lt;/p&gt;

&lt;h3&gt;
  
  
  As our first post, I want to present you the DevRound.
&lt;/h3&gt;

&lt;p&gt;The DevRound is a meeting for all tech related people from Etribes.&lt;br&gt;&lt;br&gt;
Every Friday we have these one hour together. Where we socialize,&lt;br&gt;
talk about our current- or private work or present awesome stuff.        &lt;/p&gt;

&lt;h2&gt;
  
  
  How it works:
&lt;/h2&gt;

&lt;p&gt;Everything has to be handled within one hour.&lt;br&gt;
On each meeting we decide who will be the next moderator and protocol-keeper. &lt;br&gt;
Only the current moderator is allowed to use a laptop.&lt;br&gt;
We have a strict agenda:  &lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;How are you?&lt;/li&gt;
&lt;li&gt;News from lead-round&lt;/li&gt;
&lt;li&gt;HR Update&lt;/li&gt;
&lt;li&gt;Topics of the Week&lt;/li&gt;
&lt;li&gt;Tasks from last Dev Round&lt;/li&gt;
&lt;li&gt;"Nice and Dirty" of the week&lt;/li&gt;
&lt;/ol&gt;

&lt;h3&gt;
  
  
  1. How are you?:
&lt;/h3&gt;

&lt;p&gt;The more emotional part. Every developer is asked these question.&lt;br&gt;
Say a number from one to six to present your current mood. Like in the german school-system, one is the best.&lt;br&gt;
What makes you happy, what lets you feel bad. Say what you want, nothing will leave the room.&lt;br&gt;
Except you want it. &lt;/p&gt;

&lt;h3&gt;
  
  
  2. News from lead-round:
&lt;/h3&gt;

&lt;p&gt;Need more information here. Our company is splitted into &lt;em&gt;tribes&lt;/em&gt; (tech-,consultant-,PO-,Scaling-).&lt;br&gt;
So once in a week also the tribe-leads meet to discuss company-wide topics. &lt;/p&gt;

&lt;p&gt;We try to be as transparent as possible. So our tribe-lead tells us all the news from this round. &lt;/p&gt;

&lt;h3&gt;
  
  
  3. HR Update:
&lt;/h3&gt;

&lt;p&gt;Did we had some awesome new meetings with possible new candidates? &lt;br&gt;
Did someone say, yes I will. Or did we have some people that changed they're minds? &lt;br&gt;
We try also to collect ideas for how to make the current process better. &lt;/p&gt;

&lt;h3&gt;
  
  
  4. Topics of the Week:
&lt;/h3&gt;

&lt;p&gt;Every tech-tribe-member has the chance to add topics over the week. &lt;br&gt;
At the beginning we will sort them and after that we discuss every topic. &lt;br&gt;
And it could be everything. &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Like you heard about this new fancy js lib? &lt;/li&gt;
&lt;li&gt;See what fancy Iot I build at home. &lt;/li&gt;
&lt;li&gt;We need FritzCola instead of Coke.&lt;/li&gt;
&lt;li&gt;I want to show you PSR11.&lt;/li&gt;
&lt;li&gt;What notebooks should a new techTribeMember use? &lt;/li&gt;
&lt;li&gt;What will be our next teamEvent? &lt;/li&gt;
&lt;li&gt;Don't write codeToDoComments without a ticketNumber.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;I think you could see, everything is allowed. That is a lot of fun. &lt;br&gt;
Because you never know what this meeting is about in detail. &lt;br&gt;
Also, the chance to learn new things is very high. &lt;/p&gt;

&lt;h3&gt;
  
  
  5. Tasks from last Dev Round:
&lt;/h3&gt;

&lt;p&gt;As we discuss topics, we will sometimes create some tasks. &lt;br&gt;
&lt;em&gt;Like creating these blogPost.&lt;/em&gt; Someone will be assigned and has to do it, in the best case until the next DevRound. &lt;br&gt;
Tasks also could be everything, organize a date for a teamEvent or prepare a presentation for the next DevRound. &lt;/p&gt;

&lt;h3&gt;
  
  
  6. Nice and Dirty of the week:
&lt;/h3&gt;

&lt;p&gt;We build the most of our software on top of Shopware and Spryker, so we see a lot of code from developers outside of the company. &lt;br&gt;
So if we see something dirty we want to blame someone. And as we don't blame ourselves, we do it with code from remote developers ;) &lt;br&gt;
Its like a peer-code-review. We always try to make it better. &lt;br&gt;
Sometimes if someone is very proud of his/her code, she/he will also present it on the DevRound. &lt;/p&gt;

&lt;h3&gt;
  
  
  Additional things:
&lt;/h3&gt;

&lt;p&gt;We always try to get all developers together. Even if they are in another country, we try to reach them via video-chat. &lt;/p&gt;




&lt;p&gt;I hope this helps to get you a small blink of how we work and handle our team. &lt;br&gt;
How do you handle this kind of things?  &lt;/p&gt;

</description>
      <category>agileteams</category>
      <category>teambuilding</category>
    </item>
  </channel>
</rss>
