{"id":27780,"date":"2024-06-14T21:00:15","date_gmt":"2024-06-14T13:00:15","guid":{"rendered":"https:\/\/www.hongkiat.com\/blog\/?p=27780"},"modified":"2024-06-11T16:52:11","modified_gmt":"2024-06-11T08:52:11","slug":"publishing-github-page","status":"publish","type":"post","link":"https:\/\/www.hongkiat.com\/blog\/publishing-github-page\/","title":{"rendered":"How to Publish Website on Github Pages in Three Simple Steps"},"content":{"rendered":"<p>Github Pages offers a valuable service by allowing you to host a static website directly from a Git repository. It\u2019s an ideal platform for solo developers to showcase portfolios, support open-source projects, or disseminate information about educational institutions or organizations.<\/p>\n<p>Many prominent projects utilize Github Pages for hosting, including well-known ones like <a rel=\"noopener\" target=\"_blank\" href=\"https:\/\/getbootstrap.com\/\">Bootstrap<\/a>, <a rel=\"noopener\" target=\"_blank\" href=\"https:\/\/necolas.github.io\/normalize.css\/\">NormalizeCSS<\/a>, and <a rel=\"noopener\" target=\"_blank\" href=\"https:\/\/yelp.github.io\/\">Yelp<\/a>.<\/p>\n<p>This tutorial will walk you through the steps to create and publish a straightforward site using Github Pages. It is assumed that you have a basic understanding of Git and its commands, such as how to create and push commits to a remote repository. If not, I recommend checking out our guide: <a href=\"https:\/\/www.hongkiat.com\/blog\/basic-git-commands\/\">30 Basic Git Commands You Should Know<\/a>.<\/p>\n<p>Let\u2019s get started!<\/p>\n<h2>Step 1: Create a Repository<\/h2>\n<p>First, you need a Github account to create a repository. You can name the repository anything you like; there are no specific naming requirements.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/publishing-github-page\/create-repository.jpg\" alt=\"Creating a new repository on Github\" width=\"1000\" height=\"650\"><\/figure>\n<p>After creating the repository, the next step is to clone it to your local computer. If you have the <a rel=\"noopener\" target=\"_blank\" href=\"https:\/\/desktop.github.com\/\">Github Desktop<\/a> application installed, you can easily accomplish this by going to <strong>File &gt; Clone Repository<\/strong> within the application.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/publishing-github-page\/clone-repository-github-desktop.jpg\" alt=\"Cloning a repository using Github Desktop\" width=\"1000\" height=\"650\"><\/figure>\n<p>Alternatively, you can clone the repository using the <code>git<\/code> command-line interface (CLI), for example:<\/p>\n<pre>\r\ngit clone https:\/\/github.com\/hongkiat\/fuzzy-adventure.git\r\n<\/pre>\n<h2>Step 2: Create the Main Page<\/h2>\n<p>To set up a homepage, Github primarily looks for a file named <code>index.html<\/code>. It can also utilize <code>index.md<\/code> or <code>README.md<\/code>. This file can be placed at the root of your repository or within a subdirectory to separate your site from the main source code-commonly in the <code>docs<\/code> or <code>site<\/code> directory.<\/p>\n<p>In this example, I\u2019ll demonstrate adding an <code>index.html<\/code> file in the <code>docs<\/code> directory, supplemented with styles and scripts from <a rel=\"noopener\" target=\"_blank\" href=\"https:\/\/getbootstrap.com\/\">Bootstrap<\/a>.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/publishing-github-page\/add-files.jpg\" alt=\"Adding files to the docs directory\" width=\"1000\" height=\"650\"><\/figure>\n<p>With the files in place, we can now add and push them to the Github repository.<\/p>\n<h2>Step 3: Configure Page Deployment<\/h2>\n<p>In your Github repository, navigate to <strong>Settings &gt; Pages<\/strong>. Here, select the source you wish to deploy as Github Pages. Since we\u2019ve placed the <code>index.html<\/code> file in the <code>docs<\/code> directory, choose the appropriate branch and set the directory to <code>\/docs<\/code> under the <strong>\u201cBuild and deployment\u201d<\/strong> section.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/publishing-github-page\/build-deploy-configs.jpg\" alt=\"Configuring build and deployment settings\" width=\"1000\" height=\"650\"><\/figure>\n<p>That completes the setup for your Github Pages site. The site will be accessible through a URL pattern provided by Github. For example, if your repository is at <code>github.com\/hongkiat\/fuzzy-adventure<\/code>, then your Github Pages site will be at <code>hongkiat.github.io\/fuzzy-adventure<\/code>.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/publishing-github-page\/preview.jpg\" alt=\"Preview of the Github Pages site\" width=\"1000\" height=\"650\"><\/figure>\n<h2>Bonus: Using a Custom Domain<\/h2>\n<p>Using a custom domain for your Github Pages site provides a personalized URL that\u2019s easier to remember and enhances your site\u2019s branding. Here\u2019s how to set it up.<\/p>\n<h3>Step 1: Add DNS Record<\/h3>\n<p>To begin, add a DNS record to link your custom domain to Github Pages. For instance, if you want to use <code>fuzzy-adventure.hongkiat.net<\/code>, you\u2019ll need to create a <code>CNAME<\/code> record in your domain\u2019s DNS manager that points to <code>hongkiat.github.io<\/code>.<\/p>\n<p>If you\u2019re unsure where to find your DNS manager or how to add a new DNS entry, please contact your domain registrar for assistance.<\/p>\n<h3>Step 2: Wait for Domain Propagation<\/h3>\n<p>After setting the DNS record, it takes some time for the changes to propagate, which can vary from a few minutes to 24 hours. You can monitor with <a href=\"https:\/\/www.hongkiat.com\/blog\/dns-propogation-check\/\">DNS propagation tools<\/a> like <a rel=\"noopener nofollow\" target=\"_blank\" href=\"https:\/\/www.whatsmydns.net\/\">WhatsMyDNS<\/a> or by using the command below:<\/p>\n<pre>\r\ndig fuzzy-adventure.github.io +nostats +nocomments +nocmd\r\n<\/pre>\n<p>Once the DNS propagation is confirmed, you might see results similar to this:<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/publishing-github-page\/dns-dig-result.jpg\" alt=\"Results of DNS propagation check for custom domain\" width=\"1000\" height=\"402\"><\/figure>\n<h3>Step 3: Add Domain to Repository<\/h3>\n<p>After DNS propagation completes, inform Github about your custom domain. Go to your repository\u2019s <strong>Settings<\/strong>, head to the <strong>Pages<\/strong> section, and enter your custom domain in the <strong>Custom Domain<\/strong> field. Github will verify the domain and set it up. Once verified, you can also secure your site by enabling the <strong>\u201cEnforce HTTPS\u201d<\/strong> option.<\/p>\n<figure><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/assets.hongkiat.com\/uploads\/publishing-github-page\/custom-domain-verify.jpg\" alt=\"Verifying custom domain in Github repository settings\" width=\"1000\" height=\"595\"><\/figure>\n<p>Now your Github Pages site should be accessible via your custom domain!<\/p>","protected":false},"excerpt":{"rendered":"<p>Github Pages offers a valuable service by allowing you to host a static website directly from a Git repository. It\u2019s an ideal platform for solo developers to showcase portfolios, support open-source projects, or disseminate information about educational institutions or organizations. Many prominent projects utilize Github Pages for hosting, including well-known ones like Bootstrap, NormalizeCSS, and&hellip;<\/p>\n","protected":false},"author":113,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[352],"tags":[2726],"topic":[4520],"class_list":["entry-content","is-maxi"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v22.8 (Yoast SEO v27.6) - https:\/\/yoast.com\/product\/yoast-seo-premium-wordpress\/ -->\n<title>How to Publish Website on Github Pages in Three Simple Steps - Hongkiat<\/title>\n<meta name=\"description\" content=\"Github Pages offers a valuable service by allowing you to host a static website directly from a Git repository. It&#039;s an ideal platform for solo developers\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hongkiat.com\/blog\/publishing-github-page\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Publish Website on Github Pages in Three Simple Steps\" \/>\n<meta property=\"og:description\" content=\"Github Pages offers a valuable service by allowing you to host a static website directly from a Git repository. It&#039;s an ideal platform for solo developers\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hongkiat.com\/blog\/publishing-github-page\/\" \/>\n<meta property=\"og:site_name\" content=\"Hongkiat\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/hongkiatcom\" \/>\n<meta property=\"article:published_time\" content=\"2024-06-14T13:00:15+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/assets.hongkiat.com\/uploads\/publishing-github-page\/create-repository.jpg\" \/>\n<meta name=\"author\" content=\"Thoriq Firdaus\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@tfirdaus\" \/>\n<meta name=\"twitter:site\" content=\"@hongkiat\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Thoriq Firdaus\" \/>\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:\\\/\\\/www.hongkiat.com\\\/blog\\\/publishing-github-page\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/publishing-github-page\\\/\"},\"author\":{\"name\":\"Thoriq Firdaus\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/e7948c7a175d211496331e4b6ce55807\"},\"headline\":\"How to Publish Website on Github Pages in Three Simple Steps\",\"datePublished\":\"2024-06-14T13:00:15+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/publishing-github-page\\\/\"},\"wordCount\":607,\"commentCount\":3,\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/publishing-github-page\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/publishing-github-page\\\/create-repository.jpg\",\"keywords\":[\"GitHub\"],\"articleSection\":[\"Web Design\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/publishing-github-page\\\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/publishing-github-page\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/publishing-github-page\\\/\",\"name\":\"How to Publish Website on Github Pages in Three Simple Steps - Hongkiat\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/publishing-github-page\\\/#primaryimage\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/publishing-github-page\\\/#primaryimage\"},\"thumbnailUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/publishing-github-page\\\/create-repository.jpg\",\"datePublished\":\"2024-06-14T13:00:15+00:00\",\"description\":\"Github Pages offers a valuable service by allowing you to host a static website directly from a Git repository. It's an ideal platform for solo developers\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/publishing-github-page\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/publishing-github-page\\\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/publishing-github-page\\\/#primaryimage\",\"url\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/publishing-github-page\\\/create-repository.jpg\",\"contentUrl\":\"https:\\\/\\\/assets.hongkiat.com\\\/uploads\\\/publishing-github-page\\\/create-repository.jpg\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/publishing-github-page\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Publish Website on Github Pages in Three Simple Steps\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"name\":\"Hongkiat\",\"description\":\"Tech and Design Tips\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#organization\",\"name\":\"Hongkiat.com\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"contentUrl\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/wp-content\\\/uploads\\\/hkdc-logo-rect-yoast.jpg\",\"width\":1200,\"height\":799,\"caption\":\"Hongkiat.com\"},\"image\":{\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/logo\\\/image\\\/\"},\"sameAs\":[\"https:\\\/\\\/www.facebook.com\\\/hongkiatcom\",\"https:\\\/\\\/x.com\\\/hongkiat\",\"https:\\\/\\\/www.pinterest.com\\\/hongkiat\\\/\"]},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/#\\\/schema\\\/person\\\/e7948c7a175d211496331e4b6ce55807\",\"name\":\"Thoriq Firdaus\",\"description\":\"Thoriq is a writer for Hongkiat.com with a passion for web design and development. He is the author of Responsive Web Design by Examples, where he covered his best approaches in developing responsive websites quickly with a framework.\",\"sameAs\":[\"https:\\\/\\\/thoriq.com\",\"https:\\\/\\\/x.com\\\/tfirdaus\"],\"jobTitle\":\"Web Developer\",\"url\":\"https:\\\/\\\/www.hongkiat.com\\\/blog\\\/author\\\/thoriq\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Publish Website on Github Pages in Three Simple Steps - Hongkiat","description":"Github Pages offers a valuable service by allowing you to host a static website directly from a Git repository. It's an ideal platform for solo developers","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:\/\/www.hongkiat.com\/blog\/publishing-github-page\/","og_locale":"en_US","og_type":"article","og_title":"How to Publish Website on Github Pages in Three Simple Steps","og_description":"Github Pages offers a valuable service by allowing you to host a static website directly from a Git repository. It's an ideal platform for solo developers","og_url":"https:\/\/www.hongkiat.com\/blog\/publishing-github-page\/","og_site_name":"Hongkiat","article_publisher":"https:\/\/www.facebook.com\/hongkiatcom","article_published_time":"2024-06-14T13:00:15+00:00","og_image":[{"url":"https:\/\/assets.hongkiat.com\/uploads\/publishing-github-page\/create-repository.jpg","type":"","width":"","height":""}],"author":"Thoriq Firdaus","twitter_card":"summary_large_image","twitter_creator":"@tfirdaus","twitter_site":"@hongkiat","twitter_misc":{"Written by":"Thoriq Firdaus","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hongkiat.com\/blog\/publishing-github-page\/#article","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/publishing-github-page\/"},"author":{"name":"Thoriq Firdaus","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/e7948c7a175d211496331e4b6ce55807"},"headline":"How to Publish Website on Github Pages in Three Simple Steps","datePublished":"2024-06-14T13:00:15+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/publishing-github-page\/"},"wordCount":607,"commentCount":3,"publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/publishing-github-page\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/publishing-github-page\/create-repository.jpg","keywords":["GitHub"],"articleSection":["Web Design"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hongkiat.com\/blog\/publishing-github-page\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hongkiat.com\/blog\/publishing-github-page\/","url":"https:\/\/www.hongkiat.com\/blog\/publishing-github-page\/","name":"How to Publish Website on Github Pages in Three Simple Steps - Hongkiat","isPartOf":{"@id":"https:\/\/www.hongkiat.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hongkiat.com\/blog\/publishing-github-page\/#primaryimage"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/publishing-github-page\/#primaryimage"},"thumbnailUrl":"https:\/\/assets.hongkiat.com\/uploads\/publishing-github-page\/create-repository.jpg","datePublished":"2024-06-14T13:00:15+00:00","description":"Github Pages offers a valuable service by allowing you to host a static website directly from a Git repository. It's an ideal platform for solo developers","breadcrumb":{"@id":"https:\/\/www.hongkiat.com\/blog\/publishing-github-page\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hongkiat.com\/blog\/publishing-github-page\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/publishing-github-page\/#primaryimage","url":"https:\/\/assets.hongkiat.com\/uploads\/publishing-github-page\/create-repository.jpg","contentUrl":"https:\/\/assets.hongkiat.com\/uploads\/publishing-github-page\/create-repository.jpg"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hongkiat.com\/blog\/publishing-github-page\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hongkiat.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Publish Website on Github Pages in Three Simple Steps"}]},{"@type":"WebSite","@id":"https:\/\/www.hongkiat.com\/blog\/#website","url":"https:\/\/www.hongkiat.com\/blog\/","name":"Hongkiat","description":"Tech and Design Tips","publisher":{"@id":"https:\/\/www.hongkiat.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hongkiat.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.hongkiat.com\/blog\/#organization","name":"Hongkiat.com","url":"https:\/\/www.hongkiat.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","contentUrl":"https:\/\/www.hongkiat.com\/blog\/wp-content\/uploads\/hkdc-logo-rect-yoast.jpg","width":1200,"height":799,"caption":"Hongkiat.com"},"image":{"@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/hongkiatcom","https:\/\/x.com\/hongkiat","https:\/\/www.pinterest.com\/hongkiat\/"]},{"@type":"Person","@id":"https:\/\/www.hongkiat.com\/blog\/#\/schema\/person\/e7948c7a175d211496331e4b6ce55807","name":"Thoriq Firdaus","description":"Thoriq is a writer for Hongkiat.com with a passion for web design and development. He is the author of Responsive Web Design by Examples, where he covered his best approaches in developing responsive websites quickly with a framework.","sameAs":["https:\/\/thoriq.com","https:\/\/x.com\/tfirdaus"],"jobTitle":"Web Developer","url":"https:\/\/www.hongkiat.com\/blog\/author\/thoriq\/"}]}},"jetpack_featured_media_url":"https:\/\/","jetpack_shortlink":"https:\/\/wp.me\/p4uxU-7e4","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/27780","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/users\/113"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/comments?post=27780"}],"version-history":[{"count":3,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/27780\/revisions"}],"predecessor-version":[{"id":72093,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/posts\/27780\/revisions\/72093"}],"wp:attachment":[{"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/media?parent=27780"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/categories?post=27780"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/tags?post=27780"},{"taxonomy":"topic","embeddable":true,"href":"https:\/\/www.hongkiat.com\/blog\/wp-json\/wp\/v2\/topic?post=27780"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}