Coding – IconicTechs https://www.iconictechs.com A Problem Solving Blog Tue, 19 Mar 2024 12:20:06 +0000 en-US hourly 1 https://wordpress.org/?v=6.5.2 https://www.iconictechs.com/wp-content/uploads/2023/03/cropped-iconictechs-favicon-32x32.webp Coding – IconicTechs https://www.iconictechs.com 32 32 10 Amazing Tips To Learn Coding Like A Pro Coder? https://www.iconictechs.com/tips-to-learn-coding-like-a-pro-coder/ https://www.iconictechs.com/tips-to-learn-coding-like-a-pro-coder/#respond Fri, 22 Mar 2024 15:46:38 +0000 https://www.iconictechs.com/?p=1153 Hey Do You Face Difficulty In Learn Coding?

If Yes then this article is only for you.

In This article I’ll share some 10 proven amazing method or tips to learn coding easily or faster like a prop coder.

If you are interested in coding world, so that you can read this article carefully.

10 Best Method To Learn Coding

At this moment coding is one of the best skill in the world because every things related to technology in this world so indirectly we can say that coding is future.

If you are not interested in coding and all then you can just try learn it because this is future. So I suggest you to learn coding or programming in your part time.

Now let’s move into the main content title is 10 Amazing Tips To Learn Coding Like A Pro Coder?

Learn the Basics

Before, you begin to learn the codes. It is essential to understand the basics of what computers can do.

Why computers are so important in this era, and that’s what computer science is all about, and coding is about making computers do awesome things.

Don’t go deep into the CS, but yes get yourself familiar with the basics. You would be able to learn coding many fasters if you grasp the concepts of Computer Science.

There are a couple of courses that you can opt for to get a grasp on the basics.

You can find many free or paid courses on internet just try it

Don’t Rush. Take Your Time

Get this thing straight in your head that coding is not something that you o overnight. Your brain needs time to process anything and everything that you learn.

But, also remember that there is no denying that your brain needs break but not that much that it forgets everything that it ha learned because you took a very long break.

The key is to be consistent and patient in learning.

Never Fear To Commit Mistakes

Failure is something that most of us never want to experience. But, you can’t be successful until and unless you have not tackled failures.

Therefore, do not worry when you make mistakes while coding. It’s quite apparent. Keep yourself focused and track your progress. There is no need to hesitate.

Be slow, and Steady that’s how simple it is.

Consult & Ask For Help

It is okay to fall and commit mistakes, and there is no shame in it.

It is part of the learning process. Luckily, in today’s world of globalization, there are hundreds and millions of people who are facing the same problem, and there are hundreds and million present out there to resolve your query,

Therefore, stay curious and keep the hunger alive to know more. Reach out to platforms like Twitter and CodeNewbies and ask for your question, and you would see your issue gets resolve in no time.

Coders are so busy you can’t find any expert for your help easily so if you want to help in coding field then you have to must join Coding forum or Coding Groups in Social Media like as Facebook, Instagram…Etc..!

Their are so many experts who are live in comments section or you can also learn the new modules of coding from the social media.

Don’t run behind learning everything

When you begin learning coding, it is entirely reasonable to overwhelm and find everything very easy, which would encourage you to learn anything and everything possible. But this quest is temporary and try to save yourself from this trip.

Focus on Directing all your energy into one speciality and release all your energies into this segment. Moreover, don’t be so hard on yourself. Things do take time

Consistency is the key

Repeat, focus, practice, and be consistent. This mantra is what pays ultimately. Coding is a very tricky art, and therefore, to master this art requires continuous effort.

Give your brain time to process the things that you know and learn on an everyday basis.

Give a shot to your new skills

Now that you are mastering the art of coding, it is high time for you to apply your skills and work on new things.

This new thing could be the project that you have been thinking about for a long time.

Try to do things that are different from your course. This practice would help you to sharpen your skills.

Stay focused and be patient

Stay focused on only one set of programming languages at a time. Learning one would help things not to get messy. Once you master the one set, hop into another,

but don’t rush. Also, do not forget to take notes of everything that you learn. This habit would help.

Get Yourself a Mentor

Getting yourself a Mentor helps you tremendously. There are many times when you do not understand the concepts clearly, and these are the times when a mentor could help.

