JSFiddle - React, Tailwind, and code Playground
by Hugo Lopez
HTML
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Wikimedia Category Uploader Counter</title>
<style>
body {
font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
max-width: 900px;
margin: 40px auto;
padding: 0 20px;
background-color: #f9f9f9;
color: #333;
}
h1 {
color: #222;
margin-bottom: 25px;
}
/* Control Panel Styles */
.controls {
display: flex;
gap: 10px;
background: #fff;
padding: 15px;
border-radius: 6px;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
margin-bottom: 20px;
}
input[type="text"] {
flex: 1;
padding: 10px 12px;
font-size: 1rem;
border: 1px solid #ccc;
border-radius: 4px;
outline: none;
transition: border-color 0.2s;
}
input[type="text"]:focus {
border-color: #3498db;
}
button {
padding: 10px 20px;
font-size: 1rem;
font-weight: 600;
background-color: #3498db;
color: #fff;
border: none;
border-radius: 4px;
cursor: pointer;
transition: background-color 0.2s;
}
button:hover {
background-color: #2980b9;
}
button:disabled {
background-color: #bdc3c7;
cursor: not-allowed;
}
#status {
font-style: italic;
color: #666;
margin-bottom: 20px;
min-height: 20px;
}
/* Table Styles */
table {
width:...