skip to Main Content

Why do I get "Uncaught ReferenceError: Cannot access 'euro' before initialization" when clicking on the button? – Html

This is my code: <!DOCTYPE html> <html lang="de"> <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>Währungsrechner</title> <link rel="stylesheet" href="style.css"> </head> <script> function calc(){ let euro = euro.value; let result = euro * 1.1; usd.value = result; }…

VIEW QUESTION

Color of the button "Kolonie" typography stays the same even after changing it many times – CSS

So i tried changing it from #E3CC82 to #1F1F1F but it just wont let me. Tried many things, as well as putting it into chatgpt. Nothing. <!DOCTYPE html> <html lang="en"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <link href="https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500;700&display=swap" rel="stylesheet">…

VIEW QUESTION
Back To Top
Search