Keep a track on your progress

It is one of the best advice you can ever come across in learning coding.

Tracking your learning process helps you immensely and shall also give you an idea about what’s more needs to do. And what are the factors that need more attention?

Final Words –

I hope you understand me. These are the best points to learn coding easily like a pro coder. I know coding is a little bit tough but it is so interesting.

No one comes to learn any thing from mother’s stomach. Everyone learn any thing from this world. So Don’t worry

Thanks For reading my article

]]>
https://www.iconictechs.com/tips-to-learn-coding-like-a-pro-coder/feed/ 0
Merry Christmas 2024 Countdown Code | HTML, CSS, and Javascript https://www.iconictechs.com/merry-christmas-countdown-code/ https://www.iconictechs.com/merry-christmas-countdown-code/#respond Fri, 22 Mar 2024 13:32:43 +0000 https://www.iconictechs.com/?p=3190 So Guys Are You Looking for a Merry Christmas 2023 Countdown Code For your Christmas Projects and your work?

Then I will help you, dude.

In this article, I’ll give you a Merry Christmas 2023 Countdown Code for free so you can use it on your projects.

We use HTML, CSS & Javascript Languages for this awesome countdown. Also, We added a snow effect to this. Using Snow Effect its Design is pretty good and compatible with Christmas Theme.

Details Of Merry Christmas 2023 Countdown Code

LanguagesHTML, CSS, and JavaScript
ResponsiveYes
Downloading LinkBelow
Merry Christmas 2023 Countdown Code | HTML, CSS, and Javascript

HTML Code For Merry Christmas 2023 Countdown Code

<html><H1>Merry Christmas</H1><div class="timer">
  <div class="box">
    <h2 id="days"></h2>
    <h4>Days</h4>
  </div>
  <div class="box">
    <h2 id="hrs"></h2>
    <h4>Hours</h4>
  </div>
  <div class="box">
    <h2 id="mins"></h2>
    <h4>Minutes</h4>
  </div>
  <div class="box">
    <h2 id="secs"></h2>
    <h4>Seconds</h4>
    <body><style></html>
  #snowflakeContainer {
    position: absolute;
    left: 0px;
    top: 0px;
    display: none;
  }

  .snowflake {
    position: fixed;
    background-color: #CCC;
    user-select: none;
    z-index: 1000;
    pointer-events: none;
    border-radius: 50%;
    width: 10px;
    height: 10px;
  }
</style>

<div id="snowflakeContainer">
<span class="snowflake"></span>
</div>

