<?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: Danish Zubair</title>
    <description>The latest articles on DEV Community by Danish Zubair (@danishzubair).</description>
    <link>https://dev.to/danishzubair</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%2F1036516%2F5855616c-d2a2-4212-9648-add22636c9d0.png</url>
      <title>DEV Community: Danish Zubair</title>
      <link>https://dev.to/danishzubair</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/danishzubair"/>
    <language>en</language>
    <item>
      <title>Navigation bar issue</title>
      <dc:creator>Danish Zubair</dc:creator>
      <pubDate>Mon, 13 Mar 2023 15:19:11 +0000</pubDate>
      <link>https://dev.to/danishzubair/navigation-bar-issue-4m7b</link>
      <guid>https://dev.to/danishzubair/navigation-bar-issue-4m7b</guid>
      <description>&lt;p&gt;Hi, I am facing some serious issues with the navigation bar of the website. I want to split the navigation bar in 2 parts of the screen, one part on the left and the other part on the right side of the screen. Between these splitted navigation bars, I want to add a section. I have tried many ways, such as "top: 0;" and "bottom: 300px", etc. but it is still not working. I have managed to get the navigation bar at the right side of the screen, but the actual issue, is, that I can`t move the right side navigation bar in the top of the screen, it shows below the left side navigation bar. Can anybody help me solve this issue, as this issue, is really annoying me.&lt;/p&gt;

</description>
      <category>css</category>
    </item>
    <item>
      <title>Audio in HTML and JavaScript</title>
      <dc:creator>Danish Zubair</dc:creator>
      <pubDate>Wed, 01 Mar 2023 17:35:25 +0000</pubDate>
      <link>https://dev.to/danishzubair/audio-in-html-and-javascript-1g5l</link>
      <guid>https://dev.to/danishzubair/audio-in-html-and-javascript-1g5l</guid>
      <description>&lt;p&gt;Hi, I am facing some issues, while creating a really simple web application. I want that wherever the user will click on the page, the music should run in the background. I have downloaded the music in my computer, and then, uploaded to google drive, to get the link. When I got the link and allowed anybody with the link to open and listen to the file, I have pasted the link to the code. I then, runned again, but it is still not working. Can anybody help me in how to add a sound in HTML and JavaScript. This is my code, with the link to the audio file in google drive. Thank you.&lt;br&gt;
&lt;/p&gt;

&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 lang="en"&amp;gt;
&amp;lt;head&amp;gt;
    &amp;lt;meta charset="UTF-8"&amp;gt;
    &amp;lt;meta http-equiv="X-UA-Compatible" content="IE=edge"&amp;gt;
    &amp;lt;meta name="viewport" content="width=device-width, initial-scale=1.0"&amp;gt;
    &amp;lt;title&amp;gt;Document&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body onclick="playAudio()" style="height: 1000px;"&amp;gt; 
&amp;lt;p&amp;gt;CLICK&amp;lt;/p&amp;gt;

    &amp;lt;audio id="audio" src="https://drive.google.com/file/d/1oC8w72cZyShs7XW7uDMqIA74bCZRLtvk/view?usp=share_link"&amp;gt;&amp;lt;/audio&amp;gt;

&amp;lt;script&amp;gt;

function playAudio() {
 var audio = document.getElementById("audio");
 audio.play();

}
&amp;lt;/script&amp;gt;    
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



</description>
      <category>introduction</category>
      <category>webdev</category>
      <category>mobile</category>
      <category>ai</category>
    </item>
  </channel>
</rss>
