Models 44

Nemotron 3 Ultra (free)

by NVIDIAReasoningClean
Open in new window

Running live in a sandboxed frame. Click inside it before using the keyboard.

How it went

Total time
17.8 s
Cost
$0
Output tokens
4,143
Spent thinking
0 tokens
Speed
240.7 tok/s
Console errors
0
First token after
580 ms
First visible text after
580 ms
Prompt tokens
524
Code size
11.8 KB
Finish reason
stop
Served by
Nvidia
Model id
nvidia/nemotron-3-ultra-550b-a55b:free
Reasoning sent
{"effort":"none"}
Max output
32,000 tokens
Generated
Nov 9, 2026

What it was asked

The prompt
Create a set of four animated weather cards (sunny, rainy, snowy, stormy), made with HTML and CSS only. Requirements: - Absolutely no JavaScript: the file must not contain any <script> tag or inline event handler. - No images, no SVG, no icon fonts: every weather icon is built from HTML elements and pseudo-elements styled with CSS. - Each card shows an animated icon (rotating sun rays, falling rain drops, drifting snowflakes, flashing lightning), a city name, a temperature and a short description. - Each card has its own background gradient matching the weather. - The cards are displayed in a responsive grid (4 per row on desktop, stacked on mobile) and lift up on hover. - Smooth infinite animations using @keyframes, and respect prefers-reduced-motion.
System prompt, sent with every prompt
You are generating a self-contained web demo. It will be rendered automatically in a sandboxed iframe and compared side by side with the output of other AI models given the exact same task.

Output rules:
- Reply with exactly ONE fenced code block containing the complete file: ```html (or ```svg when the task asks for an SVG). No text before or after the code block.
- Everything must be inline: CSS in <style>, JavaScript in <script>. No external files, images, fonts or network requests, except the CDN URLs explicitly allowed by the task.
- Do not use localStorage, sessionStorage, cookies, IndexedDB, alert(), confirm(), prompt() or window.open(): they are blocked in the sandbox and will throw.
- The page must look right in a 1280×800 viewport and adapt gracefully down to 375px wide. No horizontal scrollbar.
- Something meaningful must be visible on first paint: a screenshot is taken automatically about 3 seconds after load, without any interaction.
- Everything that makes the demo interesting must be visible within the first seconds: nothing hidden behind a high score, a later level or a long play session.
- Games must start in a self-playing demo mode (a simple AI plays) behind a "Click or press a key to start" message, so the game can be judged in action without playing.
- The iframe only receives keyboard events after the user clicks it: if the demo uses the keyboard, display a clear "Click or press a key to start" message.
- The code must run with zero errors in the console of the latest Chrome.

