You must be logged in to access this section.
Login/Sign up<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> <style> </style> </head> <body> <h1>entegal be sait</h1> <button onclick="Address()">vurud be sait</button> </form> <script> let Address=()=>{ let adres=prompt('lotfan adres ra vared konid:'); url='http://'+adres; window.location.href=url; } </script> </body> </html>
<!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>Document</title> <style> body{ display: flex; justify-content: center; } </style> </head> <body id="bod"> <form action="#"> <input type="text" id="web" value="https://"> <input type="button" value="btn" onclick="address()"> </form> <script> let address = () => { let web_address = document.getElementById("web").value; window.open(web_address); } </script> </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> <script> function redirectToWebsite() { const url = document.getElementById('website-input').value; # Checking whether the URL is valid or not if (url) { # If the URL does not start with http: // or https: //, add it if (!url.startsWith('http://') && !url.startsWith('https://')) { alert("لطفاً URL را با http:# Or start https: //. "); return; } # Transfer to the entered URL. window.location.href = url; } else { alert("لطفاً یک آدرس وبسایت وارد کنید."); } } </script> </head> <body> <h1>انتقال به وبسایت</h1> <input type="text" id="website-input" placeholder="آدرس وبسایت را وارد کنید"> <button onclick="redirectToWebsite()">انتقال</button> </body> </html>
Submitting answers is currently unavailable.
Style the FIX class using CSS to constantly place in the lower left corner of the screen (10 pixels) and the position does not change if the user scrolls.
Write a function that receives some and checks whether the amount received is the email. If the email was True, otherwise the False return the email should contain @ before @ should be a phrase as a work name ...
Suppose we have the following 2 tables Users-> name, idbooks-> User_id, id, name 1- Write a query that shows user-related books at No. 2- Write a query to user names a ...
Write a program that receives the square area from the user and prints the size of each side in the output
Write a program that receives a number from the user and converts to letters suppose the numbers entered between 0 and 1000000 23 ➞ Twenty Three 405 ➞ Four HundredR
We have a list of different items along with their discount percent and we want to know how much the final price of each product is after considering the discount. Write a program that gets the product price as below and the percentage of discount ...
You must be logged in to access this section.
Login/Sign up If you don’t understand the exercise or can’t solve it for any reason, that’s completely
normal—don’t worry 😊
Try checking out easier exercises and reviewing different answers
submitted by others. Gradually, you can move on to more challenging exercises. Also, your answer
might be correct even if it’s different from others.