<?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: Deepak Poojary</title>
    <description>The latest articles on DEV Community by Deepak Poojary (@deepakpoojary).</description>
    <link>https://dev.to/deepakpoojary</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%2F509309%2F5c52f2c8-9dc4-4035-9737-46b6fe05dd02.jpeg</url>
      <title>DEV Community: Deepak Poojary</title>
      <link>https://dev.to/deepakpoojary</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/deepakpoojary"/>
    <language>en</language>
    <item>
      <title>All the projects I made till date as a beginner web developer.</title>
      <dc:creator>Deepak Poojary</dc:creator>
      <pubDate>Mon, 23 Nov 2020 04:29:12 +0000</pubDate>
      <link>https://dev.to/deepakpoojary/all-the-projects-i-made-till-date-as-a-beginner-web-developer-21k9</link>
      <guid>https://dev.to/deepakpoojary/all-the-projects-i-made-till-date-as-a-beginner-web-developer-21k9</guid>
      <description>&lt;h2&gt;
  
  
  Project 1: InstaFocus:
&lt;/h2&gt;

&lt;p&gt;Hosted Link is &lt;a href="https://instafocus.netlify.app/"&gt;here: &lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Tech used: html, css, bootstrap&lt;/p&gt;

&lt;h3&gt;
  
  
  Description:
&lt;/h3&gt;

&lt;p&gt;This is a mobile responsive saas landing page &lt;/p&gt;

&lt;h3&gt;
  
  
  Motivation behind:
&lt;/h3&gt;

&lt;p&gt;I always wanted an option on social media to turn off the feed ands stories but something like this does exists for youtube &lt;a href="https://chrome.google.com/webstore/detail/remove-recommendations-yo/hfnghnjkcpgagjbiheidccjnneoipbmb"&gt;here&lt;/a&gt; (called feed remover)&lt;/p&gt;

&lt;h2&gt;
  
  
  Project 2: JS drumkit
&lt;/h2&gt;

&lt;p&gt;Hosted link is &lt;a href="https://deepakdrum.netlify.app/"&gt;here&lt;/a&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  Description
&lt;/h3&gt;

&lt;p&gt;Basically allows you press a key on keyboard and plays the corresponding sound attached to the keys. &lt;/p&gt;

&lt;h3&gt;
  
  
  Motivation behind:
&lt;/h3&gt;

&lt;p&gt;Why buy a piano when you can build your own?&lt;/p&gt;

&lt;h2&gt;
  
  
  Project 3: Mobile responsive personal site
&lt;/h2&gt;

&lt;p&gt;Hosted link is &lt;a href="https://deepakpoojary1.netlify.app/"&gt;here&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Tech used: css, html &lt;/p&gt;

</description>
    </item>
    <item>
      <title>DOM basics(The why and the what)</title>
      <dc:creator>Deepak Poojary</dc:creator>
      <pubDate>Sat, 14 Nov 2020 11:19:38 +0000</pubDate>
      <link>https://dev.to/deepakpoojary/dom-basics-the-why-and-the-what-5fhb</link>
      <guid>https://dev.to/deepakpoojary/dom-basics-the-why-and-the-what-5fhb</guid>
      <description>&lt;h2&gt;
  
  
  Note:
&lt;/h2&gt;

&lt;p&gt;Please note that I am a beginner in this and I found that sharing what I learn keeps me motivated in learning to code and helps me learn better and you can read about this technique called&lt;a href="https://www.swyx.io/learn-in-public/"&gt; learning in public here&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you're an expert and you did find some mistake please comment it below as they say when you point the mistake the person never forgets that😂. Also note that I will keep updating it as and when I learn new things.&lt;/p&gt;

&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;Rules: Just listen: below you will get the complete article on it then you have to teach it to somebody else. &lt;br&gt;
DOM= document object model.&lt;/p&gt;

&lt;p&gt;Know that it's built due to pain in something [[business#Pain points]] as everything else: &lt;/p&gt;

&lt;p&gt;Okay so suppose you're on Instagram.com and it does give you personalised notifications right and instagram doesn't keep changing their websites to just help you &lt;/p&gt;

