<?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: mahimahi</title>
    <description>The latest articles on DEV Community by mahimahi (@mahi86688).</description>
    <link>https://dev.to/mahi86688</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%2F989225%2F23d8b75f-a8f6-4e19-bfbc-b2cbd65bbb52.png</url>
      <title>DEV Community: mahimahi</title>
      <link>https://dev.to/mahi86688</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/mahi86688"/>
    <language>en</language>
    <item>
      <title>I'm geting this Error while debugging in console like Uncaught TypeError: Cannot set properties of null (setting 'textContent')</title>
      <dc:creator>mahimahi</dc:creator>
      <pubDate>Tue, 13 Dec 2022 07:03:46 +0000</pubDate>
      <link>https://dev.to/mahi86688/im-geting-this-error-while-debugging-in-console-like-uncaught-typeerror-cannot-set-properties-of-null-setting-textcontent-2i7a</link>
      <guid>https://dev.to/mahi86688/im-geting-this-error-while-debugging-in-console-like-uncaught-typeerror-cannot-set-properties-of-null-setting-textcontent-2i7a</guid>
      <description>&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight plaintext"&gt;&lt;code&gt;&amp;lt;!DOCTYPE html&amp;gt;
&amp;lt;html&amp;gt;
  &amp;lt;head&amp;gt;
    &amp;lt;link rel="stylesheet" href="bomb.css" &amp;gt;
    &amp;lt;link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/css/bootstrap.min.css" integrity="sha384-JcKb8q3iqJ61gNV9KGb8thSsNjpSL0n8PARn9HuZOnIxN0hoP+VmmDGMN5t9UJ0Z" crossorigin="anonymous" /&amp;gt;
    &amp;lt;script src="https://code.jquery.com/jquery-3.5.1.slim.min.js" integrity="sha384-DfXdz2htPH0lsSSs5nCTpuj/zy4C+OGpamoFVy38MVBnE+IbbVYUew+OrCXaRkfj" crossorigin="anonymous"&amp;gt;&amp;lt;/script&amp;gt;
    &amp;lt;script src="https://cdn.jsdelivr.net/npm/popper.js@1.16.1/dist/umd/popper.min.js" integrity="sha384-9/reFTGAW83EW2RDu2S0VKaIzap3H66lZH81PoYlFhbGU+6BZp6G7niu735Sk7lN" crossorigin="anonymous"&amp;gt;&amp;lt;/script&amp;gt;
    &amp;lt;script src="https://stackpath.bootstrapcdn.com/bootstrap/4.5.2/js/bootstrap.min.js" integrity="sha384-B4gt1jrGC7Jh4AgTPSdUtOBvfO8shuf57BaghqFfPlYxofvL8/KUEfYiJOMMV+rV" crossorigin="anonymous"&amp;gt;&amp;lt;/script&amp;gt;
  &amp;lt;/head&amp;gt;
  &amp;lt;body&amp;gt;
    &amp;lt;script src='bomb.js'&amp;gt;&amp;lt;/script&amp;gt;
    &amp;lt;div class="timer-container"&amp;gt;

      &amp;lt;input type="text" class="user-input" id="defuser" /&amp;gt;
      &amp;lt;br /&amp;gt;
      &amp;lt;img
        src="https://d1tgh8fmlzexmh.cloudfront.net/ccbp-dynamic-webapps/time-bomb-img.png"
        class="bomb-image"
      /&amp;gt;
      &amp;lt;p class="timer-display" id="timer"&amp;gt;10&amp;lt;/p&amp;gt;
    &amp;lt;/div&amp;gt;
  &amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





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

@import url("https://fonts.googleapis.com/css2?family=Bree+Serif&amp;amp;family=Monoton&amp;amp;family=Open+Sans:wght@400;700&amp;amp;family=Playfair+Display+SC:wght@400;700&amp;amp;family=Playfair+Display:wght@400;700&amp;amp;family=Roboto:wght@400;700&amp;amp;family=Source+Sans+Pro:wght@400;700&amp;amp;family=Work+Sans:wght@400;700&amp;amp;display=swap");

.timer-container {
  background-color: #00bafc;
  padding: 20px;
  text-align: center;
  height: 100vh;
}

.timer-display {
  font-size: 50px;
  color: white;
}

.user-input {
  border-width: 0px;
  border-radius: 4px;
  padding: 6px;
  text-align: center;
}

.bomb-image {
  margin-top: 40px;
  width: 150px;
}
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;





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

let timerEle = document.getElementById('timer');
let countdown = 10;
let intervalId = setInterval(function(){
    countdown = countdown - 1;
    timerEle.textContent = countdown;
},1000);

Can someone help me on this.
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>gratitude</category>
    </item>
  </channel>
</rss>
