{"id":104,"date":"2026-03-13T15:43:02","date_gmt":"2026-03-13T15:43:02","guid":{"rendered":"https:\/\/theroyalscode.com\/students\/a_mehraban\/?p=104"},"modified":"2026-03-13T15:46:44","modified_gmt":"2026-03-13T15:46:44","slug":"free-friday-assigment-2-27-26","status":"publish","type":"post","link":"https:\/\/theroyalscode.com\/students\/a_mehraban\/2026\/03\/13\/free-friday-assigment-2-27-26\/","title":{"rendered":"Free friday assigment 2\/27\/26"},"content":{"rendered":"\n<p>i made website called my class <\/p>\n\n\n\n<p>here you can see <\/p>\n\n\n\n<p>index.html<\/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    <title>My Class Website<\/title>\n    <link rel=\"stylesheet\" href=\"style.css\">\n<\/head>\n<body>\n\n    <nav>\n        <h2 class=\"logo\">AhmadSite<\/h2>\n        <ul>\n            <li><a href=\"#\">Home<\/a><\/li>\n            <li><a href=\"#\">Projects<\/a><\/li>\n            <li><a href=\"#\">About<\/a><\/li>\n        <\/ul>\n    <\/nav>\n\n    <header class=\"hero\">\n        <h1>Welcome to My Website<\/h1>\n        <p>A clean and modern design using HTML, CSS, and JavaScript.<\/p>\n        <button id=\"myButton\">Click Me<\/button>\n        <p id=\"message\"><\/p>\n    <\/header>\n\n    <footer>\n        <p>Created by Ahmad \u00a9 2024<\/p>\n    <\/footer>\n\n    <script src=\"app.js\"><\/script>\n<\/body>\n<\/html>\n\n\n\n\n<p>here style.css<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\n* {\n    margin: 0;\n    padding: 0;\n    box-sizing: border-box;\n}\n\nbody {\n    font-family: \"Poppins\", sans-serif;\n    background: #ffe6f2; \n    color: #4a4a4a;\n}\n\n\nnav {\n    display: flex;\n    justify-content: space-between;\n    align-items: center;\n    padding: 15px 40px;\n    background: #ff99c8;\n    color: white;\n    box-shadow: 0 4px 10px rgba(255, 153, 200, 0.4);\n}\n\nnav ul {\n    display: flex;\n    list-style: none;\n}\n\nnav ul li {\n    margin-left: 20px;\n}\n\nnav ul li a {\n    color: white;\n    text-decoration: none;\n    font-weight: 500;\n}\n\n.logo {\n    font-size: 24px;\n    font-weight: bold;\n    color: white;\n}\n\n\n.hero {\n    text-align: center;\n    padding: 100px 20px;\n    background: white;\n    margin: 40px auto;\n    width: 80%;\n    border-radius: 20px;\n    box-shadow: 0 6px 25px rgba(255, 153, 200, 0.3);\n}\n\n.hero h1 {\n    font-size: 40px;\n    margin-bottom: 10px;\n    color: #ff5fa2;\n}\n\n.hero p {\n    font-size: 18px;\n    margin-bottom: 20px;\n    color: #555;\n}\n\n\nbutton {\n    padding: 12px 25px;\n    font-size: 18px;\n    background: #ff5fa2;\n    color: white;\n    border: none;\n    border-radius: 10px;\n    cursor: pointer;\n    transition: 0.3s;\n    box-shadow: 0 4px 10px rgba(255, 95, 162, 0.4);\n}\n\nbutton:hover {\n    background: #e14f8f;\n    transform: scale(1.07);\n}\n\n\nfooter {\n    text-align: center;\n    padding: 20px;\n    margin-top: 40px;\n    background: #ff99c8;\n    color: white;\n    border-top: 3px solid #ff5fa2;\n}\n<\/code><\/pre>\n\n\n\n<p>here app.js<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>document.getElementById(\"myButton\").addEventListener(\"click\", () => {\n    const message = document.getElementById(\"message\");\n    message.textContent = \"You clicked it! Pink theme activated.\";\n    message.style.color = \"#ff5fa2\";\n    message.style.fontWeight = \"bold\";\n});\n<\/code><\/pre>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"442\" src=\"https:\/\/theroyalscode.com\/students\/a_mehraban\/wp-content\/uploads\/2026\/03\/image-6-1024x442.png\" alt=\"\" class=\"wp-image-118\" srcset=\"https:\/\/theroyalscode.com\/students\/a_mehraban\/wp-content\/uploads\/2026\/03\/image-6-1024x442.png 1024w, https:\/\/theroyalscode.com\/students\/a_mehraban\/wp-content\/uploads\/2026\/03\/image-6-300x130.png 300w, https:\/\/theroyalscode.com\/students\/a_mehraban\/wp-content\/uploads\/2026\/03\/image-6-768x332.png 768w, https:\/\/theroyalscode.com\/students\/a_mehraban\/wp-content\/uploads\/2026\/03\/image-6-1536x664.png 1536w, https:\/\/theroyalscode.com\/students\/a_mehraban\/wp-content\/uploads\/2026\/03\/image-6.png 1889w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>i made website called my class here you can see index.html My Class Website AhmadSite Home Projects About Welcome to [&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-104","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/theroyalscode.com\/students\/a_mehraban\/wp-json\/wp\/v2\/posts\/104","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=104"}],"version-history":[{"count":2,"href":"https:\/\/theroyalscode.com\/students\/a_mehraban\/wp-json\/wp\/v2\/posts\/104\/revisions"}],"predecessor-version":[{"id":119,"href":"https:\/\/theroyalscode.com\/students\/a_mehraban\/wp-json\/wp\/v2\/posts\/104\/revisions\/119"}],"wp:attachment":[{"href":"https:\/\/theroyalscode.com\/students\/a_mehraban\/wp-json\/wp\/v2\/media?parent=104"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/a_mehraban\/wp-json\/wp\/v2\/categories?post=104"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/theroyalscode.com\/students\/a_mehraban\/wp-json\/wp\/v2\/tags?post=104"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}