&lt;p&gt;THis is where [[DOM]] comes into play they break your html website into objects and just change the the small object which needs to be changed. &lt;/p&gt;

&lt;p&gt;Let's say somebody spills milk on your socks, do you change the entire dress or only the &lt;em&gt;socks&lt;/em&gt;?&lt;/p&gt;

&lt;p&gt;You can change the change &lt;/p&gt;

&lt;p&gt;Every object has a property and methods. &lt;/p&gt;

&lt;p&gt;Property: colour, nos of shoes and doors. &lt;/p&gt;

&lt;p&gt;methods: break(), stop, &lt;/p&gt;

&lt;h2&gt;
  
  
  How to download or start using java Script
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Inline
&lt;/h3&gt;

&lt;p&gt;Inline basically means we are using opening up a html tag and basically changing the attributes of it. &lt;br&gt;
&lt;code&gt;&amp;lt;body&amp;gt; &amp;lt;/body&lt;/code&gt;  = Normal html docs&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;body onload="alert('hello');"&lt;/code&gt;  = inline boys.&lt;/p&gt;

&lt;h3&gt;
  
  
  Internal
&lt;/h3&gt;

&lt;p&gt;Basically puting all your websites java code between the script tag like this. And this is inside the &lt;code&gt;&amp;lt;body&amp;gt;&lt;/code&gt; tag.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;script type="text/javascript"&amp;gt;&lt;br&gt;
  alert("hello");&lt;br&gt;
&amp;lt;/script&amp;gt;&lt;/code&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  External
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;script src="index.js" charset="utf-8"&amp;gt;&amp;lt;/script&amp;gt;&lt;br&gt;
"&lt;/code&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Positioning
&lt;/h4&gt;

&lt;p&gt;Now where will you position or place the above code? &lt;/p&gt;

&lt;p&gt;Unlike &lt;a href="https://dev.towhich%20you%20want%20the%20computer%20to%20know%20%20%20at%20the%20beginning"&gt;[CSS]&lt;/a&gt; you have to place this at the end after all your content is displayed cause you computer should run the elements like &lt;code&gt;&amp;lt;h1&amp;gt;&lt;/code&gt; first before doing any changes to the behaviour.&lt;/p&gt;

&lt;p&gt;It makes sence right you can't make the dog stand if you don't have a dog in the first place.😂&lt;/p&gt;

&lt;h3&gt;
  
  
  Changing text with JS
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;document.querySelector("input").click();&lt;/code&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  How to select any document and provide a hands off free
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;document.firstElementChild.lastElementChild.etc;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;&lt;code&gt;document.element&lt;/code&gt;&lt;/p&gt;

&lt;h3&gt;
  
  
  What are selectors
&lt;/h3&gt;

&lt;p&gt;In [[CSS]] you probably know the syntax i.e &lt;br&gt;
&lt;code&gt;h1{color:red}&lt;/code&gt; here the &lt;code&gt;h1&lt;/code&gt; is the selector. &lt;/p&gt;

&lt;h4&gt;
  
  
  Popular
&lt;/h4&gt;

