Alif Tech
131 subscribers
38 photos
7 videos
12 files
59 links
🚀 Welcome to Alifteck! 🚀


Learn web development from scratch! Join for beginner-friendly tips, tutorials, and resources .


Join us for tutor

https://t.me/tech_memory
Download Telegram
JavaScript in 5 min👇

🔹 JavaScript Basics

➡️ JavaScript is a scripting language for web development
➡️ Runs in the browser or server (via Node.js)
➡️ Case-sensitive and dynamic (no fixed data types)
➡️ Statements end with ; (optional but recommended)
➡️ Use // for single-line comments and /* */ for multi-line comments

🔹 Variables

➡️ Use let and const for block-scoped variables
➡️ Use var (function-scoped; avoid in modern code)
➡️ const is used for constants (cannot be reassigned)
➡️ Variable names must start with a letter, _, or $

🔹 Data Types

➡️ Primitive Types: string, number, boolean, null, undefined, symbol, bigint
➡️ Reference Types: object, array, function
➡️ Use typeof to check type

🔹 Operators

➡️ Arithmetic: +, -, *, /, %, **
➡️ Assignment: =, +=, -=, *=, /=, etc.
➡️ Comparison: ==, ===, !=, !==, >, <, >=, <=
➡️ Logical: &&, ||, !
➡️ Ternary: condition ? true : false
➡️ Nullish Coalescing: ??

🔹 Control Flow

➡️ if, else if, else for conditionals
➡️ switch for multiple conditions
➡️ for, while, do...while for loops
➡️ break exits a loop, continue skips an iteration

🔹 Functions

➡️ Declare with function keyword
➡️ Arrow functions: const name = () => {}
➡️ Parameters are listed in ()
➡️ Functions can return values using return
➡️ Can be assigned to variables or passed as arguments

🔹 Arrays

➡️ Arrays are list-like objects
➡️ Use [] to declare
➡️ Common Methods:
➡️ push(), pop(), shift(), unshift()
➡️ slice(), splice(), concat(), join()
➡️ map(), filter(), reduce(), forEach()
➡️ Use length to get array size
➡️ Index starts at 0

🔹 Objects

➡️ Objects store key-value pairs
➡️ Declare using { key: value }
➡️ Access with dot . or bracket [] notation
➡️ Use Object.keys(), Object.values(), Object.entries()
➡️ Use delete to remove a property

🔹 Strings

