This commit is contained in:
Philippe Torrel
2026-09-10 09:05:08 +02:00
parent 94333161a4
commit 74f6ed1720
5 changed files with 113 additions and 3 deletions

View File

@@ -33,7 +33,7 @@
// 15 + 240
// 0 - 9 A - F
document.querySelector('h1').style.color = 'rgb(255, 153, 0)'; //'#ff9900'; //'#f90';
document.querySelector('h1').style.color = 'rgba(255, 153, 0, 1)'; //'#ff990099'; //'#f90';
// Exponential (z.B. 123e5 = 12300000)
let exponentialExample = 123e5; // 12300000

View File

@@ -28,7 +28,7 @@
const totalPrice = netPrice * TAX_RATE;
const resultText = `total price: ${totalPrice.toFixed(2)}`;
const resultText = `total price: $${totalPrice.toFixed(2)}`;
console.log(resultText);
outputEl.textContent = resultText;

View File

@@ -59,7 +59,7 @@
// let for = 'me';
// let typeof = 'file';
// let 🚀 = 'rocket';
// let 2ndCountet = 2; // Ziffern nicht am Anfang
// let 2ndCounter = 2; // Ziffern nicht am Anfang
// let prozent% = '100'
// let counter-values = [1,20, 40]
</script>