&lt;p&gt;&lt;code&gt;document.QuerySelectorALL("#list .item)"&lt;/code&gt;&lt;/p&gt;

</description>
      <category>webdev</category>
      <category>productivity</category>
    </item>
    <item>
      <title>JavaScript for absolute beginners</title>
      <dc:creator>Deepak Poojary</dc:creator>
      <pubDate>Tue, 10 Nov 2020 06:31:38 +0000</pubDate>
      <link>https://dev.to/deepakpoojary/javascript-for-absolute-beginners-4055</link>
      <guid>https://dev.to/deepakpoojary/javascript-for-absolute-beginners-4055</guid>
      <description>&lt;h2&gt;
  
  
  Note:
&lt;/h2&gt;

&lt;p&gt;Please note that I am a beginner in this and I found that sharing what I learn keeps me motivated in learning to code and helps me learn better and you can read about this technique called&lt;a href="https://www.swyx.io/learn-in-public/"&gt; learning in public here&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;If you're an expert and you did find some mistake please comment it below as they say when you point the mistake the person never forgets that😂. Also note that I will keep updating it as and when I learn new things.&lt;/p&gt;

&lt;h2&gt;
  
  
  Introduction
&lt;/h2&gt;

&lt;p&gt;This exists because if it didn't exist the browser has to take requests from servers which will take a lot of time so thats why they invented java script to make it local. &lt;/p&gt;

&lt;p&gt;The difference between java  and javascript is the difference between watch and watch dogs.  &lt;/p&gt;

&lt;p&gt;Essentially java script is scripting language and makes elements like &lt;code&gt;&amp;lt;h1&amp;gt;&lt;/code&gt; to dance around or show behaviour.  Consider elements to be actors and java script to be like a normal script.&lt;/p&gt;

&lt;p&gt;Now coming to java &lt;/p&gt;

&lt;p&gt;It's an Interpreter: Basically converts our code into binary so that the computer can understand line by line.&lt;br&gt;
Eg:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;javascript&lt;/li&gt;
&lt;li&gt;python &lt;/li&gt;
&lt;li&gt;ruby&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Compiler: This does the same thing as above but all at once.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Java ([[android development]])&lt;/li&gt;
&lt;li&gt;c and swift(iOS development)&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How to use JS
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Playing with it
&lt;/h3&gt;

&lt;p&gt;To just start playing you can use the following shortcut key to open up the JS console.&lt;br&gt;
&lt;code&gt;Ctrl+ shift + J&lt;/code&gt; and you can start adding some JS and test it out but it get's cumbersome because it just one line execution and if you want a 2 line execution then you need to press &lt;code&gt;shift+ enter&lt;/code&gt; everytime you do so. So here is a hack around it called snippets. &lt;/p&gt;

&lt;h4&gt;
  
  
  Using snippets
&lt;/h4&gt;

&lt;p&gt;Click on &lt;code&gt;sources&lt;/code&gt; and add a file called index.js and then this is like your actual JS playground. And if you want to render the code just press &lt;code&gt;Ctrl + enter&lt;/code&gt; &lt;/p&gt;

&lt;h4&gt;
  
  
  Formal
&lt;/h4&gt;

&lt;h4&gt;
  
  
  Inline
&lt;/h4&gt;

&lt;h4&gt;
  
  
  External
&lt;/h4&gt;

&lt;p&gt;Basically this is where connect it to another document.&lt;/p&gt;

&lt;p&gt;&lt;code&gt;&amp;lt;script src="index.js" charset="utf-8"&amp;gt;&amp;lt;/script&amp;gt;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;This what is considered standard here. &lt;/p&gt;

&lt;h2&gt;
  
  
  Basics
&lt;/h2&gt;

&lt;h3&gt;
  
  
  Functions/Keywords
&lt;/h3&gt;

&lt;h4&gt;
  
  
  Alert
&lt;/h4&gt;

&lt;p&gt;&lt;code&gt;alert("hello");&lt;/code&gt; just brings out the alert called "hello"; &lt;/p&gt;

&lt;h4&gt;
  
  
  Prompt
&lt;/h4&gt;

&lt;p&gt;This thing asks the user for their input and syntax is similiar i.e &lt;code&gt;prompt("Enter your name");&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Just liked this qoute so thought of inserting it:-)&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;A coding project should look like a single person typed it no matter how many people contributed it.&lt;br&gt;
-Some website&lt;/p&gt;
&lt;/blockquote&gt;

&lt;h4&gt;
  
  
  Typeof
&lt;/h4&gt;

&lt;p&gt;Basically tells what type of data it is &lt;br&gt;
&lt;code&gt;typeof(234);&lt;/code&gt; returns nos. &lt;/p&gt;




&lt;h3&gt;
  
  
  Data types
&lt;/h3&gt;

&lt;p&gt;This is like a universal in everything so just wanted to mention briefly of all the types available so first one is &lt;code&gt;string&lt;/code&gt; cause it's a string of character.&lt;br&gt;
&lt;code&gt;boolean&lt;/code&gt; is also a data type eg: True or False.&lt;br&gt;
&lt;code&gt;number&lt;/code&gt; is another which comprises of 123&lt;/p&gt;

&lt;h3&gt;
  
  
  Variable Name
