{"id":99,"date":"2026-02-13T16:34:27","date_gmt":"2026-02-13T16:34:27","guid":{"rendered":"https:\/\/theroyalscode.com\/students\/a_mehraban\/?p=99"},"modified":"2026-02-13T16:34:27","modified_gmt":"2026-02-13T16:34:27","slug":"free-friday-assignment-2","status":"publish","type":"post","link":"https:\/\/theroyalscode.com\/students\/a_mehraban\/2026\/02\/13\/free-friday-assignment-2\/","title":{"rendered":"Free Friday assignment"},"content":{"rendered":"\n<p>I made website tutoria<\/p>\n\n\n\n<p>here the index.html code<\/p>\n\n\n\n<!DOCTYPE html>\n<html lang=\"en\">\n<head>\n    <meta charset=\"UTF-8\">\n    <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">\n    <link rel=\"stylesheet\" href=\"styles.css\">\n    <title>Ahmad<\/title>\n<\/head>\n<body>\n    <header>\n        <nav>\n            <ul>\n                <li><a href=\"#\">Ahmad<\/a><\/li>\n                <li><a href=\"#\">Instagram<\/a><\/li>\n                <li><a href=\"#\">LinkedIn<\/a><\/li>\n                <li><a href=\"#\">My work<\/a><\/li>\n                <li><a href=\"#\">Contact<\/a><\/li>\n            <\/ul>\n        <\/nav>\n        <div class=\"flex-container\">\n            <img decoding=\"async\" height=\"400px\" width=\"300px\" src=\"images\/download.jpg\" alt=\"A weird picture of Ahmad on a frozen-snowy lake\">\n            <div class=\"text-container\">\n                <h1>I&#8217;m Ahmad. I&#8217;m a <strong>Web Developer apparently<\/strong> and <strong>a student under the best programming teacher<\/strong><\/h1>\n                <a href=\"\" class=\"cta-button\">Don&#8217;t follow me, thats stalking<\/a>\n                <a href=\"#best-pictures\" class=\"cta-button secondary\">My Work<\/a>\n            <\/div>\n        <\/div>\n    <\/header>\n \n \n    <section>\n        <div class=\"flex-container\">\n            <div class=\"text-container\">\n                <h2>How I can help you<\/h2>\n                <p>ok ok ok ok ok ok ok ok 0ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok ok<\/p>\n                <\/div>\n            <img decoding=\"async\" width=\"300\" src=\"images\/undraw_product-photography_pouq.svg\" alt=\"a picture of a dude holding a camera at a phone\">\n        <\/div>\n    <\/section>\n \n    <section id=\"best-pictures\">\n            <h2>Some of my best pictures<\/h2>\n    <div class=\"grid-container\">\n        <img decoding=\"async\"  src=\"images\/360_F_121399743_Drmce83Q3Y6nnOyuCRqIZPj85eUvKYqN.jpg\">\n        <img decoding=\"async\" style=\"grid-area: img-2\" src=\"images\/download (1).jpg\">\n        <img decoding=\"async\" style=\"grid-area: img-3\" src=\"images\/download (2).jpg\">\n        <img decoding=\"async\" style=\"grid-area: img-4\" src=\"images\/download (3).jpg\">\n        <img decoding=\"async\" style=\"grid-area: img-5\" src=\"images\/sunset.jpg\">\n        <img decoding=\"async\" style=\"grid-area: img-5\" src=\"images\/download (5).jpg\">\n    <\/div>\n    <a href=\"\" class=\"cta-button\">More on my insta<\/a>\n <\/section>\n \n<section>\n    <h2>Common Questions<\/h2>\n    <details>\n        <summary>What is your name?<\/summary>\n        <p>Ahmad<\/p>\n    <\/details>\n    <details>\n        <summary>Is grass green?<\/summary>\n        <p>Go check<\/p>\n    <\/details>\n    <details>\n        <summary>Contact me<\/summary>\n        <p>*cool number*<\/p>\n    <\/details>\n<\/section>\n \n    <footer>\n        <a href=\"\">Link<\/a>\n        <a href=\"#best-pictures\">My Work<\/a>\n        <a href=\"hi@by.com\">Contact<\/a>\n    <\/footer>\n<\/body>\n<\/html>\n \n\n\n\n\n<p>here is the styles.css code<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>@import url('https:\/\/fonts.googleapis.com\/css2?family=Inter:ital,opsz,wght@0,14..32,100..900;1,14..32,100..900&amp;family=Merriweather:ital,opsz,wght@0,18..144,300..900;1,18..144,300..900&amp;family=Montserrat:ital,wght@0,100..900;1,100..900&amp;family=Noto+Sans:ital,wght@0,100..900;1,100..900&amp;family=Roboto:ital,wght@0,100..900;1,100..900&amp;family=Rubik:ital,wght@0,300..900;1,300..900&amp;family=SN+Pro:ital,wght@0,200..900;1,200..900&amp;display=swap');\n \n:root {\n  --base-color:      #ffffff;\n  --text-color:      #000000;\n  --primary-color:   #ffc06e;\n  --secondary-color: #8D8DFF;\n  --color-1:         #F9F6F3;\n  --color-2:         #F3F7F9;\n  --color-3:         #F6F3F9;\n}\n \n \n* {\n    margin: 0;\n    padding: 0;\n    box-sizing: border-box;\n}\n \nhtml {\n  font-family: Poppins, 'Segoe UI', Tahoma;\n  color: var(--text-color);\n}\n \nbody {\n  padding: 1em;\n  background-color: var(--base-color);\n}\n \n \nh1, h2, h3{\n  font-family: Merriweather, Popins, 'Segoe';\n}\n \nnav {\n  margin: 1em auto 3em auto;\n  width: min(1000px, 100%);\n}\n \nnav ul {\n  display: flex;\n  align-items: center;\n  list-style-type: none;\n  gap: 2em;\n}\n \n \n \nnav li:first-child{\n  margin-right: auto;\n  font-family: Merriweather, Poppins;\n  font-weight: bold;\n \n}\n \n \n \nnav a{\n  text-decoration: none;\n  color: var(--text-color);\n \n \n}\nnav a :hover{\n  text-decoration: underline;\n}\n \nheader, section {\n  margin:2em auto;\n  width: min(75em, 100%);\n  background-color: var(--color-1);\n  padding: min(2em, 15%);\n  border-radius: 1em;\n \n}\n \n \n.flex-container {\n  display: flex;\n  justify-content: center;\n  align-items: center;\n  flex-wrap: wrap;\n  gap: 3em;\n}\n \nheader img{\n  max-width: 100%;\n  border-radius: 1em;\n  object-fit: cover;\n  object-position: bottom;\n}\n \n \n.text-container{\n  flex: 0 1 34em;\n}\n \nh1 {\n  font-size: 2.5rem;\n}\n \n \n.text-container p{\n  margin: .75em 0 1em 0;\n  font-size: 1.25rem;\n \n}\n.cta-button {\n  display: inline-block;\n  text-decoration: none;\n  color: white;\n  background-color: var(--primary-color);\n  padding: .75em 1.25em;\n  border-radius: .5em;\n  font-weight: 600;\n}\n \n \n \n.secondary {\n  background-color: var(--secondary-color);\n}\n \n \nsection {\n  padding: 3em min(2em, 15%);\n  background-color: var(--color-2);\n  text-align: center;\n \n}\n \n \nh2 {\n  font-size: 2rem;\n}\n \nsection p {\n  font-size: 1.25rem;\n}\n \n \nsection#my-work {\n  background-color: var(--color-3);\n}\n \n.grid-container {\n \n  margin-top: 3em;\n  margin-bottom: 3em;\n  display: grid;\n  width: 100%;\n  grid-template-columns: repeat(4, 1fr);\n  grid-template-rows: 1fr 1fr;\n  grid-template-areas:\n  \"img-1 img-1 img-2 img-3\"\n  \"img-1 img-1 img-4 img-5\";\n  gap: 1em;\n}\n \n \n \n.grid-container img {\n  height: 100%;\n  width: 100%;\n  border-radius: .5em;\n  transition: 100ms ease;\n}\n \n \n.grid-container img:hover {\n  scale: 1.05;\n}<\/code><\/pre>\n\n\n\n<p>here is picture<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"897\" height=\"876\" src=\"https:\/\/theroyalscode.com\/students\/a_mehraban\/wp-content\/uploads\/2026\/02\/image-2.png\" alt=\"\" class=\"wp-image-100\" srcset=\"https:\/\/theroyalscode.com\/students\/a_mehraban\/wp-content\/uploads\/2026\/02\/image-2.png 897w, https:\/\/theroyalscode.com\/students\/a_mehraban\/wp-content\/uploads\/2026\/02\/image-2-300x293.png 300w, https:\/\/theroyalscode.com\/students\/a_mehraban\/wp-content\/uploads\/2026\/02\/image-2-768x750.png 768w\" sizes=\"auto, (max-width: 897px) 100vw, 897px\" \/><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"917\" height=\"800\" src=\"https:\/\/theroyalscode.com\/students\/a_mehraban\/wp-content\/uploads\/2026\/02\/image-3.png\" alt=\"\" class=\"wp-image-101\" srcset=\"https:\/\/theroyalscode.com\/students\/a_mehraban\/wp-content\/uploads\/2026\/02\/image-3.png 917w, https:\/\/theroyalscode.com\/students\/a_mehraban\/wp-content\/uploads\/2026\/02\/image-3-300x262.png 300w, https:\/\/theroyalscode.com\/students\/a_mehraban\/wp-content\/uploads\/2026\/02\/image-3-768x670.png 768w\" sizes=\"auto, (max-width: 917px) 100vw, 917px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>I made website tutoria here the index.html code Ahmad Ahmad Instagram LinkedIn My work Contact I&#8217;m Ahmad. I&#8217;m a Web [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"footnotes":""},"categories":[1],"tags":[],"class_list":["post-99","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/theroyalscode.com\/students\/a_mehraban\/wp-json\/wp\/v2\/posts\/99","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theroyalscode.com\/students\/a_mehraban\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/theroyalscode.com\/students\/a_mehraban\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/a_mehraban\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/a_mehraban\/wp-json\/wp\/v2\/comments?post=99"}],"version-history":[{"count":1,"href":"https:\/\/theroyalscode.com\/students\/a_mehraban\/wp-json\/wp\/v2\/posts\/99\/revisions"}],"predecessor-version":[{"id":102,"href":"https:\/\/theroyalscode.com\/students\/a_mehraban\/wp-json\/wp\/v2\/posts\/99\/revisions\/102"}],"wp:attachment":[{"href":"https:\/\/theroyalscode.com\/students\/a_mehraban\/wp-json\/wp\/v2\/media?parent=99"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/a_mehraban\/wp-json\/wp\/v2\/categories?post=99"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/a_mehraban\/wp-json\/wp\/v2\/tags?post=99"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}