דילוג לתוכן
  • חוקי הפורום
  • פופולרי
  • לא נפתר
  • משתמשים
  • חיפוש גוגל בפורום
  • צור קשר
עיצובים
  • Light
  • Brite
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • ברירת מחדל (ללא עיצוב (ברירת מחדל))
  • ללא עיצוב (ברירת מחדל)
כיווץ
מתמחים טופ
  1. דף הבית
  2. מחשבים וטכנולוגיה
  3. עזרה הדדית - מחשבים וטכנולוגיה
  4. בקשת מידע | AI אופליין

בקשת מידע | AI אופליין

מתוזמן נעוץ נעול הועבר עזרה הדדית - מחשבים וטכנולוגיה
140 פוסטים 15 כותבים 935 צפיות 18 עוקבים
  • מהישן לחדש
  • מהחדש לישן
  • הכי הרבה הצבעות
תגובה
  • תגובה כנושא
התחברו כדי לפרסם תגובה
נושא זה נמחק. רק משתמשים עם הרשאות מתאימות יוכלו לצפות בו.
  • המלאךה המלאך

    @CSS-0 אז מה הוא כן נתן? רק לוגיקה של חישוב? זה 8 שורות קוד בערך..
    קשה לי להאמין,
    אבל בוא נחכה לתשובה של @א.מ.ד.

    א.מ.ד.א מחובר
    א.מ.ד.א מחובר
    א.מ.ד.
    כתב נערך לאחרונה על ידי
    #68

    @המלאך כתב בבקשת מידע | AI אופליין:

    אבל בוא נחכה לתשובה של @א.מ.ד.

    הוא באמצע ליצור

    מפתח אפליקציות אנדרואיד
    em0548438097@gmail.com

    תגובה 1 תגובה אחרונה
    1
    • המלאךה המלאך

      @CSS-0 אז מה הוא כן נתן? רק לוגיקה של חישוב? זה 8 שורות קוד בערך..
      קשה לי להאמין,
      אבל בוא נחכה לתשובה של @א.מ.ד.

      CSS 0C מחובר
      CSS 0C מחובר
      CSS 0
      כתב נערך לאחרונה על ידי
      #69

      @המלאך אחרי הנחייה מתקנת
      (הקוד הזה שבור וחסרים בו כפתורי פעולות (פלוס, מינוס וכו'). תכתוב לי אותו מחדש כמחשבון פשוט, קלאסי ונקי שעובד טוב, ותוסיף הערות ברורות בעברית.)

      הוא הביא לי את זה:

      <!DOCTYPE html>
      <html lang="he" dir="rtl">
      <head>
      
          <meta charset="UTF-8">
          <title>מחשבון פשוט</title>
      
          
          <style>
              /* עיצוב לכל המסך */
              body { 
          font-family: Arial, sans-serif; 
                  display: flex; 
                  justify-content: center; 
      margin-top: 100px; 
                  background-color: #f0f0f0; 
      
              }
      
              .calculator { 
                  background: #fff; 
                  padding: 20px; 
          border-radius: 8px; 
                  box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
                  width: 260px; 
              }
      
              #display { 
                  width: 100%; 
                  height: 50px; 
                  font-size: 24px; 
                  
                  text-align: left; 
                  margin-bottom: 15px; 
                  padding: 5px 10px; 
                  
                  box-sizing: border-box; 
                  direction: ltr; 
                  background: #eef;
                  border: 1px solid #ccc;
                  border-radius: 4px;
              }
      
              .buttons { 
                  display: grid; 
                  grid-template-columns: repeat(4, 1fr); 
                  gap: 10px; 
              }
      
              button { 
                  padding: 15px 0; font-size: 20px; border: 1px solid #ccc; 
                  border-radius: 4px; 
                  background: #f9f9f9; 
                  cursor: pointer; transition: background 0.1s;
              }
      
              button:hover { background: #e0e0e0; }
              
              .operator { background: #ff9800; color: white; border: none; }
              .operator:hover { background: #e68a00; }
              
              .equal { background: #4caf50; color: white; border: none; }
              .equal:hover { background: #45a049; }
              
              .clear { background: #f44336; color: white; border: none; grid-column: span 3; }
              .clear:hover { background: #da190b; }
      
          </style>
      </head>
      <body>
      
      
      <div class="calculator">
          
          <input type="text" id="display" disabled>
          
          <div class="buttons">
              <button class="clear" onclick="clearDisplay()">C</button>
              <button onclick="append('/')" class="operator">÷</button>
              
              <button onclick="append('7')">7</button>
              <button onclick="append('8')">8</button>
              <button onclick="append('9')">9</button>
              <button onclick="append('*')" class="operator">×</button>
              
              <button onclick="append('4')">4</button>
              <button onclick="append('5')">5</button>
              <button onclick="append('6')">6</button>
              <button onclick="append('-')" class="operator">-</button>
              
              <button onclick="append('1')">1</button>
              <button onclick="append('2')">2</button>
              <button onclick="append('3')">3</button>
              <button onclick="append('+')" class="operator">+</button>
              
              <button onclick="append('0')" style="grid-column: span 2;">0</button>
              <button onclick="append('.')">.</button>
              <button onclick="calculate()" class="equal">=</button>
          </div>
      
      </div>
      
      
      <script>
          
          var display = document.getElementById('display')
          
          
          function append ( value ) {
              display.value += value
          }
          
          
          function clearDisplay() {
              display.value = ''
          }
          
          
          function calculate ( ) {
              try {
                  
                  if (display.value !== '') {
                      
                      display.value = eval(display.value)
                  }
                  
              } catch (error) {
                  
                  display.value = 'שגיאה'
                  
                  setTimeout( clearDisplay , 1500 )
              }
          }
      
      </script>
      
      </body>
      </html>
      

      שעם כל החורים שיש הוא עובד תקין לחלוטין....

      חובבן מקצועיח המלאךה 2 תגובות תגובה אחרונה
      0
      • CSS 0C CSS 0

        @המלאך אחרי הנחייה מתקנת
        (הקוד הזה שבור וחסרים בו כפתורי פעולות (פלוס, מינוס וכו'). תכתוב לי אותו מחדש כמחשבון פשוט, קלאסי ונקי שעובד טוב, ותוסיף הערות ברורות בעברית.)

        הוא הביא לי את זה:

        <!DOCTYPE html>
        <html lang="he" dir="rtl">
        <head>
        
            <meta charset="UTF-8">
            <title>מחשבון פשוט</title>
        
            
            <style>
                /* עיצוב לכל המסך */
                body { 
            font-family: Arial, sans-serif; 
                    display: flex; 
                    justify-content: center; 
        margin-top: 100px; 
                    background-color: #f0f0f0; 
        
                }
        
                .calculator { 
                    background: #fff; 
                    padding: 20px; 
            border-radius: 8px; 
                    box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
                    width: 260px; 
                }
        
                #display { 
                    width: 100%; 
                    height: 50px; 
                    font-size: 24px; 
                    
                    text-align: left; 
                    margin-bottom: 15px; 
                    padding: 5px 10px; 
                    
                    box-sizing: border-box; 
                    direction: ltr; 
                    background: #eef;
                    border: 1px solid #ccc;
                    border-radius: 4px;
                }
        
                .buttons { 
                    display: grid; 
                    grid-template-columns: repeat(4, 1fr); 
                    gap: 10px; 
                }
        
                button { 
                    padding: 15px 0; font-size: 20px; border: 1px solid #ccc; 
                    border-radius: 4px; 
                    background: #f9f9f9; 
                    cursor: pointer; transition: background 0.1s;
                }
        
                button:hover { background: #e0e0e0; }
                
                .operator { background: #ff9800; color: white; border: none; }
                .operator:hover { background: #e68a00; }
                
                .equal { background: #4caf50; color: white; border: none; }
                .equal:hover { background: #45a049; }
                
                .clear { background: #f44336; color: white; border: none; grid-column: span 3; }
                .clear:hover { background: #da190b; }
        
            </style>
        </head>
        <body>
        
        
        <div class="calculator">
            
            <input type="text" id="display" disabled>
            
            <div class="buttons">
                <button class="clear" onclick="clearDisplay()">C</button>
                <button onclick="append('/')" class="operator">÷</button>
                
                <button onclick="append('7')">7</button>
                <button onclick="append('8')">8</button>
                <button onclick="append('9')">9</button>
                <button onclick="append('*')" class="operator">×</button>
                
                <button onclick="append('4')">4</button>
                <button onclick="append('5')">5</button>
                <button onclick="append('6')">6</button>
                <button onclick="append('-')" class="operator">-</button>
                
                <button onclick="append('1')">1</button>
                <button onclick="append('2')">2</button>
                <button onclick="append('3')">3</button>
                <button onclick="append('+')" class="operator">+</button>
                
                <button onclick="append('0')" style="grid-column: span 2;">0</button>
                <button onclick="append('.')">.</button>
                <button onclick="calculate()" class="equal">=</button>
            </div>
        
        </div>
        
        
        <script>
            
            var display = document.getElementById('display')
            
            
            function append ( value ) {
                display.value += value
            }
            
            
            function clearDisplay() {
                display.value = ''
            }
            
            
            function calculate ( ) {
                try {
                    
                    if (display.value !== '') {
                        
                        display.value = eval(display.value)
                    }
                    
                } catch (error) {
                    
                    display.value = 'שגיאה'
                    
                    setTimeout( clearDisplay , 1500 )
                }
            }
        
        </script>
        
        </body>
        </html>
        

        שעם כל החורים שיש הוא עובד תקין לחלוטין....

        חובבן מקצועיח מנותק
        חובבן מקצועיח מנותק
        חובבן מקצועי
        כתב נערך לאחרונה על ידי חובבן מקצועי
        #70

        @CSS-0 @המלאך

        וזה משהו שעשה לי gemma 4 E4b.

        ועם פרומט דיי פשוט: 1.צור לי קוד של מחשבון עם עיצוב HTML שעובד. 2. עכשיו תעשה לזה עיצוב מטורף ומגניב. (בלי שום תוספת, ישר הוא עובד.)

        0d6e7ab8-a3a2-4448-a43b-08480f83b876-image.png

        <!DOCTYPE html>
        <html lang="he" dir="rtl">
        <head>
            <meta charset="UTF-8">
            <meta name="viewport" content="width=device-width, initial-scale=1.0">
            <title>🔥 מחושב מטריאד 🔥</title>
            <style>
                /* --- הגדרות כלליות: רקע מטורף --- */
                body {
                    display: flex;
                    justify-content: center;
                    align-items: center;
                    height: 100vh;
                    margin: 0;
                    background: linear-gradient(135deg, #0a001e 0%, #3d0066 50%, #1a0a2e 100%);
                    font-family: 'Consolas', monospace; /* פונט טכנולוגי */
                    color: #00ff00; /* ירוק ניאון קלאסי */
                    overflow: hidden;
                }
        
                /* --- מסגרת המחשבון: אפקט מסך ישן/מטריאד --- */
                .calculator {
                    background-color: rgba(10, 0, 30, 0.95); /* רקע כהה מאוד */
                    border: 3px solid #00ff00;
                    box-shadow: 0 0 30px #00ff00, inset 0 0 15px #00ff0080; /* גוון ניאון סביב המסגרת */
                    border-radius: 15px;
                    padding: 30px;
                    width: 350px; /* קצת יותר גדול */
                    animation: flicker 10s infinite alternate; /* אנימציה קלה של רעידות מסך */
                }
        
                /* --- תצוגה: מסך דיגיטלי --- */
                .display {
                    background-color: #000000;
                    color: #00ff00;
                    font-size: 2.8em;
                    padding: 20px 15px;
                    margin-bottom: 25px;
                    text-align: right;
                    border-radius: 8px;
                    height: 70px;
                    overflow: hidden;
                    letter-spacing: 1px;
                    border-bottom: 2px solid #00ff00;
                    text-shadow: 0 0 5px #00ff00; /* אפקט גלש/ניאון על המספרים */
                }
        
                /* --- כפתורים: רשת מודרנית --- */
                .buttons {
                    display: grid;
                    grid-template-columns: repeat(4, 1fr);
                    gap: 12px;
                }
        
                button {
                    padding: 20px 0;
                    font-size: 1.1em;
                    border: 1px solid #00ff00;
                    border-radius: 10px;
                    cursor: pointer;
                    transition: all 0.1s ease-in-out;
                    font-weight: bold;
                    background-color: rgba(0, 255, 0, 0.1); /* רקע כמעט שקוף */
                    color: #00ff00;
                    box-shadow: 0 0 10px rgba(0, 255, 0, 0.4);
                }
        
                button:hover {
                    background-color: rgba(0, 255, 0, 0.3); /* הופך מעט יותר מואר במגע */
                    transform: scale(1.05) translateY(-2px);
                    box-shadow: 0 0 15px #00ff00, 0 0 25px #00ff00;
                }
                
                button:active {
                    transform: scale(0.98); /* אפקט לחיצה */
                    box-shadow: 0 0 5px #00ff00;
                }
        
                /* --- סגנון ספציפי לכפתורים --- */
                .number-button {
                    /* אין צורך בהבדל קיצוני, הכל מבוסס על הצבע הניאוני */
                }
        
                .operator-button {
                    background-color: rgba(255, 140, 0, 0.1); /* כתום/נחושת */
                    border-color: #ff8c00;
                    color: #ff8c00;
                    box-shadow: 0 0 10px rgba(255, 140, 0, 0.4);
                }
                
                .operator-button:hover {
                    background-color: rgba(255, 140, 0, 0.25);
                    color: #ffaa00;
                }
        
                .clear-button {
                    background-color: rgba(255, 0, 0, 0.1); /* אדום/אזהרה */
                    border-color: #ff0000;
                    color: #ff0000;
                    box-shadow: 0 0 10px rgba(255, 0, 0, 0.4);
                }
                
                .clear-button:hover {
                    background-color: rgba(255, 0, 0, 0.25);
                    color: #ff4444;
                }
        
                .equals-button {
                    background-color: rgba(0, 255, 0, 0.3); /* ירוק בוהק */
                    border-color: #00ff00;
                    color: #00ff00;
                    grid-column: span 2;
                    box-shadow: 0 0 20px #00ff00;
                }
                
                .equals-button:hover {
                    background-color: rgba(0, 255, 0, 0.4);
                }
        
        
                /* --- אנימציה של רעידות מסך (Glitch Effect) --- */
                @keyframes flicker {
                    0%, 100% { opacity: 1; }
                    5% { opacity: 0.98; }
                    15% { opacity: 1; }
                    25% { opacity: 0.95; }
                    35% { opacity: 1; }
                    45% { opacity: 0.99; }
                    55% { opacity: 1; }
                }
        
            </style>
        </head>
        <body>
        
            <div class="calculator">
                <div class="display" id="display">0</div>
                <div class="buttons">
                    
                    <!-- Row 1 -->
                    <button class="clear-button" onclick="clearDisplay()">AC</button>
                    <button class="operator-button" onclick="appendOperator('/')">/</button>
                    <button class="operator-button" onclick="appendOperator('*')" style="font-size: 1.2em;">x</button>
                    <button class="operator-button" onclick="appendOperator('-')">-</button>
                    
                    <!-- Row 2 -->
                    <button class="number-button" onclick="appendDigit('7')">7</button>
                    <button class="number-button" onclick="appendDigit('8')">8</button>
                    <button class="number-button" onclick="appendDigit('9')">9</button>
                    <button class="operator-button" onclick="appendOperator('+')">+</button>
                    
                    <!-- Row 3 -->
                    <button class="number-button" onclick="appendDigit('4')">4</button>
                    <button class="number-button" onclick="appendDigit('5')">5</button>
                    <button class="number-button" onclick="appendDigit('6')">6</button>
                    
                    <!-- Row 4 -->
                    <button class="number-button" onclick="appendDigit('1')">1</button>
                    <button class="number-button" onclick="appendDigit('2')">2</button>
                    <button class="number-button" onclick="appendDigit('3')">3</button>
                    
                    <!-- Row 5 -->
                    <button class="number-button" onclick="appendDigit('0')">0</button>
                    <button class="number-button" onclick="appendDecimal()">.</button>
                    <button class="equals-button" onclick="calculateResult()">=</button>
                </div>
            </div>
        
            <script>
                const display = document.getElementById('display');
                let currentInput = '';
        
                // Function to append a digit to the display
                function appendDigit(digit) {
                    if (currentInput === '0' && digit !== '.') {
                        currentInput = digit;
                    } else {
                        currentInput += digit;
                    }
                    display.textContent = currentInput;
                }
        
                // Function to handle operators (+, -, *, /)
                function appendOperator(operator) {
                    // Basic logic to prevent starting with an operator or double operators
                    if (currentInput === '' && operator !== '-') {
                         // Allows starting with a negative sign
                        if (operator === '-') {
                            currentInput = operator;
                        }
                        return;
                    }
                    if (currentInput.slice(-1).match(/[+\-*/]/)) {
                        currentInput = currentInput.slice(0, -1) + operator;
                    } else {
                        currentInput += operator;
                    }
                    display.textContent = currentInput;
                }
        
                // Function to handle decimal point
                function appendDecimal() {
                    // Prevent adding decimal if the last character is an operator or if one already exists
                    const lastChar = currentInput.slice(-1);
                    if (!['+', '-', '*', '/'].includes(lastChar) && !currentInput.includes('.')) {
                        currentInput += '.';
                        display.textContent = currentInput;
                    }
                }
        
                // Function to clear the display
                function clearDisplay() {
                    currentInput = '';
                    display.textContent = '0';
                }
        
                // Function to calculate the result
                function calculateResult() {
                    try {
                        // WARNING: eval() is used here for simplicity in this demo. 
                        // In production code, a proper parsing engine is required.
                        let result = eval(currentInput);
                        
                        // Format result if it's a large number, otherwise keep it simple
                        if (Math.abs(result) > 1e15) {
                            currentInput = result.toExponential(4);
                        } else {
                            currentInput = String(result);
                        }
                        
                        display.textContent = currentInput;
                    } catch (e) {
                        display.textContent = 'ERROR';
                        currentInput = '';
                    }
                }
            </script>
        </body>
        </html>
        

        CSS 0C תגובה 1 תגובה אחרונה
        0
        • CSS 0C CSS 0

          @המלאך אחרי הנחייה מתקנת
          (הקוד הזה שבור וחסרים בו כפתורי פעולות (פלוס, מינוס וכו'). תכתוב לי אותו מחדש כמחשבון פשוט, קלאסי ונקי שעובד טוב, ותוסיף הערות ברורות בעברית.)

          הוא הביא לי את זה:

          <!DOCTYPE html>
          <html lang="he" dir="rtl">
          <head>
          
              <meta charset="UTF-8">
              <title>מחשבון פשוט</title>
          
              
              <style>
                  /* עיצוב לכל המסך */
                  body { 
              font-family: Arial, sans-serif; 
                      display: flex; 
                      justify-content: center; 
          margin-top: 100px; 
                      background-color: #f0f0f0; 
          
                  }
          
                  .calculator { 
                      background: #fff; 
                      padding: 20px; 
              border-radius: 8px; 
                      box-shadow: 0 4px 10px rgba(0,0,0,0.1); 
                      width: 260px; 
                  }
          
                  #display { 
                      width: 100%; 
                      height: 50px; 
                      font-size: 24px; 
                      
                      text-align: left; 
                      margin-bottom: 15px; 
                      padding: 5px 10px; 
                      
                      box-sizing: border-box; 
                      direction: ltr; 
                      background: #eef;
                      border: 1px solid #ccc;
                      border-radius: 4px;
                  }
          
                  .buttons { 
                      display: grid; 
                      grid-template-columns: repeat(4, 1fr); 
                      gap: 10px; 
                  }
          
                  button { 
                      padding: 15px 0; font-size: 20px; border: 1px solid #ccc; 
                      border-radius: 4px; 
                      background: #f9f9f9; 
                      cursor: pointer; transition: background 0.1s;
                  }
          
                  button:hover { background: #e0e0e0; }
                  
                  .operator { background: #ff9800; color: white; border: none; }
                  .operator:hover { background: #e68a00; }
                  
                  .equal { background: #4caf50; color: white; border: none; }
                  .equal:hover { background: #45a049; }
                  
                  .clear { background: #f44336; color: white; border: none; grid-column: span 3; }
                  .clear:hover { background: #da190b; }
          
              </style>
          </head>
          <body>
          
          
          <div class="calculator">
              
              <input type="text" id="display" disabled>
              
              <div class="buttons">
                  <button class="clear" onclick="clearDisplay()">C</button>
                  <button onclick="append('/')" class="operator">÷</button>
                  
                  <button onclick="append('7')">7</button>
                  <button onclick="append('8')">8</button>
                  <button onclick="append('9')">9</button>
                  <button onclick="append('*')" class="operator">×</button>
                  
                  <button onclick="append('4')">4</button>
                  <button onclick="append('5')">5</button>
                  <button onclick="append('6')">6</button>
                  <button onclick="append('-')" class="operator">-</button>
                  
                  <button onclick="append('1')">1</button>
                  <button onclick="append('2')">2</button>
                  <button onclick="append('3')">3</button>
                  <button onclick="append('+')" class="operator">+</button>
                  
                  <button onclick="append('0')" style="grid-column: span 2;">0</button>
                  <button onclick="append('.')">.</button>
                  <button onclick="calculate()" class="equal">=</button>
              </div>
          
          </div>
          
          
          <script>
              
              var display = document.getElementById('display')
              
              
              function append ( value ) {
                  display.value += value
              }
              
              
              function clearDisplay() {
                  display.value = ''
              }
              
              
              function calculate ( ) {
                  try {
                      
                      if (display.value !== '') {
                          
                          display.value = eval(display.value)
                      }
                      
                  } catch (error) {
                      
                      display.value = 'שגיאה'
                      
                      setTimeout( clearDisplay , 1500 )
                  }
              }
          
          </script>
          
          </body>
          </html>
          

          שעם כל החורים שיש הוא עובד תקין לחלוטין....

          המלאךה מנותק
          המלאךה מנותק
          המלאך
          כתב נערך לאחרונה על ידי
          #71

          @CSS-0 זה לפחות פחות מביך.
          הראשון לא היה נקרא קוד בכלל.
          אבל כמובן שגם בזה יש כמה בעיות, וכמובן שקוואן יצליח יותר בשני פרומפטים.

          א.מ.ד.א תגובה 1 תגובה אחרונה
          0
          • חובבן מקצועיח חובבן מקצועי

            @CSS-0 @המלאך

            וזה משהו שעשה לי gemma 4 E4b.

            ועם פרומט דיי פשוט: 1.צור לי קוד של מחשבון עם עיצוב HTML שעובד. 2. עכשיו תעשה לזה עיצוב מטורף ומגניב. (בלי שום תוספת, ישר הוא עובד.)

            0d6e7ab8-a3a2-4448-a43b-08480f83b876-image.png

            <!DOCTYPE html>
            <html lang="he" dir="rtl">
            <head>
                <meta charset="UTF-8">
                <meta name="viewport" content="width=device-width, initial-scale=1.0">
                <title>🔥 מחושב מטריאד 🔥</title>
                <style>
                    /* --- הגדרות כלליות: רקע מטורף --- */
                    body {
                        display: flex;
                        justify-content: center;
                        align-items: center;
                        height: 100vh;
                        margin: 0;
                        background: linear-gradient(135deg, #0a001e 0%, #3d0066 50%, #1a0a2e 100%);
                        font-family: 'Consolas', monospace; /* פונט טכנולוגי */
                        color: #00ff00; /* ירוק ניאון קלאסי */
                        overflow: hidden;
                    }
            
                    /* --- מסגרת המחשבון: אפקט מסך ישן/מטריאד --- */
                    .calculator {
                        background-color: rgba(10, 0, 30, 0.95); /* רקע כהה מאוד */
                        border: 3px solid #00ff00;
                        box-shadow: 0 0 30px #00ff00, inset 0 0 15px #00ff0080; /* גוון ניאון סביב המסגרת */
                        border-radius: 15px;
                        padding: 30px;
                        width: 350px; /* קצת יותר גדול */
                        animation: flicker 10s infinite alternate; /* אנימציה קלה של רעידות מסך */
                    }
            
                    /* --- תצוגה: מסך דיגיטלי --- */
                    .display {
                        background-color: #000000;
                        color: #00ff00;
                        font-size: 2.8em;
                        padding: 20px 15px;
                        margin-bottom: 25px;
                        text-align: right;
                        border-radius: 8px;
                        height: 70px;
                        overflow: hidden;
                        letter-spacing: 1px;
                        border-bottom: 2px solid #00ff00;
                        text-shadow: 0 0 5px #00ff00; /* אפקט גלש/ניאון על המספרים */
                    }
            
                    /* --- כפתורים: רשת מודרנית --- */
                    .buttons {
                        display: grid;
                        grid-template-columns: repeat(4, 1fr);
                        gap: 12px;
                    }
            
                    button {
                        padding: 20px 0;
                        font-size: 1.1em;
                        border: 1px solid #00ff00;
                        border-radius: 10px;
                        cursor: pointer;
                        transition: all 0.1s ease-in-out;
                        font-weight: bold;
                        background-color: rgba(0, 255, 0, 0.1); /* רקע כמעט שקוף */
                        color: #00ff00;
                        box-shadow: 0 0 10px rgba(0, 255, 0, 0.4);
                    }
            
                    button:hover {
                        background-color: rgba(0, 255, 0, 0.3); /* הופך מעט יותר מואר במגע */
                        transform: scale(1.05) translateY(-2px);
                        box-shadow: 0 0 15px #00ff00, 0 0 25px #00ff00;
                    }
                    
                    button:active {
                        transform: scale(0.98); /* אפקט לחיצה */
                        box-shadow: 0 0 5px #00ff00;
                    }
            
                    /* --- סגנון ספציפי לכפתורים --- */
                    .number-button {
                        /* אין צורך בהבדל קיצוני, הכל מבוסס על הצבע הניאוני */
                    }
            
                    .operator-button {
                        background-color: rgba(255, 140, 0, 0.1); /* כתום/נחושת */
                        border-color: #ff8c00;
                        color: #ff8c00;
                        box-shadow: 0 0 10px rgba(255, 140, 0, 0.4);
                    }
                    
                    .operator-button:hover {
                        background-color: rgba(255, 140, 0, 0.25);
                        color: #ffaa00;
                    }
            
                    .clear-button {
                        background-color: rgba(255, 0, 0, 0.1); /* אדום/אזהרה */
                        border-color: #ff0000;
                        color: #ff0000;
                        box-shadow: 0 0 10px rgba(255, 0, 0, 0.4);
                    }
                    
                    .clear-button:hover {
                        background-color: rgba(255, 0, 0, 0.25);
                        color: #ff4444;
                    }
            
                    .equals-button {
                        background-color: rgba(0, 255, 0, 0.3); /* ירוק בוהק */
                        border-color: #00ff00;
                        color: #00ff00;
                        grid-column: span 2;
                        box-shadow: 0 0 20px #00ff00;
                    }
                    
                    .equals-button:hover {
                        background-color: rgba(0, 255, 0, 0.4);
                    }
            
            
                    /* --- אנימציה של רעידות מסך (Glitch Effect) --- */
                    @keyframes flicker {
                        0%, 100% { opacity: 1; }
                        5% { opacity: 0.98; }
                        15% { opacity: 1; }
                        25% { opacity: 0.95; }
                        35% { opacity: 1; }
                        45% { opacity: 0.99; }
                        55% { opacity: 1; }
                    }
            
                </style>
            </head>
            <body>
            
                <div class="calculator">
                    <div class="display" id="display">0</div>
                    <div class="buttons">
                        
                        <!-- Row 1 -->
                        <button class="clear-button" onclick="clearDisplay()">AC</button>
                        <button class="operator-button" onclick="appendOperator('/')">/</button>
                        <button class="operator-button" onclick="appendOperator('*')" style="font-size: 1.2em;">x</button>
                        <button class="operator-button" onclick="appendOperator('-')">-</button>
                        
                        <!-- Row 2 -->
                        <button class="number-button" onclick="appendDigit('7')">7</button>
                        <button class="number-button" onclick="appendDigit('8')">8</button>
                        <button class="number-button" onclick="appendDigit('9')">9</button>
                        <button class="operator-button" onclick="appendOperator('+')">+</button>
                        
                        <!-- Row 3 -->
                        <button class="number-button" onclick="appendDigit('4')">4</button>
                        <button class="number-button" onclick="appendDigit('5')">5</button>
                        <button class="number-button" onclick="appendDigit('6')">6</button>
                        
                        <!-- Row 4 -->
                        <button class="number-button" onclick="appendDigit('1')">1</button>
                        <button class="number-button" onclick="appendDigit('2')">2</button>
                        <button class="number-button" onclick="appendDigit('3')">3</button>
                        
                        <!-- Row 5 -->
                        <button class="number-button" onclick="appendDigit('0')">0</button>
                        <button class="number-button" onclick="appendDecimal()">.</button>
                        <button class="equals-button" onclick="calculateResult()">=</button>
                    </div>
                </div>
            
                <script>
                    const display = document.getElementById('display');
                    let currentInput = '';
            
                    // Function to append a digit to the display
                    function appendDigit(digit) {
                        if (currentInput === '0' && digit !== '.') {
                            currentInput = digit;
                        } else {
                            currentInput += digit;
                        }
                        display.textContent = currentInput;
                    }
            
                    // Function to handle operators (+, -, *, /)
                    function appendOperator(operator) {
                        // Basic logic to prevent starting with an operator or double operators
                        if (currentInput === '' && operator !== '-') {
                             // Allows starting with a negative sign
                            if (operator === '-') {
                                currentInput = operator;
                            }
                            return;
                        }
                        if (currentInput.slice(-1).match(/[+\-*/]/)) {
                            currentInput = currentInput.slice(0, -1) + operator;
                        } else {
                            currentInput += operator;
                        }
                        display.textContent = currentInput;
                    }
            
                    // Function to handle decimal point
                    function appendDecimal() {
                        // Prevent adding decimal if the last character is an operator or if one already exists
                        const lastChar = currentInput.slice(-1);
                        if (!['+', '-', '*', '/'].includes(lastChar) && !currentInput.includes('.')) {
                            currentInput += '.';
                            display.textContent = currentInput;
                        }
                    }
            
                    // Function to clear the display
                    function clearDisplay() {
                        currentInput = '';
                        display.textContent = '0';
                    }
            
                    // Function to calculate the result
                    function calculateResult() {
                        try {
                            // WARNING: eval() is used here for simplicity in this demo. 
                            // In production code, a proper parsing engine is required.
                            let result = eval(currentInput);
                            
                            // Format result if it's a large number, otherwise keep it simple
                            if (Math.abs(result) > 1e15) {
                                currentInput = result.toExponential(4);
                            } else {
                                currentInput = String(result);
                            }
                            
                            display.textContent = currentInput;
                        } catch (e) {
                            display.textContent = 'ERROR';
                            currentInput = '';
                        }
                    }
                </script>
            </body>
            </html>
            

            CSS 0C מחובר
            CSS 0C מחובר
            CSS 0
            כתב נערך לאחרונה על ידי
            #72

            @חובבן-מקצועי ואו!!!

            תגובה 1 תגובה אחרונה
            0
            • המלאךה המלאך

              @CSS-0 זה לפחות פחות מביך.
              הראשון לא היה נקרא קוד בכלל.
              אבל כמובן שגם בזה יש כמה בעיות, וכמובן שקוואן יצליח יותר בשני פרומפטים.

              א.מ.ד.א מחובר
              א.מ.ד.א מחובר
              א.מ.ד.
              כתב נערך לאחרונה על ידי
              #73

              @המלאך הנה מפרומפט אחד:

              <!DOCTYPE html>
              <html lang="en">
              <head>
                  <meta charset="UTF-8">
                  <meta name="viewport" content="width=device-width, initial-scale=1.0">
                  <title>Modern Calculator</title>
                  <style>
                      /* --- CSS STYLES --- */
                      
                      :root {
                          --bg-color: #e0e5ec;
                          --cal-bg: #e0e5ec;
                          --btn-bg: #ffffff;
                          --btn-shadow: #ffffff;
                          --btn-active: #b2bec3;
                          --text-main: #454d59;
                          --operator-color: #ef620f; /* Orange */
                          --equals-bg: #ff7675;      /* Soft Red */
                          --equals-text: white;
                      }
              
                      * {
                          box-sizing: border-box;
                          font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
                      }
              
                      body {
                          background-color: var(--bg-color);
                          display: flex;
                          justify-content: center;
                          align-items: center;
                          min-height: 100vh;
                          margin: 0;
                      }
              
                      .calculator {
                          background-color: var(--cal-bg);
                          padding: 25px;
                          border-radius: 30px; /* Rounded corners */
                          box-shadow: 9px 9px 16px rgba(0, 0, 0, 0.05),
                                      -9px -9px 16px rgba(0, 0, 0, 0.04);
                          width: 320px; /* Fixed width for neatness */
                      }
              
                      .display {
                          width: 100%;
                          height: 80px;
                          margin-bottom: 20px;
                          border: none;
                          text-align: right;
                          padding-right: 15px;
                          font-size: 3rem;
                          color: var(--text-main);
                          outline: none;
                          background: transparent;
                      }
              
                      /* The grid of buttons */
                      .buttons {
                          display: grid;
                          grid-template-columns: repeat(4, 1fr); /* 4 columns */
                          gap: 15px;
                      }
              
                      /* Button Styling */
                      button {
                          border: none;
                          background-color: var(--btn-bg);
                          color: var(--text-main);
                          height: 60px;
                          width: 60px;
                          border-radius: 50%; /* Circular buttons */
                          font-size: 1.2rem;
                          box-shadow: 8px 8px 16px rgba(133, 133, 139, 0.4); /* Soft shadow depth */
                          cursor: pointer;
                          transition: transform 0.1s ease, background-color 0.2s;
                          display: flex;
                          justify-content: center;
                          align-items: center;
                      }
              
                      button:hover {
                          background-color: #f9f9f9; /* Lighter on hover */
                      }
              
                      button:active {
                          transform: scale(0.95); /* Press effect */
                          box-shadow: inset 4px 4px 8px rgba(133, 133, 139, 0.4);
                      }
              
                      /* Operator buttons (Orange) */
                      button.operator {
                          color: var(--operator-color);
                          font-weight: bold;
                      }
                      
                      button.operator:hover {
                          background-color: #ffeaa7;
                      }
              
                      .span-two {
                          grid-column: span 2;
                          width: 100%; /* Fill the two columns */
                          border-radius: 30px;
                          justify-content: flex-start; /* Align text to left of rounded shape */
                          padding-left: 25px;
                      }
              
                      .equals {
                          background-color: var(--equals-bg);
                          color: var(--equals-text);
                          font-weight: bold;
                          box-shadow: 5px 5px 10px rgba(239, 68, 47, 0.4);
                      }
                      
                      .equals:hover {
                          background-color: #ff7675;
                      }
              
                      /* Mobile Responsiveness */
                      @media (max-width: 400px) {
                          body { padding: 20px; }
                          .calculator { width: 95%; padding: 15px; }
                          button { width: 100%; height: 60px; border-radius: 30px; } /* Make buttons rounded squares on mobile */
                      }
                  </style>
              </head>
              <body>
              
                  <div class="calculator">
                      <!-- Display Screen -->
                      <input type="text" class="display" id="display" value="0" readonly>
                      
                      <!-- Keypad -->
                      <div class="buttons">
                          <!-- Row 1 -->
                          <button class="operator" onclick="deleteNumber()">DEL</button>
                          <button class="operator" onclick="clearDisplay()">AC</button>
                          <button class="operator" onclick="appendOperator('/')">÷</button>
                          
                          <!-- Row 2 -->
                          <button onclick="appendNumber('7')">7</button>
                          <button onclick="appendNumber('8')">8</button>
                          <button onclick="appendNumber('9')">9</button>
                          <button class="operator" onclick="appendOperator('*')">×</button>
                          
                          <!-- Row 3 -->
                          <button onclick="appendNumber('4')">4</button>
                          <button onclick="appendNumber('5')">5</button>
                          <button onclick="appendNumber('6')">6</button>
                          <button class="operator" onclick="appendOperator('-')">-</button>
                          
                          <!-- Row 4 -->
                          <button onclick="appendNumber('1')">1</button>
                          <button onclick="appendNumber('2')">2</button>
                          <button onclick="appendNumber('3')">3</button>
                          <button class="operator" onclick="appendOperator('+')">+</button>
                          
                          <!-- Row 5 -->
                          <button onclick="appendNumber('0')" class="span-two">0</button>
                          <button onclick="appendDecimal()">.</button>
                          <button class="equals" onclick="calculateResult()">=</button>
                      </div>
                  </div>
              
                  <script>
                      /* --- JAVASCRIPT LOGIC --- */
                      
                      const display = document.getElementById('display');
              
                      // Appends a number to the display
                      function appendNumber(number) {
                          if (display.value === '0' || display.value === 'Error') {
                              display.value = number;
                          } else {
                              // Prevent multiple decimals in one sequence
                              const isCurrentDecimal = display.value.slice(-1) === '.';
                              if(!isCurrentDecimal){
                                  display.value += number;
                              }
                          }
                      }
              
                      // Appends an operator (+, -, *, /)
                      function appendOperator(operator) {
                          const lastChar = display.value.slice(-1);
                          // Prevent double operators (e.g., ++ or +-)
                          if (['+', '-', '*', '/'].includes(lastChar)) {
                              return;
                          }
                          display.value += operator;
                      }
              
                      // Calculates the result using safe evaluation
                      function calculateResult() {
                          try {
                              // Note: eval is used here for simplicity. In a production app 
                              // with complex input, a custom parser would be safer.
                              let expression = display.value;
                              
                              // If it contains only "AC" or something weird, handle gracefully
                              if(expression === "") return;
              
                              // Replace visual symbols with JS operators (already handled in UI mostly)
                              // Check for syntax errors
                              let result = new Function('return ' + expression)(); 
              
                              // Handle floating point precision issues (e.g. 0.1 + 0.2)
                              if (!Number.isInteger(result)) {
                                  result = Math.round(result * 100000000) / 100000000; 
                              }
              
                              display.value = result;
                          } catch (error) {
                              display.value = "Error";
                          }
                      }
              
                      // Clears all input (Reset to 0)
                      function clearDisplay() {
                          display.value = '0';
                      }
              
                      // Deletes the last character only (Backspace)
                      function deleteNumber() {
                          if(display.value === 'Error') {
                              clearDisplay();
                              return;
                          }
                          
                          const newValue = display.value.slice(0, -1);
                          
                          // If result was just a number like 5. and user deletes, remove the dot too? 
                          // Or allow empty input? Let's default to clearing if empty.
                          if (newValue === "") {
                              display.value = '0';
                          } else {
                              display.value = newValue;
                          }
                      }
              
                      // Append a decimal point
                      function appendDecimal() {
                          if (display.value === 'Error') {
                              display.value = '.';
                              return;
                          }
                          
                          const isLastCharDot = display.value.slice(-1) === '.';
                          
                          // If user typed 1.2 and clicks decimal, it becomes 1.2.
                          if (display.value.includes('.')) {
                              return; 
                          }
              
                          display.value += '.';
                      }
              
                      /* --- Keyboard Support --- */
                      
                      document.addEventListener('keydown', function(event) {
                          const key = event.key;
                          
                          // Numbers 0-9
                          if (/^[0-9]$/.test(key)) {
                              appendNumber(key);
                          } 
                          // Operators
                          else if (key === '+' || key === '-' || key === '*' || key === '/') {
                              appendOperator(key);
                          }
                          // Function keys
                          else if (key === 'Enter') {
                              event.preventDefault(); // Prevent default form submission/scrolling
                              calculateResult();
                          } 
                          else if (key === 'Backspace') {
                              deleteNumber();
                          }
                          else if (key === 'Escape') {
                              clearDisplay();
                          }
                      });
              
                  </script>
              </body>
              </html>
              
              

              מפתח אפליקציות אנדרואיד
              em0548438097@gmail.com

              CSS 0C חובבן מקצועיח המלאךה 3 תגובות תגובה אחרונה
              1
              • א.מ.ד.א א.מ.ד.

                @המלאך הנה מפרומפט אחד:

                <!DOCTYPE html>
                <html lang="en">
                <head>
                    <meta charset="UTF-8">
                    <meta name="viewport" content="width=device-width, initial-scale=1.0">
                    <title>Modern Calculator</title>
                    <style>
                        /* --- CSS STYLES --- */
                        
                        :root {
                            --bg-color: #e0e5ec;
                            --cal-bg: #e0e5ec;
                            --btn-bg: #ffffff;
                            --btn-shadow: #ffffff;
                            --btn-active: #b2bec3;
                            --text-main: #454d59;
                            --operator-color: #ef620f; /* Orange */
                            --equals-bg: #ff7675;      /* Soft Red */
                            --equals-text: white;
                        }
                
                        * {
                            box-sizing: border-box;
                            font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
                        }
                
                        body {
                            background-color: var(--bg-color);
                            display: flex;
                            justify-content: center;
                            align-items: center;
                            min-height: 100vh;
                            margin: 0;
                        }
                
                        .calculator {
                            background-color: var(--cal-bg);
                            padding: 25px;
                            border-radius: 30px; /* Rounded corners */
                            box-shadow: 9px 9px 16px rgba(0, 0, 0, 0.05),
                                        -9px -9px 16px rgba(0, 0, 0, 0.04);
                            width: 320px; /* Fixed width for neatness */
                        }
                
                        .display {
                            width: 100%;
                            height: 80px;
                            margin-bottom: 20px;
                            border: none;
                            text-align: right;
                            padding-right: 15px;
                            font-size: 3rem;
                            color: var(--text-main);
                            outline: none;
                            background: transparent;
                        }
                
                        /* The grid of buttons */
                        .buttons {
                            display: grid;
                            grid-template-columns: repeat(4, 1fr); /* 4 columns */
                            gap: 15px;
                        }
                
                        /* Button Styling */
                        button {
                            border: none;
                            background-color: var(--btn-bg);
                            color: var(--text-main);
                            height: 60px;
                            width: 60px;
                            border-radius: 50%; /* Circular buttons */
                            font-size: 1.2rem;
                            box-shadow: 8px 8px 16px rgba(133, 133, 139, 0.4); /* Soft shadow depth */
                            cursor: pointer;
                            transition: transform 0.1s ease, background-color 0.2s;
                            display: flex;
                            justify-content: center;
                            align-items: center;
                        }
                
                        button:hover {
                            background-color: #f9f9f9; /* Lighter on hover */
                        }
                
                        button:active {
                            transform: scale(0.95); /* Press effect */
                            box-shadow: inset 4px 4px 8px rgba(133, 133, 139, 0.4);
                        }
                
                        /* Operator buttons (Orange) */
                        button.operator {
                            color: var(--operator-color);
                            font-weight: bold;
                        }
                        
                        button.operator:hover {
                            background-color: #ffeaa7;
                        }
                
                        .span-two {
                            grid-column: span 2;
                            width: 100%; /* Fill the two columns */
                            border-radius: 30px;
                            justify-content: flex-start; /* Align text to left of rounded shape */
                            padding-left: 25px;
                        }
                
                        .equals {
                            background-color: var(--equals-bg);
                            color: var(--equals-text);
                            font-weight: bold;
                            box-shadow: 5px 5px 10px rgba(239, 68, 47, 0.4);
                        }
                        
                        .equals:hover {
                            background-color: #ff7675;
                        }
                
                        /* Mobile Responsiveness */
                        @media (max-width: 400px) {
                            body { padding: 20px; }
                            .calculator { width: 95%; padding: 15px; }
                            button { width: 100%; height: 60px; border-radius: 30px; } /* Make buttons rounded squares on mobile */
                        }
                    </style>
                </head>
                <body>
                
                    <div class="calculator">
                        <!-- Display Screen -->
                        <input type="text" class="display" id="display" value="0" readonly>
                        
                        <!-- Keypad -->
                        <div class="buttons">
                            <!-- Row 1 -->
                            <button class="operator" onclick="deleteNumber()">DEL</button>
                            <button class="operator" onclick="clearDisplay()">AC</button>
                            <button class="operator" onclick="appendOperator('/')">÷</button>
                            
                            <!-- Row 2 -->
                            <button onclick="appendNumber('7')">7</button>
                            <button onclick="appendNumber('8')">8</button>
                            <button onclick="appendNumber('9')">9</button>
                            <button class="operator" onclick="appendOperator('*')">×</button>
                            
                            <!-- Row 3 -->
                            <button onclick="appendNumber('4')">4</button>
                            <button onclick="appendNumber('5')">5</button>
                            <button onclick="appendNumber('6')">6</button>
                            <button class="operator" onclick="appendOperator('-')">-</button>
                            
                            <!-- Row 4 -->
                            <button onclick="appendNumber('1')">1</button>
                            <button onclick="appendNumber('2')">2</button>
                            <button onclick="appendNumber('3')">3</button>
                            <button class="operator" onclick="appendOperator('+')">+</button>
                            
                            <!-- Row 5 -->
                            <button onclick="appendNumber('0')" class="span-two">0</button>
                            <button onclick="appendDecimal()">.</button>
                            <button class="equals" onclick="calculateResult()">=</button>
                        </div>
                    </div>
                
                    <script>
                        /* --- JAVASCRIPT LOGIC --- */
                        
                        const display = document.getElementById('display');
                
                        // Appends a number to the display
                        function appendNumber(number) {
                            if (display.value === '0' || display.value === 'Error') {
                                display.value = number;
                            } else {
                                // Prevent multiple decimals in one sequence
                                const isCurrentDecimal = display.value.slice(-1) === '.';
                                if(!isCurrentDecimal){
                                    display.value += number;
                                }
                            }
                        }
                
                        // Appends an operator (+, -, *, /)
                        function appendOperator(operator) {
                            const lastChar = display.value.slice(-1);
                            // Prevent double operators (e.g., ++ or +-)
                            if (['+', '-', '*', '/'].includes(lastChar)) {
                                return;
                            }
                            display.value += operator;
                        }
                
                        // Calculates the result using safe evaluation
                        function calculateResult() {
                            try {
                                // Note: eval is used here for simplicity. In a production app 
                                // with complex input, a custom parser would be safer.
                                let expression = display.value;
                                
                                // If it contains only "AC" or something weird, handle gracefully
                                if(expression === "") return;
                
                                // Replace visual symbols with JS operators (already handled in UI mostly)
                                // Check for syntax errors
                                let result = new Function('return ' + expression)(); 
                
                                // Handle floating point precision issues (e.g. 0.1 + 0.2)
                                if (!Number.isInteger(result)) {
                                    result = Math.round(result * 100000000) / 100000000; 
                                }
                
                                display.value = result;
                            } catch (error) {
                                display.value = "Error";
                            }
                        }
                
                        // Clears all input (Reset to 0)
                        function clearDisplay() {
                            display.value = '0';
                        }
                
                        // Deletes the last character only (Backspace)
                        function deleteNumber() {
                            if(display.value === 'Error') {
                                clearDisplay();
                                return;
                            }
                            
                            const newValue = display.value.slice(0, -1);
                            
                            // If result was just a number like 5. and user deletes, remove the dot too? 
                            // Or allow empty input? Let's default to clearing if empty.
                            if (newValue === "") {
                                display.value = '0';
                            } else {
                                display.value = newValue;
                            }
                        }
                
                        // Append a decimal point
                        function appendDecimal() {
                            if (display.value === 'Error') {
                                display.value = '.';
                                return;
                            }
                            
                            const isLastCharDot = display.value.slice(-1) === '.';
                            
                            // If user typed 1.2 and clicks decimal, it becomes 1.2.
                            if (display.value.includes('.')) {
                                return; 
                            }
                
                            display.value += '.';
                        }
                
                        /* --- Keyboard Support --- */
                        
                        document.addEventListener('keydown', function(event) {
                            const key = event.key;
                            
                            // Numbers 0-9
                            if (/^[0-9]$/.test(key)) {
                                appendNumber(key);
                            } 
                            // Operators
                            else if (key === '+' || key === '-' || key === '*' || key === '/') {
                                appendOperator(key);
                            }
                            // Function keys
                            else if (key === 'Enter') {
                                event.preventDefault(); // Prevent default form submission/scrolling
                                calculateResult();
                            } 
                            else if (key === 'Backspace') {
                                deleteNumber();
                            }
                            else if (key === 'Escape') {
                                clearDisplay();
                            }
                        });
                
                    </script>
                </body>
                </html>
                
                
                CSS 0C מחובר
                CSS 0C מחובר
                CSS 0
                כתב נערך לאחרונה על ידי CSS 0
                #74

                @א.מ.ד. אין סיכוי!! שאני ניסיתי הוא לא הוציא לי קוד אלא איזה חירבוש בראש...
                שזה היה מספרים בריבועים אחד מעל השני שלחצו עליהם לא עשו כלום..

                חובבן מקצועיח תגובה 1 תגובה אחרונה
                0
                • א.מ.ד.א א.מ.ד.

                  @המלאך הנה מפרומפט אחד:

                  <!DOCTYPE html>
                  <html lang="en">
                  <head>
                      <meta charset="UTF-8">
                      <meta name="viewport" content="width=device-width, initial-scale=1.0">
                      <title>Modern Calculator</title>
                      <style>
                          /* --- CSS STYLES --- */
                          
                          :root {
                              --bg-color: #e0e5ec;
                              --cal-bg: #e0e5ec;
                              --btn-bg: #ffffff;
                              --btn-shadow: #ffffff;
                              --btn-active: #b2bec3;
                              --text-main: #454d59;
                              --operator-color: #ef620f; /* Orange */
                              --equals-bg: #ff7675;      /* Soft Red */
                              --equals-text: white;
                          }
                  
                          * {
                              box-sizing: border-box;
                              font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
                          }
                  
                          body {
                              background-color: var(--bg-color);
                              display: flex;
                              justify-content: center;
                              align-items: center;
                              min-height: 100vh;
                              margin: 0;
                          }
                  
                          .calculator {
                              background-color: var(--cal-bg);
                              padding: 25px;
                              border-radius: 30px; /* Rounded corners */
                              box-shadow: 9px 9px 16px rgba(0, 0, 0, 0.05),
                                          -9px -9px 16px rgba(0, 0, 0, 0.04);
                              width: 320px; /* Fixed width for neatness */
                          }
                  
                          .display {
                              width: 100%;
                              height: 80px;
                              margin-bottom: 20px;
                              border: none;
                              text-align: right;
                              padding-right: 15px;
                              font-size: 3rem;
                              color: var(--text-main);
                              outline: none;
                              background: transparent;
                          }
                  
                          /* The grid of buttons */
                          .buttons {
                              display: grid;
                              grid-template-columns: repeat(4, 1fr); /* 4 columns */
                              gap: 15px;
                          }
                  
                          /* Button Styling */
                          button {
                              border: none;
                              background-color: var(--btn-bg);
                              color: var(--text-main);
                              height: 60px;
                              width: 60px;
                              border-radius: 50%; /* Circular buttons */
                              font-size: 1.2rem;
                              box-shadow: 8px 8px 16px rgba(133, 133, 139, 0.4); /* Soft shadow depth */
                              cursor: pointer;
                              transition: transform 0.1s ease, background-color 0.2s;
                              display: flex;
                              justify-content: center;
                              align-items: center;
                          }
                  
                          button:hover {
                              background-color: #f9f9f9; /* Lighter on hover */
                          }
                  
                          button:active {
                              transform: scale(0.95); /* Press effect */
                              box-shadow: inset 4px 4px 8px rgba(133, 133, 139, 0.4);
                          }
                  
                          /* Operator buttons (Orange) */
                          button.operator {
                              color: var(--operator-color);
                              font-weight: bold;
                          }
                          
                          button.operator:hover {
                              background-color: #ffeaa7;
                          }
                  
                          .span-two {
                              grid-column: span 2;
                              width: 100%; /* Fill the two columns */
                              border-radius: 30px;
                              justify-content: flex-start; /* Align text to left of rounded shape */
                              padding-left: 25px;
                          }
                  
                          .equals {
                              background-color: var(--equals-bg);
                              color: var(--equals-text);
                              font-weight: bold;
                              box-shadow: 5px 5px 10px rgba(239, 68, 47, 0.4);
                          }
                          
                          .equals:hover {
                              background-color: #ff7675;
                          }
                  
                          /* Mobile Responsiveness */
                          @media (max-width: 400px) {
                              body { padding: 20px; }
                              .calculator { width: 95%; padding: 15px; }
                              button { width: 100%; height: 60px; border-radius: 30px; } /* Make buttons rounded squares on mobile */
                          }
                      </style>
                  </head>
                  <body>
                  
                      <div class="calculator">
                          <!-- Display Screen -->
                          <input type="text" class="display" id="display" value="0" readonly>
                          
                          <!-- Keypad -->
                          <div class="buttons">
                              <!-- Row 1 -->
                              <button class="operator" onclick="deleteNumber()">DEL</button>
                              <button class="operator" onclick="clearDisplay()">AC</button>
                              <button class="operator" onclick="appendOperator('/')">÷</button>
                              
                              <!-- Row 2 -->
                              <button onclick="appendNumber('7')">7</button>
                              <button onclick="appendNumber('8')">8</button>
                              <button onclick="appendNumber('9')">9</button>
                              <button class="operator" onclick="appendOperator('*')">×</button>
                              
                              <!-- Row 3 -->
                              <button onclick="appendNumber('4')">4</button>
                              <button onclick="appendNumber('5')">5</button>
                              <button onclick="appendNumber('6')">6</button>
                              <button class="operator" onclick="appendOperator('-')">-</button>
                              
                              <!-- Row 4 -->
                              <button onclick="appendNumber('1')">1</button>
                              <button onclick="appendNumber('2')">2</button>
                              <button onclick="appendNumber('3')">3</button>
                              <button class="operator" onclick="appendOperator('+')">+</button>
                              
                              <!-- Row 5 -->
                              <button onclick="appendNumber('0')" class="span-two">0</button>
                              <button onclick="appendDecimal()">.</button>
                              <button class="equals" onclick="calculateResult()">=</button>
                          </div>
                      </div>
                  
                      <script>
                          /* --- JAVASCRIPT LOGIC --- */
                          
                          const display = document.getElementById('display');
                  
                          // Appends a number to the display
                          function appendNumber(number) {
                              if (display.value === '0' || display.value === 'Error') {
                                  display.value = number;
                              } else {
                                  // Prevent multiple decimals in one sequence
                                  const isCurrentDecimal = display.value.slice(-1) === '.';
                                  if(!isCurrentDecimal){
                                      display.value += number;
                                  }
                              }
                          }
                  
                          // Appends an operator (+, -, *, /)
                          function appendOperator(operator) {
                              const lastChar = display.value.slice(-1);
                              // Prevent double operators (e.g., ++ or +-)
                              if (['+', '-', '*', '/'].includes(lastChar)) {
                                  return;
                              }
                              display.value += operator;
                          }
                  
                          // Calculates the result using safe evaluation
                          function calculateResult() {
                              try {
                                  // Note: eval is used here for simplicity. In a production app 
                                  // with complex input, a custom parser would be safer.
                                  let expression = display.value;
                                  
                                  // If it contains only "AC" or something weird, handle gracefully
                                  if(expression === "") return;
                  
                                  // Replace visual symbols with JS operators (already handled in UI mostly)
                                  // Check for syntax errors
                                  let result = new Function('return ' + expression)(); 
                  
                                  // Handle floating point precision issues (e.g. 0.1 + 0.2)
                                  if (!Number.isInteger(result)) {
                                      result = Math.round(result * 100000000) / 100000000; 
                                  }
                  
                                  display.value = result;
                              } catch (error) {
                                  display.value = "Error";
                              }
                          }
                  
                          // Clears all input (Reset to 0)
                          function clearDisplay() {
                              display.value = '0';
                          }
                  
                          // Deletes the last character only (Backspace)
                          function deleteNumber() {
                              if(display.value === 'Error') {
                                  clearDisplay();
                                  return;
                              }
                              
                              const newValue = display.value.slice(0, -1);
                              
                              // If result was just a number like 5. and user deletes, remove the dot too? 
                              // Or allow empty input? Let's default to clearing if empty.
                              if (newValue === "") {
                                  display.value = '0';
                              } else {
                                  display.value = newValue;
                              }
                          }
                  
                          // Append a decimal point
                          function appendDecimal() {
                              if (display.value === 'Error') {
                                  display.value = '.';
                                  return;
                              }
                              
                              const isLastCharDot = display.value.slice(-1) === '.';
                              
                              // If user typed 1.2 and clicks decimal, it becomes 1.2.
                              if (display.value.includes('.')) {
                                  return; 
                              }
                  
                              display.value += '.';
                          }
                  
                          /* --- Keyboard Support --- */
                          
                          document.addEventListener('keydown', function(event) {
                              const key = event.key;
                              
                              // Numbers 0-9
                              if (/^[0-9]$/.test(key)) {
                                  appendNumber(key);
                              } 
                              // Operators
                              else if (key === '+' || key === '-' || key === '*' || key === '/') {
                                  appendOperator(key);
                              }
                              // Function keys
                              else if (key === 'Enter') {
                                  event.preventDefault(); // Prevent default form submission/scrolling
                                  calculateResult();
                              } 
                              else if (key === 'Backspace') {
                                  deleteNumber();
                              }
                              else if (key === 'Escape') {
                                  clearDisplay();
                              }
                          });
                  
                      </script>
                  </body>
                  </html>
                  
                  
                  חובבן מקצועיח מנותק
                  חובבן מקצועיח מנותק
                  חובבן מקצועי
                  כתב נערך לאחרונה על ידי
                  #75

                  @א.מ.ד. הוא טיפה התבלבל עם המספרים.. (טוב שלי גם קצת, אבל לא כמו שלך..) ה7,4 ו1 נמצאים מימין, בינהם יש את הפעולות חשבון..

                  תגובה 1 תגובה אחרונה
                  0
                  • א.מ.ד.א א.מ.ד.

                    @המלאך הנה מפרומפט אחד:

                    <!DOCTYPE html>
                    <html lang="en">
                    <head>
                        <meta charset="UTF-8">
                        <meta name="viewport" content="width=device-width, initial-scale=1.0">
                        <title>Modern Calculator</title>
                        <style>
                            /* --- CSS STYLES --- */
                            
                            :root {
                                --bg-color: #e0e5ec;
                                --cal-bg: #e0e5ec;
                                --btn-bg: #ffffff;
                                --btn-shadow: #ffffff;
                                --btn-active: #b2bec3;
                                --text-main: #454d59;
                                --operator-color: #ef620f; /* Orange */
                                --equals-bg: #ff7675;      /* Soft Red */
                                --equals-text: white;
                            }
                    
                            * {
                                box-sizing: border-box;
                                font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
                            }
                    
                            body {
                                background-color: var(--bg-color);
                                display: flex;
                                justify-content: center;
                                align-items: center;
                                min-height: 100vh;
                                margin: 0;
                            }
                    
                            .calculator {
                                background-color: var(--cal-bg);
                                padding: 25px;
                                border-radius: 30px; /* Rounded corners */
                                box-shadow: 9px 9px 16px rgba(0, 0, 0, 0.05),
                                            -9px -9px 16px rgba(0, 0, 0, 0.04);
                                width: 320px; /* Fixed width for neatness */
                            }
                    
                            .display {
                                width: 100%;
                                height: 80px;
                                margin-bottom: 20px;
                                border: none;
                                text-align: right;
                                padding-right: 15px;
                                font-size: 3rem;
                                color: var(--text-main);
                                outline: none;
                                background: transparent;
                            }
                    
                            /* The grid of buttons */
                            .buttons {
                                display: grid;
                                grid-template-columns: repeat(4, 1fr); /* 4 columns */
                                gap: 15px;
                            }
                    
                            /* Button Styling */
                            button {
                                border: none;
                                background-color: var(--btn-bg);
                                color: var(--text-main);
                                height: 60px;
                                width: 60px;
                                border-radius: 50%; /* Circular buttons */
                                font-size: 1.2rem;
                                box-shadow: 8px 8px 16px rgba(133, 133, 139, 0.4); /* Soft shadow depth */
                                cursor: pointer;
                                transition: transform 0.1s ease, background-color 0.2s;
                                display: flex;
                                justify-content: center;
                                align-items: center;
                            }
                    
                            button:hover {
                                background-color: #f9f9f9; /* Lighter on hover */
                            }
                    
                            button:active {
                                transform: scale(0.95); /* Press effect */
                                box-shadow: inset 4px 4px 8px rgba(133, 133, 139, 0.4);
                            }
                    
                            /* Operator buttons (Orange) */
                            button.operator {
                                color: var(--operator-color);
                                font-weight: bold;
                            }
                            
                            button.operator:hover {
                                background-color: #ffeaa7;
                            }
                    
                            .span-two {
                                grid-column: span 2;
                                width: 100%; /* Fill the two columns */
                                border-radius: 30px;
                                justify-content: flex-start; /* Align text to left of rounded shape */
                                padding-left: 25px;
                            }
                    
                            .equals {
                                background-color: var(--equals-bg);
                                color: var(--equals-text);
                                font-weight: bold;
                                box-shadow: 5px 5px 10px rgba(239, 68, 47, 0.4);
                            }
                            
                            .equals:hover {
                                background-color: #ff7675;
                            }
                    
                            /* Mobile Responsiveness */
                            @media (max-width: 400px) {
                                body { padding: 20px; }
                                .calculator { width: 95%; padding: 15px; }
                                button { width: 100%; height: 60px; border-radius: 30px; } /* Make buttons rounded squares on mobile */
                            }
                        </style>
                    </head>
                    <body>
                    
                        <div class="calculator">
                            <!-- Display Screen -->
                            <input type="text" class="display" id="display" value="0" readonly>
                            
                            <!-- Keypad -->
                            <div class="buttons">
                                <!-- Row 1 -->
                                <button class="operator" onclick="deleteNumber()">DEL</button>
                                <button class="operator" onclick="clearDisplay()">AC</button>
                                <button class="operator" onclick="appendOperator('/')">÷</button>
                                
                                <!-- Row 2 -->
                                <button onclick="appendNumber('7')">7</button>
                                <button onclick="appendNumber('8')">8</button>
                                <button onclick="appendNumber('9')">9</button>
                                <button class="operator" onclick="appendOperator('*')">×</button>
                                
                                <!-- Row 3 -->
                                <button onclick="appendNumber('4')">4</button>
                                <button onclick="appendNumber('5')">5</button>
                                <button onclick="appendNumber('6')">6</button>
                                <button class="operator" onclick="appendOperator('-')">-</button>
                                
                                <!-- Row 4 -->
                                <button onclick="appendNumber('1')">1</button>
                                <button onclick="appendNumber('2')">2</button>
                                <button onclick="appendNumber('3')">3</button>
                                <button class="operator" onclick="appendOperator('+')">+</button>
                                
                                <!-- Row 5 -->
                                <button onclick="appendNumber('0')" class="span-two">0</button>
                                <button onclick="appendDecimal()">.</button>
                                <button class="equals" onclick="calculateResult()">=</button>
                            </div>
                        </div>
                    
                        <script>
                            /* --- JAVASCRIPT LOGIC --- */
                            
                            const display = document.getElementById('display');
                    
                            // Appends a number to the display
                            function appendNumber(number) {
                                if (display.value === '0' || display.value === 'Error') {
                                    display.value = number;
                                } else {
                                    // Prevent multiple decimals in one sequence
                                    const isCurrentDecimal = display.value.slice(-1) === '.';
                                    if(!isCurrentDecimal){
                                        display.value += number;
                                    }
                                }
                            }
                    
                            // Appends an operator (+, -, *, /)
                            function appendOperator(operator) {
                                const lastChar = display.value.slice(-1);
                                // Prevent double operators (e.g., ++ or +-)
                                if (['+', '-', '*', '/'].includes(lastChar)) {
                                    return;
                                }
                                display.value += operator;
                            }
                    
                            // Calculates the result using safe evaluation
                            function calculateResult() {
                                try {
                                    // Note: eval is used here for simplicity. In a production app 
                                    // with complex input, a custom parser would be safer.
                                    let expression = display.value;
                                    
                                    // If it contains only "AC" or something weird, handle gracefully
                                    if(expression === "") return;
                    
                                    // Replace visual symbols with JS operators (already handled in UI mostly)
                                    // Check for syntax errors
                                    let result = new Function('return ' + expression)(); 
                    
                                    // Handle floating point precision issues (e.g. 0.1 + 0.2)
                                    if (!Number.isInteger(result)) {
                                        result = Math.round(result * 100000000) / 100000000; 
                                    }
                    
                                    display.value = result;
                                } catch (error) {
                                    display.value = "Error";
                                }
                            }
                    
                            // Clears all input (Reset to 0)
                            function clearDisplay() {
                                display.value = '0';
                            }
                    
                            // Deletes the last character only (Backspace)
                            function deleteNumber() {
                                if(display.value === 'Error') {
                                    clearDisplay();
                                    return;
                                }
                                
                                const newValue = display.value.slice(0, -1);
                                
                                // If result was just a number like 5. and user deletes, remove the dot too? 
                                // Or allow empty input? Let's default to clearing if empty.
                                if (newValue === "") {
                                    display.value = '0';
                                } else {
                                    display.value = newValue;
                                }
                            }
                    
                            // Append a decimal point
                            function appendDecimal() {
                                if (display.value === 'Error') {
                                    display.value = '.';
                                    return;
                                }
                                
                                const isLastCharDot = display.value.slice(-1) === '.';
                                
                                // If user typed 1.2 and clicks decimal, it becomes 1.2.
                                if (display.value.includes('.')) {
                                    return; 
                                }
                    
                                display.value += '.';
                            }
                    
                            /* --- Keyboard Support --- */
                            
                            document.addEventListener('keydown', function(event) {
                                const key = event.key;
                                
                                // Numbers 0-9
                                if (/^[0-9]$/.test(key)) {
                                    appendNumber(key);
                                } 
                                // Operators
                                else if (key === '+' || key === '-' || key === '*' || key === '/') {
                                    appendOperator(key);
                                }
                                // Function keys
                                else if (key === 'Enter') {
                                    event.preventDefault(); // Prevent default form submission/scrolling
                                    calculateResult();
                                } 
                                else if (key === 'Backspace') {
                                    deleteNumber();
                                }
                                else if (key === 'Escape') {
                                    clearDisplay();
                                }
                            });
                    
                        </script>
                    </body>
                    </html>
                    
                    
                    המלאךה מנותק
                    המלאךה מנותק
                    המלאך
                    כתב נערך לאחרונה על ידי המלאך
                    #76

                    @א.מ.ד. וואו.הקוד הזה יותר מהקוד הראשון השני ושל @חובבן-מקצועי ביחד!
                    דרך אגב, של @חובבן-מקצועי יותר טוב משל @css-0

                    CSS 0C תגובה 1 תגובה אחרונה
                    1
                    • CSS 0C CSS 0

                      @א.מ.ד. אין סיכוי!! שאני ניסיתי הוא לא הוציא לי קוד אלא איזה חירבוש בראש...
                      שזה היה מספרים בריבועים אחד מעל השני שלחצו עליהם לא עשו כלום..

                      חובבן מקצועיח מנותק
                      חובבן מקצועיח מנותק
                      חובבן מקצועי
                      כתב נערך לאחרונה על ידי חובבן מקצועי
                      #77

                      @CSS-0 אתה בטוח שניסית את gemma 4?
                      (שלח לי בפרטי קישור למה שהורדת)

                      CSS 0C תגובה 1 תגובה אחרונה
                      0
                      • המלאךה המלאך

                        @א.מ.ד. וואו.הקוד הזה יותר מהקוד הראשון השני ושל @חובבן-מקצועי ביחד!
                        דרך אגב, של @חובבן-מקצועי יותר טוב משל @css-0

                        CSS 0C מחובר
                        CSS 0C מחובר
                        CSS 0
                        כתב נערך לאחרונה על ידי
                        #78

                        @המלאך לא הקוד הזה לא יותר משל @חובבן-מקצועי !

                        המלאךה תגובה 1 תגובה אחרונה
                        0
                        • חובבן מקצועיח חובבן מקצועי

                          @CSS-0 אתה בטוח שניסית את gemma 4?
                          (שלח לי בפרטי קישור למה שהורדת)

                          CSS 0C מחובר
                          CSS 0C מחובר
                          CSS 0
                          כתב נערך לאחרונה על ידי CSS 0
                          #79

                          @חובבן-מקצועי כתב בבקשת מידע | AI אופליין:

                          לא אני ניסיתי את gemma3:4b
                          כתבתי את זה דיי מפורש..

                          תגובה 1 תגובה אחרונה
                          0
                          • CSS 0C CSS 0

                            @המלאך לא הקוד הזה לא יותר משל @חובבן-מקצועי !

                            המלאךה מנותק
                            המלאךה מנותק
                            המלאך
                            כתב נערך לאחרונה על ידי המלאך
                            #80

                            @CSS-0 בדקת?
                            יש בו תמיכה במקלדת, מחיקה, ומבנה יותר הגיוני של CSS, וזה במבט שטחי.
                            אם כי בהסתכלות שניה הקודם היה טוב יותר באופורטורים.

                            CSS 0C תגובה 1 תגובה אחרונה
                            0
                            • המלאךה המלאך

                              @CSS-0 בדקת?
                              יש בו תמיכה במקלדת, מחיקה, ומבנה יותר הגיוני של CSS, וזה במבט שטחי.
                              אם כי בהסתכלות שניה הקודם היה טוב יותר באופורטורים.

                              CSS 0C מחובר
                              CSS 0C מחובר
                              CSS 0
                              כתב נערך לאחרונה על ידי
                              #81

                              @המלאך לא יודע מבחינת עיצוב זה הרבה יותר טוב לא עברתי על הקודים...

                              המלאךה א.מ.ד.א 2 תגובות תגובה אחרונה
                              0
                              • CSS 0C CSS 0

                                @המלאך לא יודע מבחינת עיצוב זה הרבה יותר טוב לא עברתי על הקודים...

                                המלאךה מנותק
                                המלאךה מנותק
                                המלאך
                                כתב נערך לאחרונה על ידי המלאך
                                #82

                                @CSS-0 ממש לא נכון.
                                באיזה מחשבון היית משתמש ביום יום? בשל קוואן שמסודר מבחינה וויזאולית או בקודם? שמיועד להקרנות 😄 .

                                ברור שתגיד הקודם. אבל ברצינות אתה חושב כך? 😂 😂 בוא נפתח סקר בפורום סבבה?

                                CSS 0C חובבן מקצועיח 2 תגובות תגובה אחרונה
                                0
                                • המלאךה המלאך

                                  @CSS-0 ממש לא נכון.
                                  באיזה מחשבון היית משתמש ביום יום? בשל קוואן שמסודר מבחינה וויזאולית או בקודם? שמיועד להקרנות 😄 .

                                  ברור שתגיד הקודם. אבל ברצינות אתה חושב כך? 😂 😂 בוא נפתח סקר בפורום סבבה?

                                  CSS 0C מחובר
                                  CSS 0C מחובר
                                  CSS 0
                                  כתב נערך לאחרונה על ידי
                                  #83

                                  @המלאך בקודם...

                                  תגובה 1 תגובה אחרונה
                                  0
                                  • CSS 0C CSS 0

                                    @המלאך לא יודע מבחינת עיצוב זה הרבה יותר טוב לא עברתי על הקודים...

                                    א.מ.ד.א מחובר
                                    א.מ.ד.א מחובר
                                    א.מ.ד.
                                    כתב נערך לאחרונה על ידי א.מ.ד.
                                    #84

                                    @CSS-0 תנסה לבקש מ-GEMMA 3 את הפרומפט באנגלית. אם זה מה שיצא לך בעברית מסתבר שבאנגלית ייצא יותר טוב.
                                    יצרתי פרומפט מדוייק באנגלית, תדביק אותו ל-GEMMA 3 ותעלה פה את הקוד, נראה מה יצא. (עדיף שתעשה את זה בצ'אט חדש שלא ייתבלבל):

                                    Create for me a fully functional calculator HTML file, with a beautiful and up-to-date design with rounded corners. Add a hidden function in the code, so that when you double-click the division key, today's date will be written in the result line. Pay attention to the order of the buttons, so that it looks like a calculator,
                                    

                                    מפתח אפליקציות אנדרואיד
                                    em0548438097@gmail.com

                                    CSS 0C בנימין מחשביםב 2 תגובות תגובה אחרונה
                                    0
                                    • א.מ.ד.א א.מ.ד.

                                      @CSS-0 תנסה לבקש מ-GEMMA 3 את הפרומפט באנגלית. אם זה מה שיצא לך בעברית מסתבר שבאנגלית ייצא יותר טוב.
                                      יצרתי פרומפט מדוייק באנגלית, תדביק אותו ל-GEMMA 3 ותעלה פה את הקוד, נראה מה יצא. (עדיף שתעשה את זה בצ'אט חדש שלא ייתבלבל):

                                      Create for me a fully functional calculator HTML file, with a beautiful and up-to-date design with rounded corners. Add a hidden function in the code, so that when you double-click the division key, today's date will be written in the result line. Pay attention to the order of the buttons, so that it looks like a calculator,
                                      
                                      CSS 0C מחובר
                                      CSS 0C מחובר
                                      CSS 0
                                      כתב נערך לאחרונה על ידי CSS 0
                                      #85

                                      @א.מ.ד. יקח קצת זמן..
                                      הוא משום מה עושה לי את זה בשלושה קבצים נפרדים במקום ב HTML יחיד...

                                      א.מ.ד.א תגובה 1 תגובה אחרונה
                                      2
                                      • CSS 0C CSS 0

                                        @א.מ.ד. יקח קצת זמן..
                                        הוא משום מה עושה לי את זה בשלושה קבצים נפרדים במקום ב HTML יחיד...

                                        א.מ.ד.א מחובר
                                        א.מ.ד.א מחובר
                                        א.מ.ד.
                                        כתב נערך לאחרונה על ידי א.מ.ד.
                                        #86

                                        @CSS-0 בסדר רק תשים אותם באותה תיקייה.
                                        או שתעשה יצירה מחדש.

                                        אני בינתיים ביקשתי מ-QWEN שיתקן את הבעיות בקוד הקודם.

                                        מפתח אפליקציות אנדרואיד
                                        em0548438097@gmail.com

                                        CSS 0C תגובה 1 תגובה אחרונה
                                        0
                                        • המלאךה המלאך

                                          @CSS-0 ממש לא נכון.
                                          באיזה מחשבון היית משתמש ביום יום? בשל קוואן שמסודר מבחינה וויזאולית או בקודם? שמיועד להקרנות 😄 .

                                          ברור שתגיד הקודם. אבל ברצינות אתה חושב כך? 😂 😂 בוא נפתח סקר בפורום סבבה?

                                          חובבן מקצועיח מנותק
                                          חובבן מקצועיח מנותק
                                          חובבן מקצועי
                                          כתב נערך לאחרונה על ידי
                                          #87

                                          @המלאך כתב בבקשת מידע | AI אופליין:

                                          באיזה מחשבון היית משתמש ביום יום? בשל קוואן שמסודר מבחינה וויזאולית או בקודם? שמיועד להקרנות .

                                          טוב, הוא עשה לי אותו כזה, כי ביקשתי.
                                          סתם מחשבון - הוא יצר לי את זה ככה..

                                          <!DOCTYPE html>
                                          <html lang="he" dir="rtl">
                                          <head>
                                              <meta charset="UTF-8">
                                              <meta name="viewport" content="width=device-width, initial-scale=1.0">
                                              <title>מחשבון פשוט</title>
                                              <style>
                                                  body {
                                                      display: flex;
                                                      justify-content: center;
                                                      align-items: center;
                                                      height: 100vh;
                                                      background-color: #f4f4f4;
                                                      font-family: 'Arial', sans-serif;
                                                  }
                                          
                                                  .calculator {
                                                      background-color: #333;
                                                      border-radius: 10px;
                                                      padding: 20px;
                                                      box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
                                                  }
                                          
                                                  .display {
                                                      background-color: #222;
                                                      color: white;
                                                      font-size: 2.5em;
                                                      padding: 15px;
                                                      margin-bottom: 20px;
                                                      text-align: right;
                                                      border-radius: 5px;
                                                      height: 50px;
                                                      overflow: hidden;
                                                      white-space: nowrap;
                                                  }
                                          
                                                  .buttons {
                                                      display: grid;
                                                      grid-template-columns: repeat(4, 1fr);
                                                      gap: 10px;
                                                  }
                                          
                                                  button {
                                                      padding: 20px;
                                                      font-size: 1.2em;
                                                      border: none;
                                                      border-radius: 5px;
                                                      cursor: pointer;
                                                      transition: background-color 0.2s;
                                                  }
                                          
                                                  button:hover {
                                                      opacity: 0.9;
                                                  }
                                          
                                                  .number-button {
                                                      background-color: #555;
                                                      color: white;
                                                  }
                                          
                                                  .operator-button {
                                                      background-color: #ff9500;
                                                      color: white;
                                                  }
                                          
                                                  .clear-button {
                                                      background-color: #d9534f;
                                                      color: white;
                                                  }
                                          
                                                  .equals-button {
                                                      background-color: #4CAF50;
                                                      color: white;
                                                      grid-column: span 2; /* Makes the equals button wider */
                                                  }
                                              </style>
                                          </head>
                                          <body>
                                          
                                              <div class="calculator">
                                                  <div class="display" id="display">0</div>
                                                  <div class="buttons">
                                                      
                                                      <!-- Row 1 -->
                                                      <button class="clear-button" onclick="clearDisplay()">AC</button>
                                                      <button class="operator-button" onclick="appendOperator('/')">/</button>
                                                      <button class="operator-button" onclick="appendOperator('*')">x</button>
                                                      <button class="operator-button" onclick="appendOperator('-')">-</button>
                                                      
                                                      <!-- Row 2 -->
                                                      <button class="number-button" onclick="appendDigit('7')">7</button>
                                                      <button class="number-button" onclick="appendDigit('8')">8</button>
                                                      <button class="number-button" onclick="appendDigit('9')">9</button>
                                                      <button class="operator-button" onclick="appendOperator('+')">+</button>
                                                      
                                                      <!-- Row 3 -->
                                                      <button class="number-button" onclick="appendDigit('4')">4</button>
                                                      <button class="number-button" onclick="appendDigit('5')">5</button>
                                                      <button class="number-button" onclick="appendDigit('6')">6</button>
                                                      
                                                      <!-- Row 4 -->
                                                      <button class="number-button" onclick="appendDigit('1')">1</button>
                                                      <button class="number-button" onclick="appendDigit('2')">2</button>
                                                      <button class="number-button" onclick="appendDigit('3')">3</button>
                                                      
                                                      <!-- Row 5 -->
                                                      <button class="number-button" onclick="appendDigit('0')">0</button>
                                                      <button class="number-button" onclick="appendDecimal()">.</button>
                                                      <button class="equals-button" onclick="calculateResult()">=</button>
                                                  </div>
                                              </div>
                                          
                                              <script>
                                                  const display = document.getElementById('display');
                                                  let currentInput = '';
                                          
                                                  // Function to append a digit to the display
                                                  function appendDigit(digit) {
                                                      if (currentInput === '0' && digit !== '.') {
                                                          currentInput = digit;
                                                      } else {
                                                          currentInput += digit;
                                                      }
                                                      display.textContent = currentInput;
                                                  }
                                          
                                                  // Function to handle operators (+, -, *, /)
                                                  function appendOperator(operator) {
                                                      // Simple check to prevent multiple operators in a row (basic logic)
                                                      if (currentInput.slice(-1).match(/[+\-*/]/)) {
                                                          currentInput = currentInput.slice(0, -1) + operator;
                                                      } else {
                                                          currentInput += operator;
                                                      }
                                                      display.textContent = currentInput;
                                                  }
                                          
                                                  // Function to handle decimal point
                                                  function appendDecimal() {
                                                      if (!currentInput.includes('.')) {
                                                          currentInput += '.';
                                                          display.textContent = currentInput;
                                                      }
                                                  }
                                          
                                                  // Function to clear the display
                                                  function clearDisplay() {
                                                      currentInput = '';
                                                      display.textContent = '0';
                                                  }
                                          
                                                  // Function to calculate the result
                                                  function calculateResult() {
                                                      try {
                                                          // eval() is powerful but should be used carefully. 
                                                          // For a simple calculator, it suffices.
                                                          let result = eval(currentInput);
                                                          
                                                          // Display the result and reset the input for the next calculation
                                                          display.textContent = result;
                                                          currentInput = String(result); 
                                          
                                                      } catch (e) {
                                                          display.textContent = 'Error';
                                                          currentInput = '';
                                                      }
                                                  }
                                              </script>
                                          </body>
                                          </html>
                                          

                                          המלאךה תגובה 1 תגובה אחרונה
                                          0

                                          • התחברות

                                          • אין לך חשבון עדיין? הרשמה

                                          • התחברו או הירשמו כדי לחפש.
                                          • פוסט ראשון
                                            פוסט אחרון
                                          0
                                          • חוקי הפורום
                                          • פופולרי
                                          • לא נפתר
                                          • משתמשים
                                          • חיפוש גוגל בפורום
                                          • צור קשר