Code run-1.html · 456 lines

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Animated Weather Cards</title>
  <style>
    *, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
    
    :root {
      --card-bg-sunny: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
      --card-bg-rainy: linear-gradient(135deg, #89f7fe 0%, #66a6ff 100%);
      --card-bg-snowy: linear-gradient(135deg, #e6dada 0%, #274046 100%);
      --card-bg-stormy: linear-gradient(135deg, #373b44 0%, #4286f4 100%);
    }
    
    body {
      font-family: system-ui, -apple-system, sans-serif;
      min-height: 100vh;
      background: #f5f5f5;
      display: flex;
      flex-direction: column;
      align-items: center;
      padding: 2rem 1rem;
    }
    
    h1 {
      margin-bottom: 2rem;
      color: #333;
      font-size: clamp(1.5rem, 4vw, 2.5rem);
    }
    
    .weather-grid {
      display: grid;
      grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
      gap: 1.5rem;
      width: 100%;
      max-width: 1000px;
    }
    
    .weather-card {
      position: relative;
      border-radius: 1.25rem;
      padding: 2rem 1.5rem;
      text-align: center;
      color: #fff;
      transition: transform 0.3s ease, box-shadow 0.3s ease;
      overflow: hidden;
    }
    
    .weather-card:hover {
      transform: translateY(-8px);
      box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    }
    
    .weather-card::before {
      content: '';
      position: absolute;
      inset: 0;
      background: inherit;
      filter: brightness(0.9);
      z-index: -1;
    }
    
    .weather-card.sunny { background: var(--card-bg-sunny); }
    .weather-card.rainy { background: var(--card-bg-rainy); }
    .weather-card.snowy { background: var(--card-bg-snowy); }
    .weather-card.stormy { background: var(--card-bg-stormy); }
    
    .icon-wrap {
      width: 100px;
      height: 100px;
      margin: 0 auto 1rem;
      position: relative;
    }
    
    /* Sunny Icon */
    .sunny .icon-wrap {
      animation: sunny-float 3s ease-in-out infinite;
    }
    
    .sunny .sun-core {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 50px;
      height: 50px;
      background: #fff;
      border-radius: 50%;
      box-shadow: 0 0 30px rgba(255,255,255,0.6);
    }
    
    .sunny .sun-ray {
      position: absolute;
      top: 50%;
      left: 50%;
      width: 4px;
      height: 25px;
      background: #fff;
      transform-origin: center calc(-25px);
      opacity: 0.8;
    }
    
    .sunny .sun-ray:nth-child(2) { transform: translate(-50%, -50%) rotate(0deg); }
    .sunny .sun-ray:nth-child(3) { transform: translate(-50%, -50%) rotate(45deg); }
    .sunny .sun-ray:nth-child(4) { transform: translate(-50%, -50%) rotate(90deg); }
    .sunny .sun-ray:nth-child(5) { transform: translate(-50%, -50%) rotate(135deg); }
    .sunny .sun-ray:nth-child(6) { transform: translate(-50%, -50%) rotate(180deg); }
    .sunny .sun-ray:nth-child(7) { transform: translate(-50%, -50%) rotate(225deg); }
    .sunny .sun-ray:nth-child(8) { transform: translate(-50%, -50%) rotate(270deg); }
    .sunny .sun-ray:nth-child(9) { transform: translate(-50%, -50%) rotate(315deg); }
    
    .sunny .sun-rays {
      position: absolute;
      top: 50%;
      left: 50%;
      transform: translate(-50%, -50%);
      width: 100px;
      height: 100px;
      animation: sunny-rotate 20s linear infinite;
    }
    
    @keyframes sunny-rotate {
      from { transform: translate(-50%, -50%) rotate(0deg); }
      to { transform: translate(-50%, -50%) rotate(360deg); }
    }
    
    @keyframes sunny-float {
      0%, 100% { transform: translateY(0); }
      50% { transform: translateY(-8px); }
    }
    
    /* Rainy Icon */
    .rainy .icon-wrap {
      perspective: 100px;
    }
    
    .rainy .cloud {
      position: absolute;
      bottom: 10px;
      left: 50%;
      transform: translateX(-50%);
      width: 70px;
      height: 35px;
      background: rgba(255,255,255,0.9);
      border-radius: 35px;
    }
    
    .rainy .cloud::before,
    .rainy .cloud::after {
      content: '';
      position: absolute;
      background: rgba(255,255,255,0.9);
      border-radius: 50%;
    }
    
    .rainy .cloud::before {
      width: 40px;
      height: 40px;
      top: -20px;
      left: 5px;
    }
    
    .rainy .cloud::after {
      width: 30px;
      height: 30px;
      top: -15px;
      right: 5px;
    }
    
    .rainy .raindrop {
      position: absolute;
      top: -20px;
      width: 4px;
      height: 20px;
      background: #fff;
      border-radius: 2px 2px 0 0;
      transform: rotate(180deg);
      opacity: 0.8;
      animation: rainy-fall 1s linear infinite;
    }
    
    .rainy .raindrop:nth-child(3) { left: 15%; animation-delay: 0s; }
    .rainy .raindrop:nth-child(4) { left: 35%; animation-delay: 0.2s; }
    .rainy .raindrop:nth-child(5) { left: 55%; animation-delay: 0.4s; }
    .rainy .raindrop:nth-child(6) { left: 75%; animation-delay: 0.6s; }
    .rainy .raindrop:nth-child(7) { left: 90%; animation-delay: 0.8s; }
    
    @keyframes rainy-fall {
      0% { top: -20px; opacity: 0; }
      10% { opacity: 0.8; }
      90% { opacity: 0.8; }
      100% { top: 100px; opacity: 0; }
    }
    
    /* Snowy Icon */
    .snowy .icon-wrap {
      perspective: 100px;
    }
    
    .snowy .cloud {
      position: absolute;
      bottom: 10px;
      left: 50%;
      transform: translateX(-50%);
      width: 80px;
      height: 40px;
      background: rgba(255,255,255,0.8);
      border-radius: 40px;
    }
    
    .snowy .cloud::before,
    .snowy .cloud::after {
      content: '';
      position: absolute;
      background: rgba(255,255,255,0.8);
      border-radius: 50%;
    }
    
    .snowy .cloud::before {
      width: 45px;
      height: 45px;
      top: -22px;
      left: 10px;
    }
    
    .snowy .cloud::after {
      width: 35px;
      height: 35px;
      top: -17px;
      right: 10px;
    }
    
    .snowy .snowflake {
      position: absolute;
      top: -10px;
      width: 8px;
      height: 8px;
      background: #fff;
      border-radius: 50%;
      opacity: 0.9;
      animation: snowy-fall 3s linear infinite;
    }
    
    .snowy .snowflake::before,
    .snowy .snowflake::after {
      content: '';
      position: absolute;
      top: 50%;
      left: 50%;
      width: 8px;
      height: 2px;
      background: #fff;
      transform-origin: center center;
    }
    
    .snowy .snowflake::before { transform: translate(-50%, -50%) rotate(0deg); }
    .snowy .snowflake::after { transform: translate(-50%, -50%) rotate(90deg); }
    
    .snowy .snowflake:nth-child(3) { left: 15%; animation-delay: 0s; animation-duration: 3.5s; }
    .snowy .snowflake:nth-child(4) { left: 35%; animation-delay: 0.5s; animation-duration: 2.8s; }
    .snowy .snowflake:nth-child(5) { left: 55%; animation-delay: 1s; animation-duration: 3.2s; }
    .snowy .snowflake:nth-child(6) { left: 75%; animation-delay: 1.5s; animation-duration: 2.5s; }
    .snowy .snowflake:nth-child(7) { left: 90%; animation-delay: 2s; animation-duration: 3s; }
    
    @keyframes snowy-fall {
      0% { top: -10px; transform: translateX(0) rotate(0deg); opacity: 0; }
      10% { opacity: 0.9; }
      100% { top: 110px; transform: translateX(15px) rotate(360deg); opacity: 0; }
    }
    
    /* Stormy Icon */
    .stormy .icon-wrap {
      perspective: 100px;
    }
    
    .stormy .cloud {
      position: absolute;
      bottom: 20px;
      left: 50%;
      transform: translateX(-50%);
      width: 80px;
      height: 40px;
      background: rgba(255,255,255,0.3);
      border-radius: 40px;
    }
    
    .stormy .cloud::before,
    .stormy .cloud::after {
      content: '';
      position: absolute;
      background: rgba(255,255,255,0.3);
      border-radius: 50%;
    }
    
    .stormy .cloud::before {
      width: 45px;
      height: 45px;
      top: -22px;
      left: 10px;
    }
    
    .stormy .cloud::after {
      width: 35px;
      height: 35px;
      top: -17px;
      right: 10px;
    }
    
    .stormy .lightning {
      position: absolute;
      bottom: 5px;
      left: 50%;
      transform: translateX(-50%);
      width: 0;
      height: 0;
      border-left: 6px solid transparent;
      border-right: 6px solid transparent;
      border-bottom: 20px solid #fff;
      opacity: 0;
      animation: stormy-flash 2s ease-in-out infinite;
      filter: drop-shadow(0 0 10px #fff);
    }
    
    .stormy .lightning::before {
      content: '';
      position: absolute;
      top: 20px;
      left: -6px;
      width: 0;
      height: 0;
      border-left: 6px solid transparent;
      border-right: 6px solid transparent;
      border-bottom: 15px solid #fff;
      transform: rotate(-30deg) translateX(-2px);
    }
    
    .stormy .lightning::after {
      content: '';
      position: absolute;
      top: 35px;
      left: -12px;
      width: 0;
      height: 0;
      border-left: 4px solid transparent;
      border-right: 4px solid transparent;
      border-bottom: 10px solid #fff;
      transform: rotate(20deg);
    }
    
    @keyframes stormy-flash {
      0%, 40%, 45%, 55%, 60%, 100% { opacity: 0; }
      42%, 52% { opacity: 1; }
      50% { opacity: 0.6; }
    }
    
    .card-info h2 {
      font-size: 1.25rem;
      font-weight: 600;
      margin-bottom: 0.5rem;
      text-transform: capitalize;
    }
    
    .card-info .temp {
      font-size: 3rem;
      font-weight: 700;
      line-height: 1;
      margin-bottom: 0.5rem;
    }
    
    .card-info .desc {
      font-size: 0.9rem;
      opacity: 0.9;
      text-transform: capitalize;
    }
    
    @media (prefers-reduced-motion: reduce) {
      *, *::before, *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
      }
    }
  </style>
</head>
<body>
  <h1>Weather Dashboard</h1>
  <div class="weather-grid">
    <article class="weather-card sunny">
      <div class="icon-wrap">
        <div class="sun-core"></div>
        <div class="sun-rays">
          <div class="sun-ray"></div>
          <div class="sun-ray"></div>
          <div class="sun-ray"></div>
          <div class="sun-ray"></div>
          <div class="sun-ray"></div>
          <div class="sun-ray"></div>
          <div class="sun-ray"></div>
          <div class="sun-ray"></div>
        </div>
      </div>
      <div class="card-info">
        <h2>Los Angeles</h2>
        <div class="temp">28°C</div>
        <div class="desc">Sunny</div>
      </div>
    </article>
    
    <article class="weather-card rainy">
      <div class="icon-wrap">
        <div class="cloud"></div>
        <div class="raindrop"></div>
        <div class="raindrop"></div>
        <div class="raindrop"></div>
        <div class="raindrop"></div>
        <div class="raindrop"></div>
      </div>
      <div class="card-info">
        <h2>London</h2>
        <div class="temp">14°C</div>
        <div class="desc">Light rain</div>
      </div>
    </article>
    
    <article class="weather-card snowy">
      <div class="icon-wrap">
        <div class="cloud"></div>
        <div class="snowflake"></div>
        <div class="snowflake"></div>
        <div class="snowflake"></div>
        <div class="snowflake"></div>
        <div class="snowflake"></div>
      </div>
      <div class="card-info">
        <h2>Reykjavik</h2>
        <div class="temp">-2°C</div>
        <div class="desc">Snow falling</div>
      </div>
    </article>
    
    <article class="weather-card stormy">
      <div class="icon-wrap">
        <div class="cloud"></div>
        <div class="lightning"></div>
      </div>
      <div class="card-info">
        <h2>Miami</h2>
        <div class="temp">26°C</div>
        <div class="desc">Thunderstorm</div>
      </div>
    </article>
  </div>
</body>
</html>