برای استفاده از این بخش باید وارد حساب کاربریت بشی
ورود/ثبت نام<!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>
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>
برنامه ای بنویسید که شکل زیر را در خروجی چاپ کند****************************
برنامه ای بنویسید که 3 عدد دریافت کند و بزگترین آنها را در خروجی چاپ کند
میخواهیم درب گاو صندوقی را باز کنیم، رمز گاوصندوق را نمیدانیم اما اطلاعات زیر را داریم:رمز گاوصندوق 4 رقم استتقسیم رقم سوم بر رقم اول، 4 استرقم آخر فرد استرقم آخر یک واحد از رقم اول خود، کوچکتر است...
برنامه ای بنویسید که یک عدد از کاربر دریافت کند و جدول ضرب آن عدد را همانند زیر در خروجی چاپ کند yek adad vared konid: 2 2 x 1 = 2 2 x 2 = 4 2 x 3 = 6 2 x 4 = 8 2 x 5 = 10 2 x 6 = 12 2 x 7 = 14 2 x...
برنامه ای بنویسید که 2 عدد از کاربر دریافت کند و سری فیبوناچی را در آن بازه (بین آن دو عدد) محاسبه و در خروجی چاپ کند
برای استفاده از این بخش باید وارد حساب کاربریت بشی
ورود/ثبت نام
اگه متوجه تمرین نمیشی یا به هر دلیلی نمیتونی حلش کنی، کاملا طبیعیه، اشکالی نداره؛ ناراحت نشو
😊
سعی کن تمرینات آسون تر رو ببینی و جواب های مختلفی که دیگران ارسال کرده اند رو بررسی کنی و
یواش یواش به سراغ تمرینات سخت تر بری.
همچنین ممکنه جوابت درست باشه ولی با سایر جواب ها متفاوت باشه
اگه برنامه نویسی رو هنوز شروع نکردی یا خوب یاد نگرفتی، میتونی از طریق لینک زیر یاد بگیری