<?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: Rajab Mohamed</title>
    <description>The latest articles on DEV Community by Rajab Mohamed (@ragabmohamedragab).</description>
    <link>https://dev.to/ragabmohamedragab</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%2F1031025%2Ff4dbafd2-b104-4b61-ac30-f6881ac11ae2.jpeg</url>
      <title>DEV Community: Rajab Mohamed</title>
      <link>https://dev.to/ragabmohamedragab</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/ragabmohamedragab"/>
    <language>en</language>
    <item>
      <title>Difference between textContent vs innerText</title>
      <dc:creator>Rajab Mohamed</dc:creator>
      <pubDate>Wed, 01 Mar 2023 16:00:02 +0000</pubDate>
      <link>https://dev.to/ragabmohamedragab/difference-between-textcontent-vs-innertext-16do</link>
      <guid>https://dev.to/ragabmohamedragab/difference-between-textcontent-vs-innertext-16do</guid>
      <description>&lt;ol&gt;
&lt;li&gt;&lt;p&gt;innerText was non-standard, textContent was standardized earlier.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;innerText returns the visible text contained in a node, while textContent returns the full text. For example, on the following HTML&lt;br&gt;
&lt;code&gt;&amp;lt;span&amp;gt;Hello &amp;lt;span style="display: none;"&amp;gt;World&amp;lt;/span&amp;gt;&amp;lt;/span&amp;gt;&lt;/code&gt;&lt;br&gt;
innerText will return 'Hello', while textContent will return 'Hello World'.&lt;/p&gt;&lt;/li&gt;
&lt;li&gt;&lt;p&gt;As a result, innerText is much more performance-heavy: it requires layout information to return the result.&lt;/p&gt;&lt;/li&gt;
&lt;/ol&gt;

</description>
      <category>java</category>
      <category>architecture</category>
      <category>beginners</category>
      <category>learning</category>
    </item>
  </channel>
</rss>
