complete this script "<!DOCTYPE html>
<html>
<head>
  <title>Can I Become Famous? Calculator</title>
  <style>
    /* CSS Styles */
    body {
      font-family: Arial, sans-serif;
      margin: 0;
      padding: 20px;
    }
    
    h1 {
      text-align: center;
    }
    
    .calculator-form {
      max-width: 400px;
      margin: 0 auto;
    }
    
    .calculator-form input[type="text"],
    .calculator-form input[type="number"] {
      width: 100%;
      padding: 10px;
      margin-bottom: 10px;
      border: 1px solid #ccc;
      border-radius: 4px;
    }
    
    .calculator-form select {
      width: 100%;
      padding: 10px;
      margin-bottom: 10px;
      border: 1px solid #ccc;
      border-radius: 4px;
    }
    
    .calculator-form button {
      width: 100%;
      padding: 10px;
      background-color: #4CAF50;
      color: white;
      border: none;
      border-radius: 4px;
      cursor: pointer;
    }
    
    .result {
      margin-top: 20px;
      padding: 10px;
      border: 1px solid #ccc;
      border-radius: 4px;
    }
  </style>
</head>
<body>
  <h1>Can I Become Famous? Calculator</h1>
  
  <div class="calculator-form">
    <label for="name">Your Name:</label>
    <input type="text" id="name" required>
    
    <label for="age">Your Age:</label>
    <input type="number" id="age" required>
    
    <label for="talent">Your Talent:</label>
    <input type="text" id="talent" required>
    
    <label for="sunSign">Select Your Sun Sign:</label>
    <select id="sunSign" required>
      <option value="">Choose...</option>
      <option value="libra">Libra</option>
      <option value="sagittarius">Sagittarius</option>
      <option value="leo">Leo</option>
      <option value="gemini">Gemini</option>
      <option value="taurus">Taurus</option>
      <option value="capricorn">Capricorn</option>
      <option value="aquarius">Aquarius</option>
      <option value="pisces">Pisces</option>
      <option value="aries">Aries</option>
      <option value="cancer">Cancer</option>
      <option value="virgo">Virgo</option>
      <option value="scorpio">Scorpio</option>
    </select>
    
    <button onclick="calculateFame()">Calculate</button>
  </div>
  
  <div class="result" id="resultContainer" style="display: none;">
    <h2>Results</h2>
    <p id="result"></p>
    <p id="justification"></p>
  </div>
  
  <script>
    // JS Logic
    function calculateFame() {
      var name = document.getElementById('name').value;
      var age = parseInt(document.getElementById('age').value);
      var talent = document.getElementById('talent').value;
      var sunSign = document.getElementById('sunSign').value;
      var resultContainer = document.getElementById('resultContainer');
      var result = document.getElementById('result');
      var justification = document.getElementById('justification');
      
      // Calculate fame score based on user input
      var fameScore = 0;
      
      switch (sunSign) {
        case 'libra':
          fameScore += 50; // 50% weightage
          break;
        case 'sagittarius':
          fameScore += 40; // 40% weightage
          break;
        case 'leo':
          fameScore += 36; // 36% weightage
          break;
        case 'gemini':
          fameScore += 30; // 30% weightage
          break;
        case 'taurus':
          fameScore += 24; // 24% weightage
          break;
        default:
          fameScore += 20; // 20% weightage for all other sun signs
          break;
      }
      
      // Calculate weightage for Your Talent, Your Age, and Your Name
      var talentWeightage = 10; // 10% weightage
      var ageWeightage = 20; // 20% weightage
      var nameWeightage = 20; // 20% weightage
      
      // Calculate normalized weights
      var totalWeightage = 50; // Total weightage for other fields is 50%
      var normalizedTalentWeightage = talentWeightage / totalWeightage;
      var normalizedAgeWeightage = ageWeightage / totalWeightage;
      var normalizedNameWeightage = nameWeightage / totalWeightage;
      
      // Generate random scores for Your Talent, Your Age, and Your Name
      var talentScore = Math.random() * (100 - fameScore); // Random score between 0 and (100 - fameScore)
      var ageScore = Math.random() * (100 - fameScore - talentScore); // Random score between 0 and (100 - fameScore - talentScore)
      var nameScore = 100 - fameScore - talentScore - ageScore; // Remaining score
      
      // Combine the fame scores with the weights
      fameScore = (fameScore * 0.5) + (talentScore * normalizedTalentWeightageApologies for the inconvenience. Here's the updated HTML script with the fame score calculation adjusted to give 50% weightage to sun signs and 50% weightage to other fields (Your Talent, Your Age, and Your Name)."