&lt;/h3&gt;

&lt;p&gt;This is nothing but we building a container and we can swap the values like we can swap the value of any container we have in our homes.&lt;/p&gt;

&lt;p&gt;You only have to use &lt;code&gt;var&lt;/code&gt; while you first construct a memory slot (you could say).&lt;/p&gt;

&lt;h4&gt;
  
  
  Conventions while naming JS variables
&lt;/h4&gt;

&lt;ul&gt;
&lt;li&gt;Give your variables meaningful names.&lt;/li&gt;
&lt;li&gt;You can't start variables with nos.&lt;/li&gt;
&lt;li&gt;Only $ and _ are the symbols allowed.&lt;/li&gt;
&lt;li&gt;No space eg: first name not allowed&lt;/li&gt;
&lt;li&gt;Capitallizing the subsequent word eg: firstName&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Concatenation
&lt;/h3&gt;

&lt;p&gt;Combining data and any data type as long there is &lt;code&gt;+&lt;/code&gt; in there. &lt;/p&gt;

&lt;h3&gt;
  
  
  Letter  count
&lt;/h3&gt;

&lt;p&gt;&lt;code&gt;Usertweet.length;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Remember &lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Using brackets when doing maths calcs &lt;/li&gt;
&lt;li&gt;To store variable for using it in maths calcs.&lt;/li&gt;
&lt;/ul&gt;

&lt;h4&gt;
  
  
  Modular
&lt;/h4&gt;

&lt;p&gt;gives remainder &lt;br&gt;
using brackets to show intent. &lt;/p&gt;

&lt;h3&gt;
  
  
  Slicing
&lt;/h3&gt;

&lt;h4&gt;
  
  
  Syntax
&lt;/h4&gt;

&lt;p&gt;&lt;code&gt;varname.slice(0,140);&lt;/code&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Length of variable
&lt;/h4&gt;

&lt;p&gt;If you want to find the length of variable: Second - First number. &lt;/p&gt;

&lt;h4&gt;
  
  
  How does the slice work
&lt;/h4&gt;

&lt;p&gt;How the slicing words is if you mention any thing let;s say name.slice(0,3); &lt;/p&gt;

&lt;p&gt;You cut from the left of the assigned name. &lt;/p&gt;

&lt;p&gt;a b c d&lt;br&gt;
==|0 1 2 |==3 4 &lt;/p&gt;

