{"id":6180,"date":"2024-01-11T16:40:00","date_gmt":"2024-01-11T16:40:00","guid":{"rendered":"https:\/\/codehim.com\/?p=6180"},"modified":"2024-01-22T14:43:15","modified_gmt":"2024-01-22T09:43:15","slug":"javascript-analog-clock-widget","status":"publish","type":"post","link":"https:\/\/codehim.com\/date-time\/javascript-analog-clock-widget\/","title":{"rendered":"JavaScript Analog Clock Widget"},"content":{"rendered":"<p>This JavaScript code snippet helps you to create an analog clock widget to display the current time. It comes with a beautiful dial and shadow that makes it a realistic table clock. The clock interface is designed with HTML CSS without using images or canvas and functionalized with JavaScript.<\/p>\n<p>You can easily integrate this <a href=\"https:\/\/codehim.com\/date-time\/css-and-javascript-digital-clock-widget\/\" target=\"_blank\" rel=\"noopener\">clock widget<\/a> anywhere on your website by placing its HTML code into a specific container. Similarly, you can customize the appearance of the clock with additional CSS.<\/p>\n<h2>How to Create Analog Clock Widget<\/h2>\n<p>1. First of all, create the HTML structure for the clock as follows:<\/p>\n<pre class=\"prettyprint linenums lang-html\"> &lt;div class=\"clock-body\"&gt;\r\n  &lt;div class=\"clock\"&gt;\r\n    &lt;div class=\"dails\"&gt;\r\n      &lt;h2 class=\"hour-number twelve\"&gt;12&lt;\/h2&gt;\r\n      &lt;h2 class=\"hour-number three\"&gt;3&lt;\/h2&gt;\r\n      &lt;h2 class=\"hour-number six\"&gt;6&lt;\/h2&gt;\r\n      &lt;h2 class=\"hour-number nine\"&gt;9&lt;\/h2&gt;\r\n      &lt;div class=\"hour-dail\"&gt;&lt;\/div&gt;\r\n      &lt;div class=\"minute-dail\"&gt;&lt;\/div&gt;\r\n      &lt;div class=\"seconds-dail\"&gt;&lt;\/div&gt;\r\n      &lt;div class=\"center-dail\"&gt;&lt;\/div&gt;\r\n    &lt;\/div&gt;\r\n  &lt;\/div&gt;\r\n&lt;\/div&gt;\r\n&lt;div class=\"clock-shadow\"&gt;&lt;\/div&gt;\r\n<\/pre>\n<p>2. After that, style the clock using the following CSS styles. You can change the CSS values if you want to customize the clock&#8217;s appearance.<\/p>\n<pre class=\"prettyprint linenums lang-css\">.clock-body{\r\n    width: 550px;\r\n    height: 550px;\r\n    border-radius: 20%;\r\n    background: tomato;\r\n    display: flex;\r\n    justify-content: center;\r\n    align-items: center;\r\n    box-shadow: inset 1px 10px 40px 40px  rgb(212, 40, 40);\r\n    margin: 0 auto;\r\n}\r\n.clock{\r\n    width: 400px;\r\n    height: 400px;\r\n    border-radius: 50%;\r\n    background: rgb(60, 60, 78);\r\n    border: 30px solid rgba(212, 40, 40, 1);\r\n    display: flex;\r\n    justify-content: center;\r\n    align-items: center;\r\n    box-shadow: inset 5px 5px 50px 20px black;\r\n}\r\n\r\n.dails{\r\n    width: 340px;\r\n    height: 340px;\r\n    background: rgba(66, 66, 105, 0.5);\r\n    border-radius: 50%;\r\n    position: relative;\r\n    box-shadow: 5px 5px 30px 10px black;\r\n    display: flex;\r\n    justify-content: center;\r\n    align-items: center;\r\n}\r\n.hour-dail{\r\n    width: 1px;\r\n    height: 100px;\r\n    padding: 0 4px 0 4px;\r\n    background: white;\r\n    box-shadow: 3px 3px 10px black;\r\n    position: absolute;\r\n    top: 70px;\r\n    left: 50%;\r\n    transform: rotate(0deg) translateX(-50%);\r\n    transform-origin: bottom center;\r\n}\r\n.minute-dail{\r\n    width: 1px;\r\n    height: 150px;\r\n    padding: 0 4px 0 4px;\r\n    background: white;\r\n    box-shadow: 3px 3px 10px black;\r\n    position: absolute;\r\n    top: 20px;\r\n    left: 50%;\r\n    transform: rotate(0deg) translateX(-50%);\r\n    transform-origin: bottom center;\r\n}\r\n.seconds-dail{\r\n    width: 1px;\r\n    height: 150px;\r\n    padding: 0 1px 0 1px;\r\n    background: white;\r\n    box-shadow: 3px 3px 10px black;\r\n    position: absolute;\r\n    top: 20px;\r\n    left: 50%;\r\n    transform: rotate(0deg) translateX(-50%);\r\n    transform-origin: bottom center;\r\n    z-index: 1;\r\n}\r\n.center-dail{\r\n    width: 40px;  \r\n    height: 40px;\r\n    background: white;\r\n    border-radius: 50%;\r\n    box-shadow: 2px 2px 10px black;\r\n    z-index: 100;\r\n    \r\n}\r\n.clock-shadow{\r\n    width: 450px;\r\n    height: 50px;\r\n    border-radius: 50%;\r\n    background: rgba(0, 0, 0, .2);\r\n    margin-top: 1.5em;\r\n    box-shadow: 0 0 5px 10px rgba(0, 0, 0, .2);\r\n    margin-left: auto;\r\n    margin-right: auto;\r\n}\r\nh2{\r\n    background: linear-gradient(rgb(212, 40, 40), tomato);\r\n    font-size: 2.8em;\r\n    padding: 0;\r\n    margin: 0;    \r\n}\r\n\r\n.hour-number{\r\n    position: absolute;\r\n    color: tomato;\r\n    font-size: 4em;\r\n    font-weight: bold;\r\n    font-family: sans-serif;\r\n    z-index: 0;\r\n    background-clip: text;\r\n    -webkit-background-clip: text;\r\n    color: rgba(0, 0, 0, .2);\r\n}\r\n.twelve{\r\n    top: 20px;\r\n    left: 50%;\r\n    transform: translateX(-50%);\r\n}\r\n.three{\r\n    top: 50%;\r\n    right: 20px;\r\n    transform: translateY(-50%);\r\n}\r\n.six{\r\n    bottom: 20px;\r\n    left: 50%;\r\n    transform: translateX(-50%); \r\n}\r\n.nine{\r\n    top: 50%;\r\n    left: 20px;\r\n    transform: translateY(-50%); \r\n}\r\n<\/pre>\n<p>3. Finally, add the following JavaScript code to your project to functionalize the analog clock.<\/p>\n<pre class=\"prettyprint linenums lang-js\">const secDail = document.querySelector(\".seconds-dail\");\r\nconst minDail = document.querySelector(\".minute-dail\");\r\nconst hrsDail = document.querySelector(\".hour-dail\");\r\n\r\nconst setDate = () =&gt; {\r\n  let now = new Date().toLocaleString(\"en-US\", {\r\n    timeZone: \"Africa\/Johannesburg\"\r\n  });\r\n  now = new Date(now);\r\n  const seconds = now.getSeconds();\r\n  const minutes = now.getMinutes();\r\n  const hours = now.getHours();\r\n  const secondsDegrees = (seconds \/ 60) * 360;\r\n  const minutesDegrees = (minutes \/ 60) * 360;\r\n  const hoursDegrees = (hours \/ 12 ) * 360;\r\n  secDail.style.transform = `rotate(${secondsDegrees}deg)`;\r\n  minDail.style.transform = `rotate(${minutesDegrees}deg)`;\r\n  hrsDail.style.transform = `rotate(${hoursDegrees}deg)`;\r\n};\r\nsetInterval(setDate, 1000);\r\n<\/pre>\n<p>That&#8217;s all! hopefully, you have successfully integrated this JavaScript analog clock widget into your web\/app project. If you have any questions or facing any issues, feel free to comment below.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This JavaScript code snippet helps you to create an analog clock widget to display the current time. It comes with&#8230;<\/p>\n","protected":false},"author":1,"featured_media":6279,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"footnotes":""},"categories":[58],"tags":[222,87],"class_list":["post-6180","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-date-time","tag-analog-clock","tag-analog-clocks"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>JavaScript Analog Clock Widget &#8212; CodeHim<\/title>\n<meta name=\"description\" content=\"Here is a beautiful analog clock widget created with HTML, CSS and JavaScript. You can view demo and download code for analog clock.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/codehim.com\/date-time\/javascript-analog-clock-widget\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"JavaScript Analog Clock Widget &#8212; CodeHim\" \/>\n<meta property=\"og:description\" content=\"Here is a beautiful analog clock widget created with HTML, CSS and JavaScript. You can view demo and download code for analog clock.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/codehim.com\/date-time\/javascript-analog-clock-widget\/\" \/>\n<meta property=\"og:site_name\" content=\"CodeHim\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/codehimofficial\" \/>\n<meta property=\"article:published_time\" content=\"2024-01-11T16:40:00+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-01-22T09:43:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/codehim.com\/wp-content\/uploads\/2022\/04\/javascript-analog-clock-widget.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1187\" \/>\n\t<meta property=\"og:image:height\" content=\"891\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Asif Mughal\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@CodeHimOfficial\" \/>\n<meta name=\"twitter:site\" content=\"@CodeHimOfficial\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Asif Mughal\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/codehim.com\/date-time\/javascript-analog-clock-widget\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/date-time\/javascript-analog-clock-widget\/\"},\"author\":{\"name\":\"Asif Mughal\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed\"},\"headline\":\"JavaScript Analog Clock Widget\",\"datePublished\":\"2024-01-11T16:40:00+00:00\",\"dateModified\":\"2024-01-22T09:43:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/codehim.com\/date-time\/javascript-analog-clock-widget\/\"},\"wordCount\":174,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/codehim.com\/#organization\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/date-time\/javascript-analog-clock-widget\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2022\/04\/javascript-analog-clock-widget.png\",\"keywords\":[\"Analog Clock\",\"Analog Clocks\"],\"articleSection\":[\"Date &amp; Time\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/codehim.com\/date-time\/javascript-analog-clock-widget\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/codehim.com\/date-time\/javascript-analog-clock-widget\/\",\"url\":\"https:\/\/codehim.com\/date-time\/javascript-analog-clock-widget\/\",\"name\":\"JavaScript Analog Clock Widget &#8212; CodeHim\",\"isPartOf\":{\"@id\":\"https:\/\/codehim.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/codehim.com\/date-time\/javascript-analog-clock-widget\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/date-time\/javascript-analog-clock-widget\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2022\/04\/javascript-analog-clock-widget.png\",\"datePublished\":\"2024-01-11T16:40:00+00:00\",\"dateModified\":\"2024-01-22T09:43:15+00:00\",\"description\":\"Here is a beautiful analog clock widget created with HTML, CSS and JavaScript. You can view demo and download code for analog clock.\",\"breadcrumb\":{\"@id\":\"https:\/\/codehim.com\/date-time\/javascript-analog-clock-widget\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/codehim.com\/date-time\/javascript-analog-clock-widget\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/date-time\/javascript-analog-clock-widget\/#primaryimage\",\"url\":\"https:\/\/codehim.com\/wp-content\/uploads\/2022\/04\/javascript-analog-clock-widget.png\",\"contentUrl\":\"https:\/\/codehim.com\/wp-content\/uploads\/2022\/04\/javascript-analog-clock-widget.png\",\"width\":1187,\"height\":891,\"caption\":\"JavaScript Analog Clock Widget\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/codehim.com\/date-time\/javascript-analog-clock-widget\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/codehim.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Date &amp; Time\",\"item\":\"https:\/\/codehim.com\/category\/date-time\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"JavaScript Analog Clock Widget\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/codehim.com\/#website\",\"url\":\"https:\/\/codehim.com\/\",\"name\":\"CodeHim\",\"description\":\"Web Design Code Snippets\",\"publisher\":{\"@id\":\"https:\/\/codehim.com\/#organization\"},\"alternateName\":\"Web Design Codes\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/codehim.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/codehim.com\/#organization\",\"name\":\"CodeHim - Web Design Code & Scripts\",\"url\":\"https:\/\/codehim.com\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/logo\/image\/\",\"url\":\"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg\",\"contentUrl\":\"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg\",\"width\":280,\"height\":280,\"caption\":\"CodeHim - Web Design Code & Scripts\"},\"image\":{\"@id\":\"https:\/\/codehim.com\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/codehimofficial\",\"https:\/\/x.com\/CodeHimOfficial\",\"https:\/\/www.instagram.com\/codehim\/\",\"https:\/\/www.linkedin.com\/company\/codehim\",\"https:\/\/co.pinterest.com\/codehim\/\",\"https:\/\/www.youtube.com\/@codehim\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed\",\"name\":\"Asif Mughal\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/codehim.com\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g\",\"caption\":\"Asif Mughal\"},\"description\":\"I code and create web elements for amazing people around the world. I like work with new people. New people new Experiences. I truly enjoy what I'm doing, which makes me more passionate about web development and coding. I am always ready to do challenging tasks whether it is about creating a custom CMS from scratch or customizing an existing system.\",\"sameAs\":[\"https:\/\/codehim.com\"],\"url\":\"https:\/\/codehim.com\/author\/asif-mughal\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"JavaScript Analog Clock Widget &#8212; CodeHim","description":"Here is a beautiful analog clock widget created with HTML, CSS and JavaScript. You can view demo and download code for analog clock.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/codehim.com\/date-time\/javascript-analog-clock-widget\/","og_locale":"en_US","og_type":"article","og_title":"JavaScript Analog Clock Widget &#8212; CodeHim","og_description":"Here is a beautiful analog clock widget created with HTML, CSS and JavaScript. You can view demo and download code for analog clock.","og_url":"https:\/\/codehim.com\/date-time\/javascript-analog-clock-widget\/","og_site_name":"CodeHim","article_publisher":"https:\/\/www.facebook.com\/codehimofficial","article_published_time":"2024-01-11T16:40:00+00:00","article_modified_time":"2024-01-22T09:43:15+00:00","og_image":[{"width":1187,"height":891,"url":"https:\/\/codehim.com\/wp-content\/uploads\/2022\/04\/javascript-analog-clock-widget.png","type":"image\/png"}],"author":"Asif Mughal","twitter_card":"summary_large_image","twitter_creator":"@CodeHimOfficial","twitter_site":"@CodeHimOfficial","twitter_misc":{"Written by":"Asif Mughal","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/codehim.com\/date-time\/javascript-analog-clock-widget\/#article","isPartOf":{"@id":"https:\/\/codehim.com\/date-time\/javascript-analog-clock-widget\/"},"author":{"name":"Asif Mughal","@id":"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed"},"headline":"JavaScript Analog Clock Widget","datePublished":"2024-01-11T16:40:00+00:00","dateModified":"2024-01-22T09:43:15+00:00","mainEntityOfPage":{"@id":"https:\/\/codehim.com\/date-time\/javascript-analog-clock-widget\/"},"wordCount":174,"commentCount":0,"publisher":{"@id":"https:\/\/codehim.com\/#organization"},"image":{"@id":"https:\/\/codehim.com\/date-time\/javascript-analog-clock-widget\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2022\/04\/javascript-analog-clock-widget.png","keywords":["Analog Clock","Analog Clocks"],"articleSection":["Date &amp; Time"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/codehim.com\/date-time\/javascript-analog-clock-widget\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/codehim.com\/date-time\/javascript-analog-clock-widget\/","url":"https:\/\/codehim.com\/date-time\/javascript-analog-clock-widget\/","name":"JavaScript Analog Clock Widget &#8212; CodeHim","isPartOf":{"@id":"https:\/\/codehim.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/codehim.com\/date-time\/javascript-analog-clock-widget\/#primaryimage"},"image":{"@id":"https:\/\/codehim.com\/date-time\/javascript-analog-clock-widget\/#primaryimage"},"thumbnailUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2022\/04\/javascript-analog-clock-widget.png","datePublished":"2024-01-11T16:40:00+00:00","dateModified":"2024-01-22T09:43:15+00:00","description":"Here is a beautiful analog clock widget created with HTML, CSS and JavaScript. You can view demo and download code for analog clock.","breadcrumb":{"@id":"https:\/\/codehim.com\/date-time\/javascript-analog-clock-widget\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/codehim.com\/date-time\/javascript-analog-clock-widget\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/date-time\/javascript-analog-clock-widget\/#primaryimage","url":"https:\/\/codehim.com\/wp-content\/uploads\/2022\/04\/javascript-analog-clock-widget.png","contentUrl":"https:\/\/codehim.com\/wp-content\/uploads\/2022\/04\/javascript-analog-clock-widget.png","width":1187,"height":891,"caption":"JavaScript Analog Clock Widget"},{"@type":"BreadcrumbList","@id":"https:\/\/codehim.com\/date-time\/javascript-analog-clock-widget\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/codehim.com\/"},{"@type":"ListItem","position":2,"name":"Date &amp; Time","item":"https:\/\/codehim.com\/category\/date-time\/"},{"@type":"ListItem","position":3,"name":"JavaScript Analog Clock Widget"}]},{"@type":"WebSite","@id":"https:\/\/codehim.com\/#website","url":"https:\/\/codehim.com\/","name":"CodeHim","description":"Web Design Code Snippets","publisher":{"@id":"https:\/\/codehim.com\/#organization"},"alternateName":"Web Design Codes","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/codehim.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/codehim.com\/#organization","name":"CodeHim - Web Design Code & Scripts","url":"https:\/\/codehim.com\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/#\/schema\/logo\/image\/","url":"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg","contentUrl":"http:\/\/codehim.com\/wp-content\/uploads\/2023\/06\/Codehim-short-logo.jpg","width":280,"height":280,"caption":"CodeHim - Web Design Code & Scripts"},"image":{"@id":"https:\/\/codehim.com\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/codehimofficial","https:\/\/x.com\/CodeHimOfficial","https:\/\/www.instagram.com\/codehim\/","https:\/\/www.linkedin.com\/company\/codehim","https:\/\/co.pinterest.com\/codehim\/","https:\/\/www.youtube.com\/@codehim"]},{"@type":"Person","@id":"https:\/\/codehim.com\/#\/schema\/person\/cc48f1dbe072a89a62a98171b7db43ed","name":"Asif Mughal","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/codehim.com\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b25bfcd7d4e341c2c6f785a88d8ad2a4?s=96&d=mm&r=g","caption":"Asif Mughal"},"description":"I code and create web elements for amazing people around the world. I like work with new people. New people new Experiences. I truly enjoy what I'm doing, which makes me more passionate about web development and coding. I am always ready to do challenging tasks whether it is about creating a custom CMS from scratch or customizing an existing system.","sameAs":["https:\/\/codehim.com"],"url":"https:\/\/codehim.com\/author\/asif-mughal\/"}]}},"views":2991,"_links":{"self":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/6180","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/comments?post=6180"}],"version-history":[{"count":0,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/posts\/6180\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media\/6279"}],"wp:attachment":[{"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/media?parent=6180"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/categories?post=6180"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/codehim.com\/wp-json\/wp\/v2\/tags?post=6180"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}