Raw Material Weight Calculator

Raw Material Weight Calculator & Guide body { font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif; line-height: 1.6; margin: 0; padding: 0; background-color: #f8f9fa; color: #333; } .container { max-width: 960px; margin: 20px auto; padding: 20px; background-color: #fff; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); border-radius: 8px; } h1, h2, h3 { color: #004a99; } h1 { text-align: center; margin-bottom: 20px; } .calculator-header { text-align: center; margin-bottom: 30px; padding-bottom: 20px; border-bottom: 1px solid #eee; } .calculator-header h1 { margin-bottom: 10px; } .calculator-header p { font-size: 1.1em; color: #555; } .loan-calc-container { background-color: #e7f3ff; padding: 25px; border-radius: 8px; margin-bottom: 30px; border: 1px solid #cce0ff; } .input-group { margin-bottom: 20px; font-size: 0.95em; } .input-group label { display: block; margin-bottom: 8px; font-weight: bold; color: #004a99; } .input-group input[type="number"], .input-group input[type="text"], .input-group select { width: calc(100% – 22px); padding: 12px 10px; border: 1px solid #ccc; border-radius: 4px; font-size: 1em; box-sizing: border-box; } .input-group select { background-color: white; } .input-group .helper-text { font-size: 0.85em; color: #666; margin-top: 5px; display: block; } .input-group .error-message { font-size: 0.85em; color: #dc3545; margin-top: 5px; display: none; /* Hidden by default */ } .error-message.visible { display: block; } .button-group { text-align: center; margin-top: 25px; } button { background-color: #004a99; color: white; border: none; padding: 12px 25px; border-radius: 5px; cursor: pointer; font-size: 1em; margin: 0 10px; transition: background-color 0.3s ease; } button:hover { background-color: #003366; } button.reset-button { background-color: #6c757d; } button.reset-button:hover { background-color: #5a6268; } button.copy-button { background-color: #17a2b8; } button.copy-button:hover { background-color: #138496; } .results-container { background-color: #d4edda; padding: 20px; border-radius: 8px; margin-top: 30px; border: 1px solid #c3e6cb; } .results-container h3 { margin-top: 0; color: #155724; text-align: center; font-size: 1.4em; } .primary-result { font-size: 2.2em; font-weight: bold; color: #28a745; text-align: center; margin-bottom: 15px; padding: 15px; background-color: #e9ecef; border-radius: 5px; } .intermediate-results div, .formula-explanation { font-size: 1.1em; margin-bottom: 10px; color: #333; } .formula-explanation { font-style: italic; text-align: center; margin-top: 20px; padding-top: 15px; border-top: 1px dashed #004a99; } table { width: 100%; border-collapse: collapse; margin-top: 25px; } th, td { padding: 10px; text-align: left; border-bottom: 1px solid #ddd; } th { background-color: #004a99; color: white; font-weight: bold; } tbody th { background-color: #e7f3ff; color: #004a99; } caption { font-size: 1.1em; margin-bottom: 10px; font-weight: bold; color: #004a99; caption-side: top; text-align: left; } canvas { display: block; margin: 25px auto; max-width: 100%; height: 300px !important; /* Ensure canvas scales */ } .chart-container { text-align: center; margin-top: 30px; } .chart-label { font-size: 0.9em; color: #666; margin-top: 10px; } .article-content { margin-top: 40px; background-color: #fff; padding: 30px; border-radius: 8px; box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1); } .article-content h2 { margin-top: 30px; border-bottom: 2px solid #004a99; padding-bottom: 8px; } .article-content h3 { margin-top: 25px; color: #0056b3; } .article-content p { margin-bottom: 15px; } .article-content ul, .article-content ol { margin-left: 20px; margin-bottom: 15px; } .article-content li { margin-bottom: 8px; } .article-content a { color: #004a99; text-decoration: none; } .article-content a:hover { text-decoration: underline; } .faq-item { margin-bottom: 20px; border-bottom: 1px dashed #ccc; padding-bottom: 15px; } .faq-item:last-child { border-bottom: none; } .faq-question { font-weight: bold; color: #004a99; cursor: pointer; position: relative; padding-left: 25px; } .faq-question::before { content: '+'; position: absolute; left: 0; font-weight: bold; color: #004a99; font-size: 1.2em; } .faq-answer { display: none; margin-top: 10px; padding-left: 15px; color: #555; } .faq-item.open .faq-question::before { content: '-'; } .faq-item.open .faq-answer { display: block; } #related-tools ul { list-style: none; padding: 0; } #related-tools li { margin-bottom: 15px; padding-bottom: 10px; border-bottom: 1px solid #eee; } #related-tools li:last-child { border-bottom: none; }

Raw Material Weight Calculator

Easily calculate the weight of raw materials based on their dimensions and density.

Select Material Steel Aluminum Copper Brass Cast Iron Lead Concrete Wood (Oak) Plastic (ABS) Glass
Units: kg/m³ (default)
Unit: meters (m)
Unit: meters (m)
Unit: meters (m)
Cuboid (Rectangular Prism) Cylinder Sphere Select the shape of your material.

Calculation Results

— kg
Volume: — m³
Density Used: — kg/m³
Effective Area/Radius: — m
Weight = Volume × Density

Weight Distribution by Dimension

Visualizing how dimensions influence total material weight.

What is a Raw Material Weight Calculator?

A raw material weight calculator is a specialized tool designed to estimate the mass of a given quantity of raw material based on its physical dimensions and its intrinsic density. In essence, it helps users determine how much a specific piece or volume of material will weigh, which is crucial for inventory management, shipping cost estimation, material purchasing, and structural integrity assessments. This raw material weight calculator is particularly useful in industries such as manufacturing, construction, logistics, and engineering, where precise material quantification is paramount. Understanding the weight of raw materials is a foundational step in any project, influencing everything from transportation logistics to the final product's cost and performance. Many professionals leverage a raw material weight calculator to streamline their planning processes.

Who Should Use a Raw Material Weight Calculator?

This raw material weight calculator is an invaluable asset for a diverse range of professionals and businesses:

  • Manufacturers: To calculate the weight of raw stock (sheets, bars, ingots) needed for production runs, manage inventory accurately, and determine scrap weights.
  • Construction Companies: To estimate the weight of materials like steel beams, concrete slabs, or aggregate needed for building projects, impacting structural design and logistics.
  • Logistics and Shipping Providers: To accurately determine shipping weights for materials, calculate freight costs, and ensure compliance with weight restrictions.
  • Engineers and Designers: To assess the structural load implications of using specific materials and volumes in their designs.
  • Procurement Specialists: To better estimate material quantities and associated costs when purchasing raw materials.
  • Hobbyists and DIY Enthusiasts: For projects involving metalworking, woodworking, or other material crafts, helping them buy the right amount of material and understand its handling requirements.

Common Misconceptions about Raw Material Weight

One common misconception is that all materials of the same volume weigh the same. This is incorrect because density varies significantly between different materials. For example, a cubic meter of lead is vastly heavier than a cubic meter of wood, even though they occupy the same space. Another misconception is that standard sizes always equate to standard weights; however, variations in manufacturing tolerances and material compositions can lead to slight differences. This raw material weight calculator helps account for these variables by using specific density values.

Raw Material Weight Formula and Mathematical Explanation

The fundamental principle behind calculating the weight of any object, including raw materials, is the relationship between its volume and its density. The formula is straightforward:

Weight = Volume × Density

Step-by-Step Derivation

  1. Determine Material Density (ρ): This is an intrinsic property of the material, usually expressed in units like kilograms per cubic meter (kg/m³), grams per cubic centimeter (g/cm³), or pounds per cubic foot (lb/ft³). The density represents how much mass is contained within a unit of volume.
  2. Calculate Material Volume (V): This depends on the shape and dimensions of the raw material. The calculator handles different shapes:
    • Cuboid (Rectangular Prism): Volume = Length × Width × Height
    • Cylinder: Volume = π × Radius² × Height (where Radius is half the Diameter)
    • Sphere: Volume = (4/3) × π × Radius³
    The dimensions (Length, Width, Height, Radius, Diameter) must be in consistent units (e.g., meters).
  3. Calculate Weight (W): Multiply the calculated volume by the material's density. Ensure the units are compatible. If Volume is in m³ and Density is in kg/m³, the resulting Weight will be in kg.

Variable Explanations

  • Weight (W): The mass of the raw material. Expressed in kilograms (kg), pounds (lbs), or other mass units.
  • Volume (V): The amount of space the raw material occupies. Expressed in cubic meters (m³), cubic centimeters (cm³), cubic feet (ft³), etc.
  • Density (ρ): The mass per unit volume of the material. Expressed in kg/m³, g/cm³, lb/ft³, etc.
  • Length, Width, Height, Radius, Diameter: Linear dimensions of the material, used to calculate volume. Must be in consistent units (e.g., meters).
  • π (Pi): A mathematical constant, approximately 3.14159.

Variables Table

Key Variables in Weight Calculation
Variable Meaning Unit (Common) Typical Range (Example for Steel)
Material Type The specific substance being weighed (e.g., Steel, Aluminum). N/A Steel, Aluminum, Copper, etc.
Density (ρ) Mass per unit volume. kg/m³ ~7,850 kg/m³ (Steel)
Length (L) One dimension of the material. m 0.1 m – 100 m+
Width (W) Another dimension of the material. m 0.1 m – 100 m+
Height (H) / Thickness (T) The third dimension (or thickness). m 0.01 m – 10 m+
Radius (r) / Diameter (d) Used for cylindrical/spherical shapes. d = 2r. m 0.01 m – 10 m+
Volume (V) Total space occupied by the material. Calculated based on dimensions.
Weight (W) Final calculated mass. kg Calculated based on V and ρ.

Practical Examples (Real-World Use Cases)

Example 1: Steel Beam for Construction

A construction company needs to determine the weight of a standard steel I-beam for structural calculations.

  • Inputs:
    • Material Type: Steel
    • Density: 7850 kg/m³ (Standard for Steel)
    • Shape: Cuboid (approximating the beam's profile for simplicity, or could be a more complex shape)
    • Length: 5 meters
    • Width: 0.3 meters
    • Height: 0.2 meters
  • Calculation:
    • Volume = Length × Width × Height = 5 m × 0.3 m × 0.2 m = 0.3 m³
    • Weight = Volume × Density = 0.3 m³ × 7850 kg/m³ = 2355 kg
  • Result: The steel beam weighs approximately 2355 kg. This information is vital for crane load planning, foundation design, and transportation logistics. This raw material weight calculation ensures safety and efficiency.

Example 2: Aluminum Sheet for Manufacturing

A manufacturer needs to calculate the weight of an aluminum sheet to be used in product casing.

  • Inputs:
    • Material Type: Aluminum
    • Density: 2700 kg/m³ (Standard for Aluminum)
    • Shape: Cuboid
    • Length: 2.5 meters
    • Width: 1.2 meters
    • Height/Thickness: 0.005 meters (5 mm)
  • Calculation:
    • Volume = Length × Width × Height = 2.5 m × 1.2 m × 0.005 m = 0.015 m³
    • Weight = Volume × Density = 0.015 m³ × 2700 kg/m³ = 40.5 kg
  • Result: The aluminum sheet weighs 40.5 kg. This helps in estimating material costs, managing inventory, and planning for assembly line handling. Using this raw material weight calculator simplifies procurement.

How to Use This Raw Material Weight Calculator

Our Raw Material Weight Calculator is designed for simplicity and accuracy. Follow these steps:

  1. Select Material Type: Choose your raw material from the dropdown list. This will pre-fill a typical density value, but you can override it if needed.
  2. Enter Density: If you selected "Other" or need a specific density, input the material's density value in kg/m³ (or adjust units if your primary need is different). Check the helper text for common units.
  3. Input Dimensions: Enter the Length, Width, and Height (or Thickness) of your material in meters. For cylindrical or spherical shapes, you might need to enter Radius or Diameter instead of Width/Height.
  4. Select Shape: Choose the geometric shape that best represents your raw material piece (Cuboid, Cylinder, Sphere). The calculator will use the appropriate volume formula.
  5. Calculate: Click the "Calculate Weight" button.

How to Read Results

  • Total Weight: This is the primary output, showing the estimated weight of your material in kilograms (kg).
  • Volume: Displays the calculated volume of the material in cubic meters (m³).
  • Density Used: Confirms the density value used in the calculation (kg/m³).
  • Effective Area/Radius: Shows a relevant dimension for the shape used (e.g., Area for cuboid base, Radius for sphere/cylinder).

Decision-Making Guidance

Use the results to:

  • Order accurately: Ensure you purchase the correct amount of material, minimizing waste and cost overruns.
  • Plan logistics: Estimate shipping costs and ensure transport vehicles are appropriately sized and rated.
  • Manage inventory: Keep track of the exact weight of materials on hand.
  • Verify supplier data: Cross-check the weights provided by suppliers.
  • Assess feasibility: Determine if a material's weight fits within structural or design constraints.

Remember to validate the density value for your specific material grade and condition, as this can affect the accuracy of the raw material weight calculator.

Key Factors That Affect Raw Material Weight Results

While the core formula (Weight = Volume × Density) is simple, several factors can influence the accuracy and interpretation of your raw material weight calculation:

  1. Material Density Variations: The density listed for a material (e.g., steel, aluminum) is often an average. Actual density can vary slightly due to alloy composition, manufacturing processes, and heat treatment. Always use the most accurate density specification available for your specific material grade.
  2. Dimensional Tolerances: Raw materials are rarely perfect geometric shapes. Manufacturing processes introduce slight variations in length, width, height, or diameter. These deviations can lead to minor differences between the calculated and actual weight. Our raw material weight calculator uses the dimensions you input.
  3. Temperature Effects: Most materials expand when heated and contract when cooled. This change in volume, while usually minor for solids at typical ambient temperatures, can slightly alter the density and thus the weight if the material is at a significantly different temperature during measurement or use.
  4. Hollow Structures or Inclusions: If the raw material has internal voids, holes (like in perforated sheets), or inclusions of different materials, the calculated weight based on external dimensions and a single density will be inaccurate. Specialized calculations or actual weighing would be necessary.
  5. Units of Measurement: Consistency is key. Ensure all dimensions are entered in the same unit (e.g., meters) and that the density unit (e.g., kg/m³) aligns with the desired output unit (e.g., kg). Mixing units will lead to incorrect results. Our calculator defaults to metric (meters, kg/m³).
  6. Moisture Content (for materials like wood): Porous materials like wood absorb moisture, which significantly increases their weight. The density of 'green' or 'wet' wood is much higher than 'kiln-dried' or 'seasoned' wood. Always consider the moisture content relevant to your application.
  7. Additives and Impurities: Trace amounts of other elements or impurities in an alloy or compound can subtly alter its overall density and therefore its weight per unit volume.

Accurate raw material weight calculation depends on precise input data and an understanding of these influencing factors.

Frequently Asked Questions (FAQ)

What is the difference between weight and mass?
Technically, mass is a measure of the amount of matter in an object (measured in kg or g), while weight is the force of gravity acting on that mass (measured in Newtons or pounds-force). In everyday and most engineering contexts, especially when using units like kilograms or pounds, we are referring to mass. This calculator determines mass.
Can I use this calculator for liquids or gases?
While the principle (Weight = Volume × Density) applies, this specific calculator is optimized for solid raw materials with defined geometric shapes. Liquids and gases have different volume measurement considerations (e.g., using liters or gallons) and are often handled by volume-to-mass conversions specific to their density at given temperatures and pressures.
What are the most common raw materials?
Common raw materials include metals (iron ore, bauxite for aluminum, copper ore), non-metals (sand, gravel, limestone, wood), fossil fuels (coal, oil, natural gas), and agricultural products (cotton, wheat). This calculator works best for solid, relatively uniform materials like processed metals, plastics, and wood.
How accurate is the raw material weight calculator?
The accuracy depends entirely on the accuracy of the input values: the dimensions and, crucially, the density of the material. If you provide precise measurements and a correct density value for your specific material grade, the calculation will be highly accurate for the idealized geometric shape entered.
What if my material isn't a standard shape like a cuboid or cylinder?
For irregular shapes, you can approximate the volume using multiple simpler shapes or by using techniques like water displacement (Archimedes' principle) to find the volume experimentally. Alternatively, you can break down complex shapes into simpler components, calculate the volume of each, sum them up, and then use the total volume in the weight formula.
How do I find the density of a specific material?
Density values can be found in material property tables, engineering handbooks, manufacturer datasheets, or reliable online resources. The calculator provides common values for selected materials, but always verify for your specific grade and condition. For example, finding the correct [density of steel](https://www.example.com/steel-density) is crucial.
Can I input dimensions in centimeters or inches?
This calculator currently expects dimensions in meters (m) for consistency with the default density unit (kg/m³). You would need to convert your measurements (e.g., cm to m by dividing by 100, inches to m by multiplying by 0.0254) before entering them.
Why is the 'Material Type' selection important?
Selecting the material type helps pre-fill a standard density value, saving you time and reducing the chance of input errors. It also serves as a reminder that density is material-specific and a key factor in the raw material weight calculation.
© 2023 Your Company Name. All rights reserved.
var selectedMaterialType = ""; var defaultDensities = { steel: 7850, aluminum: 2700, copper: 8960, brass: 8500, cast_iron: 7200, lead: 11340, concrete: 2400, wood_oak: 750, plastic_abs: 1040, glass: 2500 }; function updateDensityUnits() { var materialTypeSelect = document.getElementById("materialType"); var densityInput = document.getElementById("density"); var densityUnitsSpan = document.getElementById("densityUnits"); var selectedValue = materialTypeSelect.value; selectedMaterialType = selectedValue; if (selectedValue && defaultDensities[selectedValue]) { densityInput.value = defaultDensities[selectedValue]; densityUnitsSpan.textContent = "Density: " + defaultDensities[selectedValue] + " kg/m³ (Typical)"; } else { densityInput.value = ""; densityUnitsSpan.textContent = "Units: kg/m³ (default)"; } // Trigger calculation to update if density changes due to material selection calculateWeight(); } function getInputValue(id) { var value = parseFloat(document.getElementById(id).value); return isNaN(value) ? null : value; } function setErrorMessage(id, message) { var errorElement = document.getElementById(id); if (message) { errorElement.textContent = message; errorElement.classList.add('visible'); } else { errorElement.textContent = "; errorElement.classList.remove('visible'); } } function isValidNumber(value, min = -Infinity, max = Infinity) { return typeof value === 'number' && !isNaN(value) && value >= min && value 0 ? totalWeight : 1; // Avoid division by zero if (shape === "cuboid") { var componentWeights = [ (effectiveLength * effectiveWidth * effectiveHeight * density) / totalWeightForPercent * 100, // Essentially 100% if dims are used directly (effectiveLength * effectiveWidth * effectiveHeight * density) / totalWeightForPercent * 100, (effectiveLength * effectiveWidth * effectiveHeight * density) / totalWeightForPercent * 100 ]; chartData = [100, 100, 100]; // For cuboid, each dimension contributes to volume calculation, representing it as 100% contribution to the final volume seems more representative than breaking down the formula itself. if (weightChart) { weightChart.data.labels = ["Length", "Width", "Height"]; weightChart.options.plugins.title.text = "Contribution of Dimensions to Volume"; weightChart.update(); } } else if (shape === "cylinder") { // For cylinder, radius squared and height are key. var radiusSquaredComponent = (Math.PI * Math.pow(radius, 2) * density) / totalWeightForPercent * 100; var heightComponent = (Math.PI * Math.pow(radius, 2) * effectiveLength * density) / totalWeightForPercent * 100; chartData = [radiusSquaredComponent, heightComponent, 0]; // Radius^2 comp, Height comp if (weightChart) { weightChart.data.labels = ["Radius² Effect", "Height Effect", ""]; weightChart.options.plugins.title.text = "Contribution of Dimensions to Volume (Cylinder)"; weightChart.update(); } } else if (shape === "sphere") { // For sphere, radius cubed is key. var radiusCubedComponent = ((4/3) * Math.PI * Math.pow(radius, 3) * density) / totalWeightForPercent * 100; chartData = [radiusCubedComponent, 0, 0]; // Radius^3 comp if (weightChart) { weightChart.data.labels = ["Radius³ Effect", "", ""]; weightChart.options.plugins.title.text = "Contribution of Dimensions to Volume (Sphere)"; weightChart.update(); } } // Ensure data sums to 100% for simpler interpretation, or adjust labels/logic as needed. // For simplicity, let's ensure the chart reflects the input dimensions' contribution. if (shape === 'cuboid') { chartData = [ (length / (length + width + height)) * 100, (width / (length + width + height)) * 100, (height / (length + width + height)) * 100 ]; if (weightChart) { weightChart.data.labels = ["Length Contribution", "Width Contribution", "Height Contribution"]; weightChart.options.plugins.title.text = "Contribution of Dimensions to Volume"; weightChart.update(); } } else if (shape === 'cylinder') { chartData = [ (Math.pow(radius, 2) / (Math.pow(radius, 2) + effectiveLength)) * 100, // Effect of radius squared (effectiveLength / (Math.pow(radius, 2) + effectiveLength)) * 100, // Effect of height 0 ]; if (weightChart) { weightChart.data.labels = ["Radius² Effect", "Height Effect", ""]; weightChart.options.plugins.title.text = "Contribution to Volume (Cylinder)"; weightChart.update(); } } else if (shape === 'sphere') { chartData = [ Math.pow(radius, 3) / Math.pow(radius, 3) * 100, // Only radius cubed 0, 0 ]; if (weightChart) { weightChart.data.labels = ["Radius³ Effect", "", ""]; weightChart.options.plugins.title.text = "Contribution to Volume (Sphere)"; weightChart.update(); } } if (weightChart) { // Normalize data if needed, or ensure labels are clear weightChart.data.datasets[0].data = chartData.map(function(val) { return isNaN(val) ? 0 : val; }); weightChart.update(); } } function resetCalculator() { document.getElementById("materialType").value = ""; document.getElementById("density").value = ""; document.getElementById("length").value = ""; document.getElementById("width").value = ""; document.getElementById("height").value = ""; document.getElementById("shape").value = "cuboid"; updateDensityUnits(); // Resets density field and units span based on empty material type // Clear error messages setErrorMessage('materialTypeError', "); setErrorMessage('densityError', "); setErrorMessage('lengthError', "); setErrorMessage('widthError', "); setErrorMessage('heightError', "); // Reset results display document.getElementById("totalWeight").textContent = "– kg"; document.getElementById("volume").textContent = "Volume: — m³"; document.getElementById("densityValue").textContent = "Density Used: — kg/m³"; document.getElementById("shapeArea").textContent = "Effective Area/Radius: — m"; // Reset chart if (weightChart) { weightChart.data.datasets[0].data = [0, 0, 0]; weightChart.update(); } } function copyResults() { var totalWeight = document.getElementById("totalWeight").textContent; var volume = document.getElementById("volume").textContent; var densityValue = document.getElementById("densityValue").textContent; var shapeArea = document.getElementById("shapeArea").textContent; var assumptions = "Assumptions:\n"; var materialType = document.getElementById("materialType"); if (materialType.value) { assumptions += "- Material Type: " + materialType.options[materialType.selectedIndex].text + "\n"; } assumptions += "- " + densityValue + "\n"; assumptions += "- Dimensions based on shape (see detailed results below).\n"; assumptions += "- Shape: " + document.getElementById("shape").value + "\n"; var resultText = "Raw Material Weight Calculation Results:\n"; resultText += "————————————\n"; resultText += "Total Weight: " + totalWeight + "\n"; resultText += volume + "\n"; resultText += shapeArea + "\n"; resultText += "\n" + assumptions; // Use a temporary textarea to copy to clipboard var textArea = document.createElement("textarea"); textArea.value = resultText; textArea.style.position = "fixed"; textArea.style.left = "-9999px"; document.body.appendChild(textArea); textArea.focus(); textArea.select(); try { var successful = document.execCommand('copy'); var msg = successful ? 'Results copied to clipboard!' : 'Failed to copy results.'; alert(msg); // Basic feedback } catch (err) { alert('Oops, unable to copy'); } document.body.removeChild(textArea); } // Initialize chart on load document.addEventListener('DOMContentLoaded', function() { initializeChart(); updateDensityUnits(); // Set initial density based on default material or empty }); // Add event listeners for real-time updates on input change document.getElementById("density").addEventListener("input", calculateWeight); document.getElementById("length").addEventListener("input", calculateWeight); document.getElementById("width").addEventListener("input", calculateWeight); document.getElementById("height").addEventListener("input", calculateWeight); document.getElementById("shape").addEventListener("change", calculateWeight); // FAQ functionality var faqItems = document.querySelectorAll('.faq-item'); faqItems.forEach(function(item) { var question = item.querySelector('.faq-question'); question.addEventListener('click', function() { item.classList.toggle('open'); }); });

Leave a Comment