<script>
  //<![CDATA[
  // Array to store our Snowflake objects
  var snowflakes = [];

  // Global variables to store our browser's window size
  var browserWidth;
  var browserHeight;

  // Specify the number of snowflakes you want visible
  var numberOfSnowflakes = 50;

  // Flag to reset the position of the snowflakes
  var resetPosition = false;

  // Handle accessibility
  var enableAnimations = false;
  var reduceMotionQuery = matchMedia("(prefers-reduced-motion)");

  // Handle animation accessibility preferences 
  function setAccessibilityState() {
    if (reduceMotionQuery.matches) {
      enableAnimations = false;
    } else { 
      enableAnimations = true;
    }
  }
  setAccessibilityState();

  reduceMotionQuery.addListener(setAccessibilityState);

  //
  // It all starts here...
  //
  function setup() {
    if (enableAnimations) {
      window.addEventListener("DOMContentLoaded", generateSnowflakes, false);
      window.addEventListener("resize", setResetFlag, false);
    }
  }
  setup();

  //
  // Constructor for our Snowflake object
  //
  function Snowflake(element, speed, xPos, yPos) {
    // set initial snowflake properties
    this.element = element;
    this.speed = speed;
    this.xPos = xPos;
    this.yPos = yPos;
    this.scale = 1;

    // declare variables used for snowflake's motion
    this.counter = 0;
    this.sign = Math.random() < 0.5 ? 1 : -1;

    // setting an initial opacity and size for our snowflake
    this.element.style.opacity = (.1 + Math.random()) / 3;
  }

  //
  // The function responsible for actually moving our snowflake
  //
  Snowflake.prototype.update = function () {
    // using some trigonometry to determine our x and y position
    this.counter += this.speed / 5000;
    this.xPos += this.sign * this.speed * Math.cos(this.counter) / 40;
    this.yPos += Math.sin(this.counter) / 40 + this.speed / 30;
    this.scale = .5 + Math.abs(10 * Math.cos(this.counter) / 20);

    // setting our snowflake's position
    setTransform(Math.round(this.xPos), Math.round(this.yPos), this.scale, this.element);

    // if snowflake goes below the browser window, move it back to the top
    if (this.yPos > browserHeight) {
      this.yPos = -50;
    }
  }

  //
  // A performant way to set your snowflake's position and size
  //
  function setTransform(xPos, yPos, scale, el) {
    el.style.transform = `translate3d(${xPos}px, ${yPos}px, 0) scale(${scale}, ${scale})`;
  }

  //
  // The function responsible for creating the snowflake
  //
  function generateSnowflakes() {

    // get our snowflake element from the DOM and store it
    var originalSnowflake = document.querySelector(".snowflake");

    // access our snowflake element's parent container
    var snowflakeContainer = originalSnowflake.parentNode;
    snowflakeContainer.style.display = "block";

    // get our browser's size
    browserWidth = document.documentElement.clientWidth;
    browserHeight = document.documentElement.clientHeight;

    // create each individual snowflake
    for (var i = 0; i < numberOfSnowflakes; i++) {

      // clone our original snowflake and add it to snowflakeContainer
      var snowflakeClone = originalSnowflake.cloneNode(true);
      snowflakeContainer.appendChild(snowflakeClone);

      // set our snowflake's initial position and related properties
      var initialXPos = getPosition(50, browserWidth);
      var initialYPos = getPosition(50, browserHeight);
      var speed = 5 + Math.random() * 40;

      // create our Snowflake object
      var snowflakeObject = new Snowflake(snowflakeClone,
        speed,
        initialXPos,
        initialYPos);
      snowflakes.push(snowflakeObject);
    }

    // remove the original snowflake because we no longer need it visible
    snowflakeContainer.removeChild(originalSnowflake);

    moveSnowflakes();
  }

  //
  // Responsible for moving each snowflake by calling its update function
  //
  function moveSnowflakes() {

    if (enableAnimations) {
      for (var i = 0; i < snowflakes.length; i++) {
        var snowflake = snowflakes[i];
        snowflake.update();
      }      
    }

    // Reset the position of all the snowflakes to a new value
    if (resetPosition) {
      browserWidth = document.documentElement.clientWidth;
      browserHeight = document.documentElement.clientHeight;

      for (var i = 0; i < snowflakes.length; i++) {
        var snowflake = snowflakes[i];

        snowflake.xPos = getPosition(50, browserWidth);
        snowflake.yPos = getPosition(50, browserHeight);
      }

      resetPosition = false;
    }

    requestAnimationFrame(moveSnowflakes);
  }

  //
  // This function returns a number between (maximum - offset) and (maximum + offset)
  //
  function getPosition(offset, size) {
    return Math.round(-1 * offset + Math.random() * (size + 2 * offset));
  }

  //
  // Trigger a reset of all the snowflakes' positions
  //
  function setResetFlag(e) {
    resetPosition = true;
  }
  //]]>
</script></body>
  </div>
</div>

CSS Code For Merry Christmas 2023 Countdown

* {
    margin: 0;
    padding: 0;
    font-family: 'poppins', sans-serif;
}
H1 {
    position: relative;
    background-color: #FFF;
    color: #0F4C75;
    height: 50px;
    width: 140px;
    margin: 4px;
    font-size: 1.1rem;
    text-align: center;
    box-shadow: 2px 12px 18px 4px #333;
}
body {
    background-color: #0F4C75;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    align-items: center;
}

.timer {
    display: flex;
}

.box {
    position: relative;
    background-color: #FFF;
    color: #1B262C;
    height: 140px;
    width: 140px;
    margin: 4px;
    font-size: 3.2rem;
    text-align: center;
    box-shadow: 2px 12px 18px 4px #333;
}

.box h4 {
    position: absolute;
    bottom: 0;
    background-color: #3282B8;
    width: 100%;
    color: #FFF;
    text-transform: uppercase;
    font-size: 1.0rem;
    padding: 8px 0;
}

