<?xml version="1.0" encoding="utf-8"?><feed xmlns="http://www.w3.org/2005/Atom" xml:lang="ar"><generator uri="https://jekyllrb.com/" version="4.4.1">Jekyll</generator><link href="https://abdallah-miri.github.io/feed.xml" rel="self" type="application/atom+xml" /><link href="https://abdallah-miri.github.io/" rel="alternate" type="text/html" hreflang="ar" /><updated>2026-01-29T23:36:34+02:00</updated><id>https://abdallah-miri.github.io/feed.xml</id><title type="html">Abdallah MIRI</title><subtitle>Welcome to my personal website where I share my projects, blog posts, and more about web development.</subtitle><entry><title type="html">Data Types أنواع البيانات</title><link href="https://abdallah-miri.github.io/DataTypes/" rel="alternate" type="text/html" title="Data Types أنواع البيانات" /><published>2026-01-29T11:20:00+02:00</published><updated>2026-01-29T11:20:00+02:00</updated><id>https://abdallah-miri.github.io/DataTypes</id><content type="html" xml:base="https://abdallah-miri.github.io/DataTypes/"><![CDATA[<p><strong>Javascript بتقسم البيانات لنوعين كبار</strong></p>

<h2 id="أ--الأنواع-البدائية-primitive-types">أ- الأنواع البدائية primitive types</h2>
<p><strong>دقيم بسيطة بتتخزن مباشر</strong></p>

