🌐 Alin Li · DIY Workshop

Build Your First Website!

In this hands-on workshop, you'll build a real website from scratch — using only free, open-source tools. No experience needed. By the end, your site will be live on the internet!

Start Building! 🔨 How to Go Live 🚀
🛠️ مجموعة أدواتك

كلها مجانية. كلها مفتوحة المصدر.

Everything you need — $0 total cost!

💻 VS Code / VSCodium (code editor)
🦊 Firefox / Brave (browser)
🐙 GitHub Pages (free hosting)
📝 HTML + CSS + JS (languages)
1

HTML — The Skeleton of Your Website

⏱️ 15 minutes

HTML (لغة ترميز النص التشعبي) هي بنية كل موقع. تخبر المتصفح بالمحتوى الذي يعرضه — العناوين والفقرات والصور والروابط والأزرار. تخيّلها بمثابة skeleton of your site.

Every HTML element uses tags: an opening tag <h1> and a closing tag </h1>. يوضع المحتوى بينهما.

📖 وسوم HTML الأساسية

<h1> to <h6> = Headings (h1 biggest, h6 smallest)
<p> = Paragraph
<a href="..."> = Link
<img src="..."> = Image
<ul> / <li> = List
<div> = Container (group things together)
<button> = Button

👇 Try editing the code below and click "Run"!

index.html
Preview

🎯 Challenge!

Change [YOUR NAME] to your actual name. Add more items to the list. Change the emoji! Then click Run.

2

CSS — Making It Beautiful!

⏱️ 20 minutes

CSS (أوراق الأنماط المتتالية) هي skin and clothes of your website. It controls colors, fonts, sizes, spacing, layout — everything visual. Without CSS, every website would look like a boring text document!

📖 خصائص CSS الأساسية

color = Text color
background = Background color or image
font-size = Text size
font-family = Font style
padding = Space inside an element
margin = Space outside an element
border-radius = Rounded corners
text-align = center, left, right

styled-page.html
Preview

🎯 Challenge!

Change the background color of the body. Change the color of h1. Add your own tags. Make the button a different color!

3

JavaScript — Making It Interactive!

⏱️ 20 minutes

JavaScript is the brain of your website. HTML is the skeleton, CSS is the skin — and JS makes it do things. انقر على زر، وأظهر المحتوى أو أخفه، وغيّر الألوان، ونفّذ العمليات الحسابية، وأنشئ الألعاب — JavaScript يحقق كل ذلك!

interactive-page.html
Preview

🎯 Challenge!

أضف زرًا جديدًا يعرض رمزًا تعبيريًا عشوائيًا! أضف عدادًا يزداد مع كل نقرة. وجرّب جعل النرد ذا 20 وجهًا!

4

🏆 Your Complete Website Project!

⏱️ 30 minutes — put it all together!

لنجمع الآن بنية HTML وتنسيق CSS وتفاعل JavaScript في موقع شخصي متكامل! عدّل الشيفرة أدناه لتجعله خاصًا بك.

my-website.html
Preview
🎉 Congratulations!

You just built a complete personal portfolio website! It has a hero section, about me, projects, and links — all styled beautifully. This is a REAL website that you can publish on the internet!

🚀 انشر مباشرة

انشر موقعك على الإنترنت — مجانًا!

Your website is ready. Now let the world see it!

🐙

GitHub Pages

Push your code to GitHub, enable Pages in settings — your site is live at yourname.github.io! الطريقة الأكثر شيوعًا لدى مطوري المصادر المفتوحة.

💚 100% Free
▲

Netlify

Drag and drop your files — instant website! Automatic HTTPS, custom domains, and it's incredibly fast.

💚 Free tier
▼

Vercel

Created by the makers of Next.js. Perfect for more advanced sites. Push to GitHub = automatic deployment.

💚 Free tier
🏔️

Codeberg Pages

مثل GitHub Pages، لكنه غير ربحي بالكامل ومملوك للمجتمع. بلا تتبّع من الشركات. مصدر مفتوح بحق.

💚 100% Free & Open
🚀 الخطوة التالية

واصل التطور!

📚 تعلّم المزيد على

freeCodeCamp.org — Full HTML/CSS/JS course (300+ hours, free!)
TheOdinProject.com — Full-stack web development curriculum
KhanAcademy.org — Interactive intro to HTML/CSS/JS
MDN Web Docs (developer.mozilla.org) — أفضل مرجع لتقنيات الويب

🌟 Your Journey

HTML/CSS → JavaScript → React or Vue → Node.js → Databases → Full-Stack Developer! And every single tool in this journey is free and open source. بُني الويب على معايير مفتوحة — وأنت الآن جزء منه!

«عَلِّمُوا وَلَا تُعَنِّفُوا»

«علّموا ويسّروا.» — الويب مصمم ليكون مفتوحًا. أصبح موقعك الآن جزءًا من الويب المفتوح. شارك ما تعلمته! ✨