<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Dhanushigan on Medium]]></title>
        <description><![CDATA[Stories by Dhanushigan on Medium]]></description>
        <link>https://medium.com/@iamdhanu0?source=rss-a039312c2ad1------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*UGaAgnQzyoioHiJL</url>
            <title>Stories by Dhanushigan on Medium</title>
            <link>https://medium.com/@iamdhanu0?source=rss-a039312c2ad1------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 06 Dec 2026 21:26:19 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@iamdhanu0/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Understanding JavaScript Logic: Conditionals, Loops, Functions, and Arrow Functions]]></title>
            <link>https://medium.com/@iamdhanu0/understanding-javascript-logic-conditionals-loops-functions-and-arrow-functions-79c04764a349?source=rss-a039312c2ad1------2</link>
            <guid isPermaLink="false">https://medium.com/p/79c04764a349</guid>
            <dc:creator><![CDATA[Dhanushigan]]></dc:creator>
            <pubDate>Thu, 03 Dec 2026 00:34:48 GMT</pubDate>
            <atom:updated>2026-12-03T00:35:45.508Z</atom:updated>
            <content:encoded><![CDATA[<p>When I started learning JavaScript, I realised that programming is not just about writing instructions for a computer. It is also about teaching a computer how to make decisions, repeat tasks, and organise instructions in a meaningful way.<br>During my learning journey, I explored four important JavaScript concepts: conditionals, loops, functions, and arrow functions. These concepts helped me understand how JavaScript programs work and how developers write organised and reusable code.<br>1. Conditionals – Teaching a Program to Make Decisions<br>In our daily lives, we make decisions based on different situations. For example, if it rains, we take an umbrella. Otherwise, we go outside without one.<br>JavaScript works in a similar way. Conditional statements allow a program to make decisions based on whether a condition is true or false.<br>The main conditional structures include if, else if, and else.<br>let marks = 75;</p><p>if (marks &gt;= 75) {<br> console.log(&quot;Excellent&quot;);<br>} else if (marks &gt;= 50) {<br> console.log(&quot;Pass&quot;);<br>} else {<br> console.log(&quot;Fail&quot;);<br>}</p><p>In this example, JavaScript checks the student&#39;s marks and displays a message depending on the result.<br>I understood that conditionals help programs follow different paths depending on the situation. Instead of executing the same instructions every time, a program can respond differently to different conditions.<br>Another useful conditional structure is the switch statement, which helps when we need to compare one value against several possible cases.<br>2. Loops – Reducing Repetitive Work<br>Imagine printing numbers from 1 to 100. Writing 100 separate instructions would take unnecessary time.<br>This is where loops become useful.<br>Loops allow us to execute a block of code repeatedly while a particular condition is satisfied.<br>JavaScript provides different types of loops, such as:<br>for loop<br>while loop<br>do...while loop<br>for...of loop<br>For example:<br>for (let i = 1; i &lt;= 5; i++) {<br> console.log(i);<br>}</p><p>The output is:<br>1<br>2<br>3<br>4<br>5</p><p>The loop starts with the value 1, checks the condition, executes the code, and increases the value by one. This process continues until the condition becomes false.<br>One important thing I learned is that loops must have proper conditions. Otherwise, we may accidentally create an infinite loop that continues running without stopping.<br>Loops make repetitive tasks easier and help reduce unnecessary code.<br>3. Functions – Making Code Reusable<br>As programs become larger, writing the same instructions repeatedly can make the code difficult to manage.<br>Functions help solve this problem. They allow us to group instructions into reusable blocks that perform specific tasks.<br>For example:<br>function addNumbers(a, b) {<br> return a + b;<br>}</p><p>let result = addNumbers(10, 20);</p><p>console.log(result);</p><p>Output:<br>30</p><p>Here, a and b are parameters, while 10 and 20 are arguments passed when calling the function.<br>One interesting thing I learned is that defining a function and calling a function are two different actions. Defining a function describes what it should do, while calling it executes the instructions.<br>Functions help developers organise their code, avoid unnecessary repetition, and make programs easier to maintain.<br>4. Arrow Functions – A Shorter Way to Write Functions<br>After understanding traditional functions, I explored arrow functions.<br>Arrow functions provide a shorter syntax for writing function expressions in JavaScript.<br>Let&#39;s compare the two approaches.<br>Traditional function:<br>function multiply(a, b) {<br> return a * b;<br>}</p><p>Arrow function:<br>const multiply = (a, b) =&gt; {<br> return a * b;<br>};</p><p>We can also write it in a shorter form when the function contains only one expression:<br>const multiply = (a, b) =&gt; a * b;</p><p>Both examples perform the same multiplication task.<br>However, I learned that arrow functions are not simply replacements for traditional functions. They have different behaviour, particularly when using this, and they cannot be used as constructors.<br>This helped me understand that shorter code is not always the best choice. We should choose the appropriate function type depending on the task.</p><p>Resource:-mdn</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=79c04764a349" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Learning the Art of Ideation and Problem Solving in the Real World]]></title>
            <link>https://medium.com/@iamdhanu0/learning-the-art-of-ideation-and-problem-solving-in-the-real-world-9e23ac54d113?source=rss-a039312c2ad1------2</link>
            <guid isPermaLink="false">https://medium.com/p/9e23ac54d113</guid>
            <category><![CDATA[problem-solving]]></category>
            <category><![CDATA[ideas]]></category>
            <dc:creator><![CDATA[Dhanushigan]]></dc:creator>
            <pubDate>Thu, 26 Nov 2026 15:40:07 GMT</pubDate>
            <atom:updated>2026-11-26T15:40:07.170Z</atom:updated>
            <content:encoded><![CDATA[<p>Today, I had an interesting session about Idea Creation and Real-World Problem Solving with Vithu Anna, who joined us from Toronto, Canada, and works with the Innovative Club. During the session, I learned how to identify real-world problems and understand whether they are worth solving. One of the main things I learned was that problems are everywhere around us, especially in northern areas such as farming, fishing, small shops, tuition classes, transportation and even families living abroad. We discussed several everyday problems, including phone addiction, unhealthy food routines, the lack of QR payment facilities in local shops, poor business connections and hotel food waste. These examples helped me understand that even small issues in our communities can become opportunities for creating useful solutions.<br>Another important topic we discussed was how to identify whether a problem is worth solving. We considered six main factors: Real, Often, Painful, Already Trying, Reachable and Buildable. In simple terms, we need to check whether the problem actually exists, happens regularly, causes people to lose time or money or experience stress, and whether people are already trying to solve it. We should also consider whether we can reach those people to understand their difficulties and whether we can realistically build a solution within our available time and resources. We also learned about Design Thinking and its five steps: Empathize, Define, Ideate, Prototype and Test. This process helps us understand people’s needs, clearly identify the problem, generate ideas, create a basic version of a solution and test it with real users to get feedback.<br>My biggest takeaway from this session was that problem-solving is not just about creating something new; it is about understanding people’s actual difficulties and finding meaningful ways to help them. Before developing an idea, we should communicate with people, observe their situations and make sure the problem is worth solving. I realised that we don’t need to create something complicated or huge to make a difference. Even a simple solution that saves someone’s time, money or stress can have a real impact. This session changed the way I think about idea creation, and I want to improve my ability to observe problems around me and turn those problems into practical solutions.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9e23ac54d113" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Understanding Domain Names and DNS]]></title>
            <link>https://medium.com/@iamdhanu0/understanding-domain-names-and-dns-6ebb634893d7?source=rss-a039312c2ad1------2</link>
            <guid isPermaLink="false">https://medium.com/p/6ebb634893d7</guid>
            <dc:creator><![CDATA[Dhanushigan]]></dc:creator>
            <pubDate>Tue, 17 Nov 2026 16:10:12 GMT</pubDate>
            <atom:updated>2026-11-17T16:10:12.371Z</atom:updated>
            <content:encoded><![CDATA[<p>Imagine opening a website by typing uki.lk into your browser. You don’t need to remember a long series of numbers or know where the website is stored. You simply enter its name, and the website appears on your screen. But have you ever wondered how your computer knows where to find that website? The answer is DNS (Domain Name System).<br>A domain name is the human-readable address of a website. For example, google.com, youtube.com, and uki.lk are domain names. Computers, however, communicate with servers using IP addresses, such as 192.0.2.1. Remembering numbers for every website would be difficult, so DNS was created to connect easy-to-remember domain names with their corresponding IP addresses.<br>DNS works like the contact list on your mobile phone. Instead of remembering someone’s phone number, you save their name and search for it whenever you want to make a call. Similarly, when you type uki.lk into your browser, DNS helps find the IP address associated with that domain name.<br>Here is how the process works. First, you enter uki.lk into your browser. Your computer checks whether it already knows the IP address from a previous visit. If it does not, it sends a request to a DNS resolver, usually provided by your internet service provider or a public DNS service. The resolver searches for the correct address by contacting different DNS servers. It may first contact a Root DNS Server, which directs it to the appropriate Top-Level Domain (TLD) server. In this example, .lk is the country-code top-level domain for Sri Lanka. The resolver then contacts the .lk DNS server to find the authoritative DNS server responsible for uki.lk. Finally, that server provides the required IP address.<br>Once the IP address is found, the DNS resolver sends it back to your computer. Your browser then uses that address to connect to the website’s server and request its content. The server responds by sending the website’s information, which your browser displays on your screen. All these steps usually happen within seconds.<br>It is also important to understand that a domain name and web hosting are not the same thing. A domain name is the website’s address, while web hosting is the service that stores the website’s files and makes them available online. DNS connects the domain name to the correct server.<br>In simple terms, DNS is like the internet’s phonebook. It allows people to access websites using easy-to-remember names instead of complicated IP addresses. Without DNS, browsing the internet would be much more difficult and less convenient. The next time you type a website name into your browser, remember that a small but powerful system called DNS is working behind the scenes to take you to the right destination.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=6ebb634893d7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[How Do Images, Videos and Audio Work in HTML?]]></title>
            <link>https://medium.com/@iamdhanu0/how-do-images-videos-and-audio-work-in-html-3360122ca27c?source=rss-a039312c2ad1------2</link>
            <guid isPermaLink="false">https://medium.com/p/3360122ca27c</guid>
            <dc:creator><![CDATA[Dhanushigan]]></dc:creator>
            <pubDate>Thu, 12 Nov 2026 13:05:53 GMT</pubDate>
            <atom:updated>2026-11-12T13:05:53.370Z</atom:updated>
            <content:encoded><![CDATA[<p>The internet would be a very boring place if websites contained only text. Imagine visiting YouTube without videos, Instagram without pictures, or a music website without audio. Images, videos, and audio make websites more attractive, interactive, and enjoyable. HTML (HyperText Markup Language) provides special elements that allow developers to add these different types of media to web pages.</p><p>Images in HTML</p><p>Images help users understand information visually and make websites more attractive. HTML uses the &quot;&lt;img&gt;&quot; tag to display images on a webpage. The &quot;src&quot; attribute specifies the image location, while the &quot;alt&quot; attribute provides alternative text that describes the image if it cannot be displayed. The &quot;width&quot; and &quot;height&quot; attributes can also control the image size. For example, &quot;&lt;img src=&quot;photo.jpg&quot; alt=&quot;A beautiful landscape&quot; width=&quot;400&quot;&gt;&quot; displays an image on a webpage. The &quot;&lt;img&gt;&quot; tag does not require a closing tag.</p><p>Videos in HTML</p><p>Videos allow website owners to share tutorials, advertisements, entertainment, and educational content directly on their websites. HTML5 introduced the &quot;&lt;video&gt;&quot; element, which allows developers to play videos without depending on external plugins. The &quot;src&quot; attribute specifies the video file, while the &quot;controls&quot; attribute displays playback options such as play, pause, volume, and fullscreen. For example, &quot;&lt;video width=&quot;500&quot; controls&gt;&lt;source src=&quot;video.mp4&quot; type=&quot;video/mp4&quot;&gt;Your browser does not support the video tag.&lt;/video&gt;&quot; adds a video player to a webpage. Developers can also use attributes such as &quot;autoplay&quot;, &quot;muted&quot;, &quot;loop&quot;, and &quot;poster&quot; to control video behaviour and appearance.</p><p>Audio in HTML</p><p>Audio makes websites more engaging by allowing users to listen to music, podcasts, interviews, voice recordings, and other sound content. HTML uses the &quot;&lt;audio&gt;&quot; element to add sound to a webpage. Similar to videos, the &quot;controls&quot; attribute provides options to play, pause, adjust the volume, and control playback. For example, &quot;&lt;audio controls&gt;&lt;source src=&quot;music.mp3&quot; type=&quot;audio/mpeg&quot;&gt;Your browser does not support the audio element.&lt;/audio&gt;&quot; creates an audio player on a webpage. Developers can also use &quot;autoplay&quot;, &quot;muted&quot;, and &quot;loop&quot; to control how audio behaves.</p><p>How Does the Browser Display These Media Files?</p><p>When a user opens a website, the browser reads the HTML code and identifies the media elements. It then uses the file locations provided in the &quot;src&quot; attributes to find and load the required images, videos, or audio files. The browser processes the supported file formats and displays or plays the content on the webpage. If a file is missing or the browser does not support its format, the media may not work correctly.</p><p>Conclusion</p><p>Images, videos, and audio are important parts of modern web development. HTML makes it easy to include these media elements using simple tags such as &quot;&lt;img&gt;&quot;, &quot;&lt;video&gt;&quot;, and &quot;&lt;audio&gt;&quot;. Understanding these elements is an important step for anyone learning HTML and building modern websites. With these tools, developers can create websites that are not only informative but also visually attractive and enjoyable for users.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3360122ca27c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Email – A Simple Way to Connect the World]]></title>
            <link>https://medium.com/@iamdhanu0/email-a-simple-way-to-connect-the-world-def3ff831dbf?source=rss-a039312c2ad1------2</link>
            <guid isPermaLink="false">https://medium.com/p/def3ff831dbf</guid>
            <dc:creator><![CDATA[Dhanushigan]]></dc:creator>
            <pubDate>Thu, 05 Nov 2026 15:49:28 GMT</pubDate>
            <atom:updated>2026-11-05T15:49:28.972Z</atom:updated>
            <content:encoded><![CDATA[<h3>Imagine being able to send a message to someone on the other side of the world without using paper, stamps or a postal service. That’s exactly what email makes possible. Email, which stands for Electronic Mail, is one of the most important communication methods in the modern world. It allows people to send and receive messages through the internet within seconds. The idea of email started in 1971 when Ray Tomlinson introduced a network email system and used the @ symbol to identify the destination of a message. Since then, email has developed into an essential part of our everyday lives. Today, we use email for education, business, job applications, official communication and personal conversations. But have you ever wondered what actually happens when you click the Send button? First, the sender opens an email application such as Gmail or Outlook and enters the receiver’s email address. Then, the sender writes the message and clicks Send. The message travels through the internet using email servers until it reaches the receiver’s mail server. Finally, the receiver can open their email application and read the message. It’s amazing how a message can travel thousands of kilometres in just a few seconds. To send an email properly, we need to understand its basic structure. The To field contains the main receiver’s email address, while CC (Carbon Copy) allows us to send a visible copy of the message to additional people. BCC (Blind Carbon Copy) also sends a copy, but hides those email addresses from other recipients. The Subject is a short title that explains the purpose of the email, helping the receiver understand what the message is about. After that comes the Greeting, which is used to address the receiver politely, such as &quot;Dear Sir&quot; or &quot;Hello&quot;. The Body contains the main message and explains why we are writing. It should be clear, simple and organised so the receiver can easily understand it. At the end, we use a Closing such as &quot;Best regards&quot; or &quot;Thank you&quot;, followed by a Signature containing our name and other necessary details. There are different types of emails depending on their purpose. Formal emails are used for official communication with teachers, companies and organisations, while informal emails are used to communicate with friends and family. We also use request emails to ask for help or permission, application emails to apply for jobs or courses, complaint emails to report problems and invitation emails to invite people to events. Writing a good email is not difficult, but there are a few important things we should remember. Always use a meaningful subject, choose an appropriate greeting, explain your purpose clearly, check your spelling and grammar, and finish with a polite closing. Before sending, make sure the receiver’s email address is correct and that you have attached the necessary files. Learning how to write an email is more than just learning a computer skill. It teaches us how to communicate professionally, share information and create opportunities. Even though we have many modern communication applications, email remains an important tool in education and the working world. For me, an email is not just a digital message; it is a simple way to connect people, exchange ideas and open new opportunities through technology.</h3><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=def3ff831dbf" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[My First Day at Uki — A Special and Unforgettable Experience]]></title>
            <link>https://medium.com/@iamdhanu0/my-first-day-at-uki-a-special-and-unforgettable-experience-c53ae0bfd49f?source=rss-a039312c2ad1------2</link>
            <guid isPermaLink="false">https://medium.com/p/c53ae0bfd49f</guid>
            <dc:creator><![CDATA[Dhanushigan]]></dc:creator>
            <pubDate>Fri, 30 Oct 2026 07:21:10 GMT</pubDate>
            <atom:updated>2026-10-30T07:21:10.282Z</atom:updated>
            <content:encoded><![CDATA[<p>My first day at Uki was special and unforgettable in my life. I experienced two feelings at the same time: excitement and nervousness. This was because I had never been to a place like this before, and meeting strangers was a completely new experience for me.</p><p>Basically, I am an introverted person. I don’t like being in crowded places because I have grown up that way. I was also not happy with my lifestyle. So, I started thinking about it, and one day, I got the idea of changing myself. Then my sister told me about the Uki Center. That was how I decided to come to Uki.</p><p>When I arrived at Uki, I was a little shy. But after some time, I started getting along with the others. Then Anna came and asked us to do some workouts. A girl named Thenuja came forward and demonstrated some stretches, and we all followed her.</p><p>After that, Abisha Akka took us on a tour of the Uki home. I really liked that place. When I talk about Abisha Akka, she was very supportive and friendly. She always had a beautiful smile on her face.</p><p>Then our teacher, Jeyanthiran Anna, came and said, “Don’t call me Sir or Teacher. Just call me Anna.” I was very happy to hear that because I believe that calling someone Sir or Teacher can sometimes create a distance between us and make our bond weaker.</p><p>First, he introduced himself, and then we students introduced ourselves. After that, we were divided into four groups, and I was placed in Group 3.</p><p>My group members were Dilaxshan, Kiruththika, Seromi, and me. Jeyanthiran Anna asked us to create something using origami. I made a rocket that looked similar to a dragonfly. Some other students also created rockets, but mine was a little unique. Others made ships, flowers, and fans.</p><p>Then he asked us to develop our origami creations. We added some colours and extra parts to improve them. He also talked about usage, ideas, presentation, and uniqueness. He combined learning with practical activities, and I think that is one of the best ways to learn.</p><p>Then it was lunchtime, and we boys ate together.</p><p>After lunch, we drew maps showing how to reach our homes. This activity was about how we could introduce ourselves and explain our surroundings to others. I did my best in that activity.</p><p>Finally, it was time to play. Because of the rain, we couldn’t go outside to play. Instead, we boys played a ball-throwing game in the outer hall, trying to get the ball into the goal. It was a really good experience.</p><p>Overall, my first day at Uki was an amazing experience. I enjoyed every moment of it, and I will always remember it as a special and unforgettable day in my life. I truly loved my first-day experience at Uki.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c53ae0bfd49f" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>