<p>▪︎ النصوص string: ```</p>

<pre><code class="language-Javascript">let x = "Ahmed";
</code></pre>

<p>▪︎الأرقام Number:</p>
<pre><code class="language-Javascript">let y = 67;
</code></pre>

<p>▪︎الأرقام الضخمة BigInt:</p>
<pre><code class="language-JavaScript">let i = 1773673777615551n;
</code></pre>

<p>▪︎undefinedمتغير متعرف بس لسه مخدش قيمة</p>
<pre><code class="language-JavaScript">let x;

console.log(typeof x) 
// undefined
</code></pre>

<p>▪︎قيمة منطقية boolean</p>
<pre><code class="language-JavaScript">let y = true;
</code></pre>

<p>▪︎قيمة فارغة Null</p>
<pre><code class="language-javascript">let i = null

console.log(typeof i)
// null
</code></pre>

<p>▪︎قيمة فريدة مبتكررش symbol</p>
<pre><code class="language-javascript">let x = symbol("id")
</code></pre>

<h2 id="ب--الكائنات-object">ب- الكائنات (Object)</h2>
<p><strong>دا زى صندوق كبير تقدر تخزن قيم كتير ومختلفة عن بعض جواه</strong></p>

<p>زى ايه؟ بيناتك:  اسمك وسنك وطول إلخ….</p>
<pre><code class="language-javascript">let User = {
name: "Ahmed",
age: 36,
active: false,
}
</code></pre>

<h2 id="typeof-operator-خاصية-بتستخدم-لمعرفة-نوع-البيانات">typeof operator خاصية بتستخدم لمعرفة نوع البيانات</h2>

<pre><code class="language-javascript">console.log(typeof User);
// object
</code></pre>

<p><strong>كده دى أنواع البيانات فى الjavascript بختصار</strong></p>

<p><img src="/assets/image/datatypesmap.png" alt="Data types map" class="w-40" /></p>]]></content><author><name></name></author><category term="javascript" /><summary type="html"><![CDATA[Javascript بتقسم البيانات لنوعين كبار]]></summary></entry><entry><title type="html">تعريف المتغيرات</title><link href="https://abdallah-miri.github.io/AllAboutVariabels/" rel="alternate" type="text/html" title="تعريف المتغيرات" /><published>2026-01-28T11:30:00+02:00</published><updated>2026-01-28T11:30:00+02:00</updated><id>https://abdallah-miri.github.io/AllAboutVariabels</id><content type="html" xml:base="https://abdallah-miri.github.io/AllAboutVariabels/"><![CDATA[<h2 id="ايه-هيا-المتغيرات">ايه هيا المتغيرات؟</h2>

<p>المتغيرات عبارة عن صندوق بنخزن فيه الاشياء او ما نحتاجها نطلعها او نشيلها ونضيف حاجة تانى مكنها</p>

<p><img src="/assets/image/javascript/box-var.png" alt="خريطة زهنية للمتغير variabel" class="mt-4 mb-4 w-full!" /></p>

<h2 id="انواع-المتغيرات">انواع المتغيرات</h2>

<ol>
  <li>
    <p>var: ودا النوع القديم</p>
  </li>
  <li>
    <p>let: دا النوع الاحدث لتعريف المتغيرات وممكن تغير قيمة بعدين</p>
  </li>
  <li>
    <p>const: ودا اختصار ل constant ود قيمةته ثابته مش بتتغير ولو حولت هيطلع Error خطأ من اللغة نفسها</p>
  </li>
</ol>

<h2 id="hoisting">Hoisting</h2>

<p>ودى حركة بتعملها javascript بترفع المتغيرات لفوق خالص قبل ما تشغل الكود و var بيترفع وقيمه بتقبى undefind لكن let وconst بيترفعوا بس مبيسمحوش ليك تستخدمهم قبل السطر بتاعهم ودا هنتكلم عنه فى Scope</p>

<h2 id="كيف-تسمى-المتغيرات">كيف تسمى المتغيرات؟</h2>

<ol>
  <li>
    <p>مينفعش تبدأ برقم زى كده</p>

    <pre><code class="language-javascript">let 5hg = "name;"
</code></pre>
  </li>
  <li>
    <p>مسموح بالحروف زى كدة</p>

    <pre><code class="language-javascript">let $button = "click"
let _color = #ffffff
</code></pre>
  </li>
  <li>
    <p>الطريقة المفضلة للاستخدام camelCase</p>

    <pre><code class="language-javascript">let myUserName = "MIRI"
</code></pre>
  </li>
</ol>

<h2 id="variable-scopes">Variable Scopes</h2>

<p>يعنى المتغيرات دى متشافة فين؟</p>

<ul>
  <li>
    <p>Global: يعنى متشافة فى كل حته فى الكود</p>
  </li>
  <li>
    <p>function: دى متشافة بس جوا function اللى اتعرف فيها</p>
  </li>
  <li>
    <p>block: دا خاص بالlet وconst المتغير بيقبى متشاف بس جوا {} الكتلة دى, مثال if او for</p>
  </li>
</ul>

<h3 id="if-acondition">if a <strong>condition</strong></h3>

<pre><code class="language-javascript">if (condition) {
  //  block of code to be executed if the condition is true
} else {
  //  block of code to be executed if the condition is false
} 
</code></pre>

<h3 id="loops--for">Loops  <strong>for</strong></h3>

<pre><code class="language-javascript">for (let i = 0; i &lt; cars.length; i++) {
  text += cars[i] + "&lt;br&gt;";
}
</code></pre>]]></content><author><name></name></author><category term="javascript" /><summary type="html"><![CDATA[ايه هيا المتغيرات؟]]></summary></entry><entry><title type="html">مقدمة javascript</title><link href="https://abdallah-miri.github.io/introduction/" rel="alternate" type="text/html" title="مقدمة javascript" /><published>2026-01-28T06:30:00+02:00</published><updated>2026-01-28T06:30:00+02:00</updated><id>https://abdallah-miri.github.io/introduction</id><content type="html" xml:base="https://abdallah-miri.github.io/introduction/"><![CDATA[<h2 id="ما-هى-javascript-">ما هى javascript ؟</h2>

<p><img src="/assets/image/javascript/javascript.svg" alt="شعار لغة javascript" class="mt-4 mb-4 w-20" /></p>

<p>JAVASCRIPT عبارة عن محرك أو عقل أى موقع ليه بسبب أن الموقع بدون javascrip عبارة عن صورة والمستخدم ميعرفش يتفاعل مع الموقع مثال: عرض القائمة أو الضغة على زرار معين فيفتح نافذة صغيرة للمستخدم, دا مثال بسيط عن استخدام اللغة</p>

<h2 id="تاريخ-اللغة">تاريخ اللغة</h2>
<p>اللغة ظهرت سنة 1995 فى شركة Netscape, المهندس اللى عمل اللغة هو بريندان آيخ (Brendan Eich) كتب اللغة فى 10 أيام, أسم اللغة ليس له علاقة بلغة Java واسمها الاول Mocha ثم الى LiveScript واستقرو على Javascript للاستفادة من شهرة Java فى ذالك الوقت مع أن اللغتين مختلفتين تماماً</p>

<h2 id="إصدارات-اللغة">إصدارات اللغة</h2>
<p>فى سنة 1997 ظهور الاسم التقنى ECMASCRIPT وفى سنة 1999 صدرت النسخة الثالثة ES3 واللغة يتم اصدار جديد كل عام تحت مسمى ECMAscript</p>

<h2 id="كيف-تشغل-اللغة">كيف تشغل اللغة</h2>
<p>تقدر تشغلها فى المتصفح من ادوات المطور معظم المتصفحات لديها هذه الادوات developer tool فى console تقدر تكتب كود javascript زى كدة</p>
<pre><code class="language-javascript">console.log("hello from console developer tool");
</code></pre>
<p>أو محرر أكواد زى Visual Studio Code <img src="/assets/image/text_editors/vscode.svg" alt="محرر كود Visual Studio Code" class="mt-4 w-30" />
<a href="https://code.visualstudio.com/" target="_blank" rel="noopener" class="download-link mb-2">رابط التحميل  ↖</a> <br />
دا كدة تعريف سريع للغة ولكن الغة كبيرة وليها استخدامات كتير هنتكلم عنها فى منشور اخر 😉</p>]]></content><author><name></name></author><category term="javascript" /><summary type="html"><![CDATA[ما هى javascript ؟]]></summary></entry><entry><title type="html">ما هى html</title><link href="https://abdallah-miri.github.io/html/" rel="alternate" type="text/html" title="ما هى html" /><published>2026-01-28T00:00:00+02:00</published><updated>2026-01-28T00:00:00+02:00</updated><id>https://abdallah-miri.github.io/html</id><content type="html" xml:base="https://abdallah-miri.github.io/html/"><![CDATA[<p>كلمة CSS هي اختصار لجملة Cascading Style Sheet و هي لغة تستخدم في تصميم صفحات الويب فمن خلالها يمكنك تغيير ألوان العناصر، تحديد مواقعها و أحجامها، إضافة مؤثرات لها، جعل صفحات الويب متجاوبة مع مختلف أحجام الشاشات لكي تظهر بشكل ملائم للمستخدم سواء كان يفتح الصفحة بواسطة هاتف، تابلت أو حاسوب، بالإضافة إلى الكثير من الأمور الرائعة التي ستتعلمها خطوة خطوة في هذه الدورة.</p>

<blockquote>
  <p>بشكل عام، CSS تعتبر لغة تصميم ( Styling Language ) و ليس لغة برمجة ( Programming Language ) فهي تستخدم في تصميم صفحات الويب التي يتم بناؤها بواسطة HTML أو الصفحات التي يتم بناؤها بواسطة XML.</p>
</blockquote>

<p><img src="/assets/image/b_logo.png" width="200" style="display: block; margin: 0 auto;" /></p>]]></content><author><name></name></author><summary type="html"><![CDATA[كلمة CSS هي اختصار لجملة Cascading Style Sheet و هي لغة تستخدم في تصميم صفحات الويب فمن خلالها يمكنك تغيير ألوان العناصر، تحديد مواقعها و أحجامها، إضافة مؤثرات لها، جعل صفحات الويب متجاوبة مع مختلف أحجام الشاشات لكي تظهر بشكل ملائم للمستخدم سواء كان يفتح الصفحة بواسطة هاتف، تابلت أو حاسوب، بالإضافة إلى الكثير من الأمور الرائعة التي ستتعلمها خطوة خطوة في هذه الدورة.]]></summary></entry><entry><title type="html">مقدمة فى CSS</title><link href="https://abdallah-miri.github.io/intoduction/" rel="alternate" type="text/html" title="مقدمة فى CSS" /><published>2026-01-28T00:00:00+02:00</published><updated>2026-01-28T00:00:00+02:00</updated><id>https://abdallah-miri.github.io/intoduction</id><content type="html" xml:base="https://abdallah-miri.github.io/intoduction/"><![CDATA[<p>#</p>]]></content><author><name></name></author><category term="css" /><summary type="html"><![CDATA[#]]></summary></entry><entry><title type="html">post one</title><link href="https://abdallah-miri.github.io/iti7ti7tiu/" rel="alternate" type="text/html" title="post one" /><published>2025-10-12T00:00:00+03:00</published><updated>2025-10-12T00:00:00+03:00</updated><id>https://abdallah-miri.github.io/iti7ti7tiu</id><content type="html" xml:base="https://abdallah-miri.github.io/iti7ti7tiu/"><![CDATA[<p>Where can I get some?
There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don’t look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn’t anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.</p>]]></content><author><name></name></author><category term="text" /><summary type="html"><![CDATA[Where can I get some? There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don’t look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn’t anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.]]></summary></entry><entry><title type="html">one line</title><link href="https://abdallah-miri.github.io/oneline/" rel="alternate" type="text/html" title="one line" /><published>2016-01-03T00:00:00+02:00</published><updated>2016-01-03T00:00:00+02:00</updated><id>https://abdallah-miri.github.io/oneline</id><content type="html" xml:base="https://abdallah-miri.github.io/oneline/"><![CDATA[<p>Where can I get some?
There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don’t look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn’t anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.</p>]]></content><author><name></name></author><category term="code" /><summary type="html"><![CDATA[Where can I get some? There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don’t look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn’t anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.]]></summary></entry><entry><title type="html">new Post</title><link href="https://abdallah-miri.github.io/newpost/" rel="alternate" type="text/html" title="new Post" /><published>2014-05-12T00:00:00+02:00</published><updated>2014-05-12T00:00:00+02:00</updated><id>https://abdallah-miri.github.io/newpost</id><content type="html" xml:base="https://abdallah-miri.github.io/newpost/"><![CDATA[<p>Where can I get some?
There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don’t look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn’t anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.</p>]]></content><author><name></name></author><category term="books" /><summary type="html"><![CDATA[Where can I get some? There are many variations of passages of Lorem Ipsum available, but the majority have suffered alteration in some form, by injected humour, or randomised words which don’t look even slightly believable. If you are going to use a passage of Lorem Ipsum, you need to be sure there isn’t anything embarrassing hidden in the middle of text. All the Lorem Ipsum generators on the Internet tend to repeat predefined chunks as necessary, making this the first true generator on the Internet. It uses a dictionary of over 200 Latin words, combined with a handful of model sentence structures, to generate Lorem Ipsum which looks reasonable. The generated Lorem Ipsum is therefore always free from repetition, injected humour, or non-characteristic words etc.]]></summary></entry></feed>