&lt;h4&gt;
  
  
  [[Web development for complete beginners#Reducing code|Reducing code]]
&lt;/h4&gt;

&lt;p&gt;&lt;code&gt;alert(prompt("Enter any tweet").slice(0,140));&lt;/code&gt;&lt;/p&gt;

&lt;h4&gt;
  
  
  Uppercase
&lt;/h4&gt;

&lt;p&gt;&lt;code&gt;name.toUpperCase();&lt;/code&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Remember the brackets &lt;code&gt;()&lt;/code&gt;
&lt;/li&gt;
&lt;/ul&gt;

&lt;h3&gt;
  
  
  Exercises:
&lt;/h3&gt;

&lt;ol&gt;
&lt;li&gt;Building twitter word count alert &lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;Asking for users tweet + alert them how many charectars they have used + how many charectars are remaining. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;code&gt;var Tweet= prompt("Enter tweet");&lt;br&gt;
var TweetCount=Tweet.length;&lt;br&gt;
alert("you have have entered"+ TweetCount + "you have remaining"+ (140-Tweetcount) + "remainging");&lt;/code&gt;&lt;/p&gt;

&lt;ol&gt;
&lt;li&gt;Prompt that users will enter their name in all non-caps and you need to give an alert with &lt;/li&gt;
&lt;/ol&gt;

&lt;ul&gt;
&lt;li&gt;First letter  cap (easy)&lt;/li&gt;
&lt;li&gt;remaining letter in anti-caps if they do it. &lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Answer&lt;/p&gt;

&lt;p&gt;&lt;code&gt;var Name = prompt("Enter you name");&lt;br&gt;
var FirstChar= Name.slice(0,1);&lt;br&gt;
var FirstCharCap= FirstChar.toUpperCase();&lt;br&gt;
var RestChar= Name.slice(1,Name.length);&lt;br&gt;
var RestCharAnti = RestChar.toLowerCase();&lt;br&gt;
var complete= FirstCharCap+ RestCharAnti;&lt;br&gt;
alert(complete);&lt;/code&gt;&lt;/p&gt;




</description>
      <category>javascript</category>
      <category>productivity</category>
    </item>
    <item>
      <title>What I learnt this week as a web developer| Nov week 1</title>
      <dc:creator>Deepak Poojary</dc:creator>
      <pubDate>Sun, 08 Nov 2020 01:07:27 +0000</pubDate>
      <link>https://dev.to/deepakpoojary/nov-week-1-what-i-learnt-this-week-as-a-web-developer-3kn6</link>
      <guid>https://dev.to/deepakpoojary/nov-week-1-what-i-learnt-this-week-as-a-web-developer-3kn6</guid>
      <description>&lt;ul&gt;
&lt;li&gt;Whole week just completed [[Bootstrap]] beginner module (2.5 hours)&lt;/li&gt;
&lt;li&gt;This is what happens when you don't plan your week.&lt;/li&gt;
&lt;li&gt;Posted &lt;a href="https://dev.to/deepakpoojary/css-z-index-and-stacking-order-4c32"&gt;this&lt;/a&gt; blog on dev.to&lt;/li&gt;
&lt;li&gt;Learnt a new thing called 80/20 principle in coding and you can see this &lt;a href="https://www.instagram.com/p/CHQRhcDgvLV/?igshid=1w7h2al5r17fx"&gt;here&lt;/a&gt;.&lt;/li&gt;
&lt;li&gt;learnt &lt;a href="https://dev.tosuch%20an%20important%20one"&gt;[Aim low principle]&lt;/a&gt; and please watch &lt;a href="https://youtu.be/8vTiVtf8ce8"&gt;this&lt;/a&gt; video &lt;/li&gt;
&lt;li&gt;I would highly recommend you to [[Publicize your days, weeks]] so that you get accountability and you so that you just stay grounded.&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>productivity</category>
      <category>webdev</category>
    </item>
    <item>
      <title>CSS Z index and stacking order</title>
      <dc:creator>Deepak Poojary</dc:creator>
      <pubDate>Sat, 07 Nov 2020 04:10:54 +0000</pubDate>
      <link>https://dev.to/deepakpoojary/css-z-index-and-stacking-order-4c32</link>
      <guid>https://dev.to/deepakpoojary/css-z-index-and-stacking-order-4c32</guid>
      <description>&lt;h2&gt;
  
  
  Intro
&lt;/h2&gt;

&lt;p&gt;This is kind of an advanced property in CSS and all you need to think about here is layers (as in photoshop) and them z index will be a piece of cake for you. All it is do you want a layer or element (let's say Image)  to be overlapped or on top. &lt;/p&gt;

&lt;p&gt;There is a natural flow of html meaning that elements you code first get &lt;em&gt;displayed&lt;/em&gt; first. &lt;/p&gt;

&lt;h2&gt;
  
  
  Positioning
&lt;/h2&gt;

&lt;p&gt;Basically you need to know what is absolute, relative and static does. How you change your position of div to absolute is by &lt;br&gt;
&lt;code&gt;div{&lt;br&gt;
position: absolute;}&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;And how you change z index is like this:( inside any class you want, here z index)&lt;br&gt;
&lt;code&gt;z-index:1;&lt;/code&gt;&lt;/p&gt;

&lt;p&gt;Note: z index property t only works when you have a position of element set to absolute. &lt;/p&gt;

&lt;h2&gt;
  
  
  Resources
&lt;/h2&gt;

&lt;p&gt;Here&lt;a href="https://drive.google.com/uc?export=download&amp;amp;id=13Z1_Fgbh3QESIIoFpXUgo1F4sVjB9di2"&gt; is a flowchart about z index&lt;/a&gt; from Dr Angela Yu which is going to help you if you get stuck somehere&lt;/p&gt;

</description>
      <category>css</category>
      <category>html</category>
    </item>
  </channel>
</rss>
