html and css آموزش
21.2K subscribers
446 photos
221 videos
88 files
275 links
ادمین :
@Maryam3771


تعرفه تبلیغات:
https://t.iss.one/alloadv/822
Download Telegram
یک تولید کننده رمز عبور با طول قابل تنظیم.

این مثال یک تولید کننده رمز عبور ساده ایجاد می کند که با فشار دادن دکمه، یک رمز عبور تصادفی با طول مشخص شده از فرم بالا با استفاده از کاراکترهایی از مجموعه نویسه های مشخص شده ایجاد می کند.


<div class="password-generator">
<input type="text" id="passwordLength" placeholder="Password length">
<input type="text" id="password" readonly>
<button onclick="generatePassword()">Generate</button></div>


```javascript
function generatePassword() {
const length = parseInt(document.getElementById("passwordLength").value);
const charset = "abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789!@#$%^&*()_+";
const charsetLength = charset.length;
let password = [];

for (let i = 0; i < length; i++) {
const randomIndex = Math.floor(Math.random() * charsetLength);
password.push(charset[randomIndex]);
}

document.getElementById("password").value = password.join('');
}`



#css #javascript

💎 Channel: @htmlcss_channels
5👍2🔥1
📒 𝗘𝗹𝗼𝗾𝘂𝗲𝗻𝘁 𝗝𝗮𝘃𝗮𝗦𝗰𝗿𝗶𝗽𝘁

یکی از بهترین کتابها در مورد جاوا اسکریپت

Read online 👇
https://eloquentjavascript.net/



#javascript

💎 Channel: @htmlcss_channels
3👍1
‼️ Need a roadmap for your developer journey? find it here

🔗 https://roadmap.sh

Here are 2 of the popular ones:

#Front_End:
🔗 https://roadmap.sh/frontend

#Back_End:
🔗 https://roadmap.sh/backend




#roadmap

💎 Channel: @htmlcss_channels
👍5
Moller_G_JavaScript_Interview_Questions_&_Challenges_2023.pdf
24.9 MB
JavaScript Interview Questions & Challenges 2023




#javascript #interview

💎 Channel: @htmlcss_channels
1👍1
This media is not supported in your browser
VIEW IN TELEGRAM
🔧 CSS TIP

Typing effect

<div class="wrapper">
<div class="typing-demo">CSS Tips for you!</div>
</div>


.typing-demo {
width: 17ch; /* Adjust based on the length of your text /
animation: typing 12s steps(17) infinite, blink 0.5s step-end infinite alternate;
white-space: nowrap;
overflow: hidden;
border-right: 3px solid;
font-family: monospace;
font-size: 2rem;
}

/ Typing and erasing animation /
@keyframes typing {
0% { width: 0; }
35% { width: 17ch; } / 4s for typing (1/3 of 12s) /
70% { width: 17ch; } / 5s pause (adding up to 8.4s) /
100% { width: 0; } / 3.6s for erasing (remaining time) /
}

/ Blinking cursor animation */
@keyframes blink {
50% { border-color: transparent; }
}
5👍4
⌨️ #JavaScript: 5 Useful Regex



💎 Channel: @htmlcss_channels
🔥6👍3