JavaScript Code For Merry Christmas 2023 Countdown

var countDownDate = new Date("Dec 25, 2022 00:00:00").getTime();

var x = setInterval(function() {
  var now = new Date().getTime();
  var distance = countDownDate - now;
  
  var days = Math.floor(distance / (1000 * 60 * 60 * 24));
  
  var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
  
  var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
  
  var seconds = Math.floor((distance % (1000 * 60)) / 1000);
                
    document.getElementById("days").innerHTML = days;
                
          document.getElementById("hrs").innerHTML = hours;
                
                document.getElementById("mins").innerHTML = minutes;
                
                document.getElementById("secs").innerHTML = seconds;
}, 1000);

Result from Merry Christmas 2023 Countdown

See the Pen Merry Christmas 2022 Countdown Code | HTML, CSS, and Javascript by Sahitya Porwal (@sahityaporwal) on CodePen.

]]>
https://www.iconictechs.com/merry-christmas-countdown-code/feed/ 0
Create New Year 2025 Countdown Code | HTML, CSS, and Javascript https://www.iconictechs.com/create-new-year-countdown-code/ https://www.iconictechs.com/create-new-year-countdown-code/#respond Fri, 22 Mar 2024 13:31:07 +0000 https://www.iconictechs.com/?p=3169 In This Post, I’ll give you New Year 2023 Countdown Javascript code so that you can create a Countdown For Happy New Year 2023.

Also, You Can Use This Countdown for your Personal Projects If you need any countdown then you can use this script.

New Year Countdown Code Details

Written ByUnknown
LanguagesHTML, CSS, and JavaScript
ResponsiveYes
Downloading LinkBelow
New Year 2023 Countdown Code Details

HTML Code For New Year Countdown

<div class="timer">
  <div class="box">
    <h2 id="days"></h2>
    <h4>Days</h4>
  </div>
  <div class="box">
    <h2 id="hrs"></h2>
    <h4>Hours</h4>
  </div>
  <div class="box">
    <h2 id="mins"></h2>
    <h4>Minutes</h4>
  </div>
  <div class="box">
    <h2 id="secs"></h2>
    <h4>Seconds</h4>
  </div>
</div>

CSS Code For New Year Countdown

* {
    margin: 0;
    padding: 0;
    font-family: 'Lato Black', sans-serif;
}

body {
    background-color: #0F4C75;
    display: flex;
    justify-content: center;
    min-height: 100vh;
    align-items: center;
}

.timer {
    display: flex;
}

.box {
    position: relative;
    background-color: #FFF;
    color: #1B262C;
    height: 140px;
    width: 140px;
    margin: 4px;
    font-size: 3.2rem;
    text-align: center;
    box-shadow: 2px 12px 18px 4px #333;
}

.box h4 {
    position: absolute;
    bottom: 0;
    background-color: #3282B8;
    width: 100%;
    color: #FFF;
    text-transform: uppercase;
    font-size: 1.4rem;
    padding: 8px 0;
}

Javascript Code For New Year Countdown 2023

var countDownDate = new Date("Jan 1, 2023 00:00:00").getTime();

var x = setInterval(function() {
  var now = new Date().getTime();
  var distance = countDownDate - now;
  
  var days = Math.floor(distance / (1000 * 60 * 60 * 24));
  
  var hours = Math.floor((distance % (1000 * 60 * 60 * 24)) / (1000 * 60 * 60));
  
  var minutes = Math.floor((distance % (1000 * 60 * 60)) / (1000 * 60));
  
  var seconds = Math.floor((distance % (1000 * 60)) / 1000);
                
    document.getElementById("days").innerHTML = days;
                
          document.getElementById("hrs").innerHTML = hours;
                
                document.getElementById("mins").innerHTML = minutes;
                
                document.getElementById("secs").innerHTML = seconds;
}, 1000);

Result New Year Countdown 2023

See the Pen Countdown Timer (New Year 2023) by Aqueel Md (@aqueel) on CodePen.

I hope guys you find a working Countdown code for New Year 2023. If You have any suggestions then you can share them with us via the comment section.

]]>
https://www.iconictechs.com/create-new-year-countdown-code/feed/ 0