➡️ Strings can use single or double quotes
➡️ Template literals use backticks `, and ${} for variables
➡️ Common Methods:
➡️ length, toUpperCase(), toLowerCase()
➡️ includes(), indexOf(), slice(), substring()
➡️ replace(), split(), trim()

🔹 Math & Numbers

➡️ Use Math object:
➡️ Math.round(), Math.floor(), Math.ceil()
➡️ Math.random(), Math.max(), Math.min()
➡️ Use parseInt(), parseFloat() to convert strings
➡️ Use Number() to convert any type to number

🔹 Date and Time

➡️ Use new Date() to create date objects
➡️ Methods:
➡️ getFullYear(), getMonth(), getDate()
➡️ getHours(), getMinutes(), getSeconds()
➡️ Use set...() to change date/time values

🔹 Events

➡️ Events are actions like click, hover, etc.
➡️ Use addEventListener() to handle events
➡️ Common Events: click, submit, input, keydown, load
➡️ The event object contains details about the event

🔹 DOM Manipulation

➡️ DOM = Document Object Model
➡️ Select Elements:
➡️ getElementById(), getElementsByClassName()
➡️ querySelector(), querySelectorAll()
➡️ Modify Content:
➡️ textContent, innerText, innerHTML
➡️ Modify Styles:
➡️ http://element.style.property = value
➡️ Modify Classes:
➡️ classList.add(), remove(), toggle()
➡️ Create/Remove Elements:
➡️ createElement(), appendChild(), removeChild()

🔹 ES6+ Features

➡️ let and const for modern variable declarations
➡️ Arrow functions for concise syntax
➡️ Template literals with ${}
➡️ Destructuring objects and arrays
➡️ Spread (...) and Rest (...) operators
➡️ Default parameters in functions
➡️ Modules using export and import
➡️ Promises and async/await for handling async code

🔹 Control & Error Handling

➡️ Use try, catch, finally to handle errors
➡️ Use throw to create custom errors
➡️ Use console.log(), console.error(), console.warn() for debugging

🔹 Loops with Arrays

➡️ forEach() iterates over items
➡️ map() returns a new array
➡️ filter() returns items that match condition
➡️ reduce() reduces to a single value
➡️ some() and every() return booleans
1
Forwarded from STEM with Murad 🇪🇹
guidance-to-write-scholarship-letter.pdf
87.3 KB
ቅመሞች ቶሎ ፍጠኑና አፕላይ አድርጉ።
ኢቫንጋዲዎች የስኮላርሺፕ እድል ማስታወቂያ ስላወጡ በዚህ ባያያዝኩት ፋይል ጋይድ ላይን መሠረት አፕላይ አድርጉ። የሚጠናቀቀው ጁን 7 ነው። እንዳያልፋችሁ። ለወደፊቱ ግን ቀጥታ ከዌብ ደቨሎፕመንት ውጭ ያሉ አማራጮችንም እያያችሁ። ምክንያቱም የኤአይና አውቶሜሽን ዓለሙ እየፈጠነ ነው።
👍1
l🌺 !عيدكم مبارك 🌺
  🌹 ዒድ ሙባረክ! 🌹 
l🤲تقبل الله منا ومنكم صالح الأعما🤲l  


🌸الله أكبر الله أكبر لا إله إلا الله
     الله أكبر الله أكبر ولله الحمد🌸
          

           ·┈┈┈•✿❁✿•┈┈┈┈•
1
Wifi password

ኮምፒውተራችሁ ላይ ከዚህ በፊት save/connect የተደረገን wifi password ያለምንም ተጨማሪ software እንዴት ማግኘት እንደምትችሉ ላሳያችሁ።

በመጀመሪያ cmd ብላችሁ windows ላይ በመፃፍ cmdን መክፈት።

በመቀጠልም ይህንን code መፃፍ፦
netsh wlan show profiles
ይህንን ፅፈን enter ከነካን በኋላ የዋይፋዮቹ ዝርዝር ይመጡላችኋል።

ከዚያም ይህንን code በድጋሚ መፃፍ
netsh wlan show profile name="NETWORK_NAME" key=clear
ነገር ግን network _name የሚለውን ፅሁፍ በናንተ wifi ስም ትተኩታላችሁ። ለምሳሌ የናንተ wifi ስም selam ቢሆን
netsh wlan show profile name="selam" key=clear ብላችሁ ትፅፋላችሁ።

በስተመጨሩሻም ከሚመጡላችሁ ዝርዝር መረጃዎች መካከል key content ከሚለው ፅሁፍ አጠገብ የዋይፋያችሁን password ታገኙታላችሁ።

@tech_memory
👍1
💰Elon Musk is the richest man on earth yet he sleeps in his office and works 18+ hours a day not for the money, but for the mission.
💰Mark Cuban is a billionaire too.
But he’s still taking AI marketing course so he doesn’t fall behind in the game

If this guys are grinding like beginners what excuse do we have? Stay hungry hustlers🙌
👍3👎1
This media is not supported in your browser
VIEW IN TELEGRAM
You can make Addis AI speak excitedly, calmly, or in any tone you want.
This time, we asked it to sing Happy Birthday🎉 ( in Amharic ).

@addisassistantai
Forwarded from Addis AI Assistant
This media is not supported in your browser
VIEW IN TELEGRAM
መረጃ ወዳሉበት ከምንግዚውም በላ ቀርቧል - ለ ሁሉም ጥያቄዎ መልሱ በ አዲስ AI! የፈለጉትን መረጃ፣ ማብራሪያ ወይም ሃሳብ በቀላሉ ያግኙ። በአማርኛም ሆነ በአፋን ኦሮሞ ይጠይቁ - አዲስ AI የእርስዎን ቋንቋ ይናገራል! አሁኑኑ ያውርዱት!


Odeeffannoon bakka jirtanitti kan durii caalaa dhihaatee jira - Deebiin gaaffiiwwan keessan hundaaf Addis AI keessa jira! Odeeffannoo, ibsa yookiin yaada feetan salphaatti argadhaa. Amaariffaanis ta'e Afaan Oromootiin gaafadhaa - Addis AI afaan keessan dubbata! Ammuma buufadhaa!



 📱https://bit.ly/addis_ai
Veo_3_Prompt_Writing_Guide.pdf
86.8 KB
prompt guide
👍1
@WhatIOwnBot ይህንን ቦት በመጠቀም admin የሆናችሁባቸውን ቻናሎችና ግሩፖች እንዲሁም እናንተ የከፈታችኋቸውን ቻናሎች እና ግሩፖች ያሳያችኋል።

ድሮ የከፈታችሁት እና የረሳችሁት channel ወይም group ካለ check ማድረግ ትችላላችሁ።
behind every app, the same 5-step loop:

1) you click something (frontend)
2) it sends data (backend)
3) backend saves or reads (database)
4) runs some logic (backend again)
5) sends a response (frontend updates the UI)

click → send → store → process → show

just a loop.

that’s how apps work.
ግሮክ 4 ተለቀቀ ። በ ኢሎን መስክ የሚመራው xAi አሁን ካሉት የ Ai ሲስተሞች ቻትጂፒቲ እና ጀሚኒ በጣም የተሻለ ሆኖ የመጣውን ግሮክ 4 ይዞ መጥቷል ።

ግሮክ 4 ከ በፊቱ ግሮክ 3 በ ኮምፒዩትም በ ትሬይኒንግም በ 10 እጥፍ የተሻ እንዴሆነ ተናግሯል።

ኢሎን መስክ ግሮክ 4 በ ሁሉም ፊልድ የ PHD ደረጃ እውቀት ላይ ካሉ በጣም የተሻለ ነው ብሏል። በዚህም ምናልባት ከ ቀጣይ አመት ጀምሮ አዳድስ ፊዚክሶችና ሳይንሳዊ ግኚቶችን ያመጣል ብሏል።

አድሱ ግሮክ በ ሁለት መልኩ የመጣ ሲሆን Super Grok  እና Super Grok heavy የሚባሉ ሞደሎች አሉት። Super Grok ዋጋው $30/ month ሲሆን heavy ደግሞ $300/ month ነው።  ይህም አሁን ካለው ዉዱ ሞደል የ o3 ($200/month) የበለጠ ያደርገዋል።

በተጨማሪም በቀጣይ የ ኮዲንግ ሞደል ፤ የ ቪድዮ ጀነሬሺን ሞደል እና ኤጀንት በቅርብ እንደሚለቁ ተናግረዋል።

እንዲህ እንዲህ እያሉ Super Intelligence በ እጃችን እና ኪሳችን እየገባ ነው።
👎1
1: JSON vs JavaScript Objects

let us compares JavaScript Objects and JSON (JavaScript Object Notation).
Although they look similar, they have important differences:

Feature JavaScript Object JSON

Quotes Not required for keys Required for keys
Functions Can include functions Not allowed
Comments Allowed Not allowed


Note: JSON is stricter and language-agnostic.
That means:

It follows stricter rules than JS objects.

It can be used with many programming languages, not just JavaScript.



---

2: What is JSON, Really?

This explains what JSON is:

> JSON stands for JavaScript Object Notation.



It’s a lightweight format used for storing and exchanging data.

🔍 Think of it as:

🗃️ Text-based data containers: That computers understand.

Easy for humans to read

Easy for machines to parse


Example JSON:

{
"name": "John",
"role": "Developer"
}
🔰 Amazing Backend Project Ideas for Developers
በተለያየ ጊዜ እዚ ቻናል ላይ post የተደረጉ በጣም ጠቃሚ ደረገፆች
https://magicstudio.com/magiceraser Erase background and annoying objects from photos for free!
https://www.copy.ai/ Artificial intelligence writes your blogs, social media, and email copy for you!
https://vocalremover.com/  This website let's you remove the vocals from music!
https://tinywow.com/ Tools that solve file problems - 100% Free!
https://toffeeshare.com/ Share files privately & secure, without size limit
https://downforeveryoneorjustme.com/ This site checks if a website is down
https://www.jotform.com/ Free online form builder
https://zapsplat.com/ Royalty Free Audio
https://www.pexels.com/ Royalty Free Stock Images
https://unsplash.com/ Royalty Free Stock Images
https://www.pixabay,com Royalty Free Stock Images and video
https://invideo.io/ Create great looking pro videos that engage better,
deliver more leads and save time
https://www.autodraw.com/ Draw anything and watch it come to life
https://www.iconfinder.com/ Millions of icons that you can use for your projects
https://everytimezone.com/ Every Time Zone
https://www.pdfescape.com/ The original online Free PDF editor & form filler
https://www.calligraphr.com/en/ Transform your handwriting or calligraphy into a font!
https://www.listennotes.com/ The best podcast search engine
https://wetransfer.com/ Transfer any big file with just a few clicks!
https://dronestock.com/ Royalty Free 4k Drone Stock Footage
https://radio.garden/ Listen to radio stations from all over the globe
https://downdetector.com/  Check if a website is down.
https://gifrun.com/ Create High-Def GIF and WebP images from YouTube and many other sites.
https://compressor.io/ Fast image compressor.
https://www.urbanfonts.com/ Thousands of free fonts to use.
https://essaytyper.com/ Creates an essay for you in seconds.
https://pixlr.com/ Online Photo editor, animation and design.
https://ifttt.com/ Lets you create powerful connections across various social networks and apps with simple statements.
https://www.mathway.com/ Need help with your Maths? This helps!
https://www.photopea.com/ Advanced image editor
https://www.sejda.com/ 30+ PDF Tools.
https://www.ilovepdf.com/ Every tool you need to work with PDF’s