// Lấy các phần tử HTML cần sử dụng const form = document.querySelector("form"); const priceInput = document.querySelector("#price"); const sizeInput = document.querySelector("#size"); const locationSelect = document.querySelector("#location"); const resultContainer = document.querySelector("#result"); // Mảng giá trị đất của các khu vực const prices = { city: 1000, suburb: 500, rural: 250 };
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter