Pens from Navjot Singh Virk https://codepen.io/virksaabnavjot/ en nospam@codepen.io Copyright 2024 2023-06-30T15:21:46-07:00 Trading 212 Reporting Solution for Dividends https://codepen.io/virksaabnavjot/pen/zYBbJRa https://codepen.io/virksaabnavjot/pen/zYBbJRa Navjot Singh Virk

See the Code - See it Full Page - See Details

]]>
Trading 212 Reporting Solution for Dividends 2020-11-17T02:01:38-07:00
How to read value from the page using className in Javascript ? https://codepen.io/virksaabnavjot/pen/GRZdeqJ https://codepen.io/virksaabnavjot/pen/GRZdeqJ Navjot Singh Virk

See the Code - See it Full Page - See Details

]]>
How to read value from the page using className in Javascript ? 2020-09-12T23:58:02-07:00
Programmatically Generate placeholder image using Javascript. https://codepen.io/virksaabnavjot/pen/GLGvwe https://codepen.io/virksaabnavjot/pen/GLGvwe Navjot Singh Virk

See the Code - See it Full Page - See Details

]]>
Programmatically Generate placeholder image using Javascript. 2019-04-21T01:26:08-07:00
Javascript Date.parse() and Date.now() method Usage Example https://codepen.io/virksaabnavjot/pen/wZqYdL https://codepen.io/virksaabnavjot/pen/wZqYdL Navjot Singh Virk

See the Code - See it Full Page - See Details

]]>
Javascript Date.parse() and Date.now() method Usage Example 2019-04-13T17:38:46-07:00
How to get the value from the GET parameters? https://codepen.io/virksaabnavjot/pen/drRqmo https://codepen.io/virksaabnavjot/pen/drRqmo Navjot Singh Virk

See the Code - See it Full Page - See Details

]]>
How to get the value from the GET parameters? 2023-06-30T15:21:46-07:00
Javascript to Calculate Age in Years, Months, Days when given a DOB https://codepen.io/virksaabnavjot/pen/OddNVo https://codepen.io/virksaabnavjot/pen/OddNVo Navjot Singh Virk

See the Code - See it Full Page - See Details

Calculate a persons age using their Date of Birth as an input in Javascript. Pre-requisites: Basic HTML and Javascript Knowledge Code Explaination: https://mrvirk.com/javascript-to-calculate-age-from-date-of-birth.html Code to Calculate Age in Years, Months, Days, Hours, Minutes, Seconds and Milliseconds --------------------------------------------------------------------------------------------- Disclaimer: Leap Year hasn’t been taken into consideration in this example. The days in a month has also been generalised to 30 days in a months (whereas depending on a year a month can have 31, 30, 29 or 28 days in it) Please do not use this article for your college projects unless the above disclaimer is not a concern and don’t forget to reference this page.

]]>
Javascript to Calculate Age in Years, Months, Days when given a DOB 2019-04-13T17:40:56-07:00
Javascript onclick Print Date and Time and Refresh Every 1 Second Thereafter https://codepen.io/virksaabnavjot/pen/mvvVwW https://codepen.io/virksaabnavjot/pen/mvvVwW Navjot Singh Virk

See the Code - See it Full Page - See Details

]]>
Javascript onclick Print Date and Time and Refresh Every 1 Second Thereafter 2019-02-18T18:23:29-07:00