برای استفاده از این بخش باید وارد حساب کاربریت بشی
ورود/ثبت نام<!DOCTYPE html> <html lang="fa" dir="rtl"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>دکمه نئونی</title> </head> <style> a{ color: rgb(39, 118, 221); border: 2px solid rgb(39, 118, 221); border-radius: 10px; text-decoration: none; font-weight: bold; padding: 5px 30px 5px 30px; text-align: center; box-shadow: 0 0 5px rgb(39, 118, 221); text-shadow: 0 0 4px rgb(39, 118, 221); } a:hover{ background-color: rgb(39, 118, 221); color: white; transition: 0.5s; } </style> <body> <a href="#">متن شما</a> </body> </html>
<!DOCTYPE html>
<html>
<head>
<style>
a {
color: rgb(0, 140, 255);
border: 2px solid rgb(0, 140, 255);
padding: 5px;
text-decoration: none;
box-shadow:0 0 5px rgb(0, 140, 255);
text-shadow: 0 0 2px rgb(0, 140, 255);
border-radius: 5px;
font-weight: bold;
font-size: 20px;
}
a:hover {
color:white;
background-color:rgb(0, 140, 255);
}
</style>
</head>
<body>
<a href="#">Go To Home</a>
</body>
</html>
CSS___________________ div { display: inline-block; padding: 1px 40px; border: 2px solid blue; color: blue; border-radius: 5px; user-select: none; transition:all .5s; } div:hover { background-color: blue; color: white; } HTML__________________ <div> ثبت نام </div>
<!DOCTYPE html> <html lang="fa"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>دکمه نئونی</title> <link rel="stylesheet" href="styles.css"> </head> <body> <button class="neon-button">تماس با ما</button> </body> </html>
<!DOCTYPE html> <html lang="fa"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>دکمه تغییر شکل</title> <style> body { display: flex; justify-content: center; align-items: center; height: 100vh; background-color: #f0f0f0; } .button { padding: 15px 30px; font-size: 16px; color: white; background-color: #007BFF; border: none; border-radius: 5px; cursor: pointer; transition: all 0.3s ease; } .button:hover { background-color: #0056b3; transform: scale(1.1); border-radius: 20px; /* تغییر شکل به دایرهای */ } </style> </head> <body> <button class="button">دکمه</button> </body> </html>
<!DOCTYPE html> <html lang="fa"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <style> .container{ margin-top: 300px; } .btn{ background-color: white; color: #039be5; padding: 10px 60px 10px 60px; border-color: #039be5; border-radius: 9px; font-size: 20px; font-family: Arial, Helvetica, sans-serif; } .btn:hover{ background-color: #039be5; color: white; } </style> <title>neon button</title> </head> <body> <center> <div class="container"> <button class="btn">ثبت نام</button> </div> </center> </body> </html>
<button style="color:blue;">ثبت نام</button> <style> button::hover{ background_color:blue; color:#fff }
<!DOCTYPE html> <html lang="fa"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>دکمه تغییر شکل</title> <style> .button { padding: 15px 30px; background-color: #007BFF; color: white; border: none; border-radius: 5px; cursor: pointer; transition: all 0.3s ease; font-size: 16px; } .button:hover { border-radius: 50%; background-color: #0056b3; padding: 15px; } </style> </head> <body> <button class="button">دکمه</button> </body> </html>
برنامه ای بنویسید که مسافتی را به متر دریافت کند و به کیلومتر تبدیل کند و در خروجی نمایش دهد راهنمایی: هر کیلومتر = 1000 متر
به div زیر چه اسلاید CSS را اضافه کنیم تا شکل قلب بشه<div class="heart"></div>
برنامه ای بنویسید که یک جمله دریافت کرده و تک تک کلمات را برعکس کرده و مجدد جمله را بدون تغییر در ترتیب کلمات چاپ کند.input: hello amir ... olleh rima ...
برای استفاده از این بخش باید وارد حساب کاربریت بشی
ورود/ثبت نام
اگه متوجه تمرین نمیشی یا به هر دلیلی نمیتونی حلش کنی، کاملا طبیعیه، اشکالی نداره؛ ناراحت نشو
😊
سعی کن تمرینات آسون تر رو ببینی و جواب های مختلفی که دیگران ارسال کرده اند رو بررسی کنی و
یواش یواش به سراغ تمرینات سخت تر بری.
همچنین ممکنه جوابت درست باشه ولی با سایر جواب ها متفاوت باشه
اگه برنامه نویسی رو هنوز شروع نکردی یا خوب یاد نگرفتی، میتونی از طریق لینک زیر یاد بگیری