This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Indian Currency to Nepalese Currency Converter</title> | |
| <link rel="stylesheet" href="style.css"> | |
| </head> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"); | |
| body, | |
| head { | |
| font-family: "Poppins", sans-serif; | |
| } | |
| .converter { | |
| max-width: 700px; | |
| margin: 4rem auto; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Indian Currency to Nepalese Currency Converter</title> | |
| <link rel="stylesheet" href="style.css"> | |
| </head> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function convert() { | |
| var usDollor = document.getElementById("us-dollor").value; | |
| var nepaleseCurrency = document.getElementById("nepalese-currency").value; | |
| var convert = document.getElementById("convert"); | |
| if (usDollor == 0) { | |
| convert.innerHTML = | |
| "Your US Dollor is: " + "<b>" + nepaleseCurrency * 0.0083 + "</b>"; | |
| } else { | |
| convert.innerHTML = |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"); | |
| body, | |
| head { | |
| font-family: "Poppins", sans-serif; | |
| } | |
| .converter { | |
| max-width: 700px; | |
| margin: 4rem auto; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>US Dollor to Nepalese Currency Converter</title> | |
| <link rel="stylesheet" href="style.css"> | |
| </head> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function convert() { | |
| var nepalese = document.getElementById("nepalese").value; | |
| var indianRupees = (document.getElementById("indian-rupees").innerHTML = | |
| "Your Indian Rupees Are: " + "<b>" + nepalese * 0.63 + "</b>"); | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| @import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap"); | |
| body, | |
| head { | |
| font-family: "Poppins", sans-serif; | |
| } | |
| input { | |
| padding: 1rem; | |
| width: 40%; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta http-equiv="X-UA-Compatible" content="IE=edge"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Nepalese to Indian Rupees Converter</title> | |
| <link rel="stylesheet" href="style.css"> | |
| </head> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| // getting all required elements | |
| const button = document.querySelector("#button"); | |
| const commentList = document.querySelector("#comment-list"); | |
| showComments(); | |
| function myFunction() { | |
| var name = document.getElementById("name").value; //getting value of input field | |
| var email = document.getElementById("email").value; | |
| var comment = document.getElementById("comment").value; |
NewerOlder