Skip to content

Instantly share code, notes, and snippets.

@ahnjongin
ahnjongin / I'm an early 🐀
Last active May 8, 2026 13:17
productive-box
🌞 Morning 7 commits β–ˆβ–β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 6.8%
πŸŒ† Daytime 54 commits β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 52.4%
πŸŒƒ Evening 42 commits β–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–ˆβ–Œβ–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 40.8%
πŸŒ™ Night 0 commits β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘β–‘ 0.0%
@ahnjongin
ahnjongin / common.js
Last active August 20, 2024 05:00
project1
document.addEventListener("DOMContentLoaded", () => {
const API_KEY = "a5850b5d70524186b8c0";
const SERVICE_ID = "COOKRCP01";
const DATA_TYPE = "json";
let pagesize = 9;
let totalRecipes = 1124;
let totalPages = Math.ceil(totalRecipes / pagesize);
let currentPage = 1;
let groupSize = 9;
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Document</title>
<style>
h1 {
text-align: center;
}
* {
margin: 0;
padding: 0;
box-sizing: border-box;
}
li {
list-style: none;
}
.slide {