Medical Cheat Sheets – Your Ultimate Study Resource https://cdn.tailwindcss.com body { box-sizing: border-box; } .specialty-card { transition: all 0.3s ease; } .specialty-card:hover { transform: translateY(-4px); box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04); } .post-card { transition: all 0.2s ease; } .post-card:hover { transform: translateY(-2px); } .tag { transition: all 0.2s ease; } .tag:hover { transform: scale(1.05); }
๐Ÿฉบ MedCheat

Medical Cheat Sheets

Your comprehensive resource for medical study materials, organized by specialty. Quick access to essential information for students and professionals.

๐Ÿฆด

Anatomy

Human body structure and organization

0 posts
โค๏ธ

Physiology

Body functions and processes

0 posts
๐Ÿงช

Biochemistry

Chemical processes in living organisms

0 posts
๐Ÿ”ฌ

Pathology

Disease processes and diagnosis

0 posts
๐Ÿฆ 

Microbiology

Microorganisms and infections

0 posts
๐Ÿ’Š

Pharmacology

Drug actions and interactions

0 posts
๐Ÿฉบ

General Medicine

Internal medicine and diagnosis

0 posts
๐Ÿ”ช

General Surgery

Surgical procedures and techniques

0 posts
๐Ÿ‘ถ

Obstetrics & Gynecology

Women’s health and pregnancy

0 posts
๐Ÿงธ

Pediatrics

Children’s health and development

0 posts
๐Ÿ‘๏ธ

Ophthalmology

Eye diseases and vision care

0 posts
๐Ÿ‘‚

ENT

Ear, nose, and throat disorders

0 posts
๐Ÿงด

Dermatology

Skin, hair, and nail conditions

0 posts
๐Ÿง 

Psychiatry

Mental health and disorders

0 posts
๐Ÿฆด

Orthopedics

Musculoskeletal system

0 posts
๐Ÿ˜ด

Anesthesiology

Anesthesia and pain management

0 posts
๐Ÿ“ก

Radiology

Medical imaging and diagnosis

0 posts
๐Ÿšจ

Emergency Medicine

Acute care and trauma

0 posts
// Data storage let posts = JSON.parse(localStorage.getItem(‘medicalPosts’)) || []; let currentPage = ‘home’; let previousPage = ‘home’; let currentSpecialty = ”; let currentFilter = ‘all’; // Specialty data const specialties = { ‘anatomy’: { name: ‘Anatomy’, emoji: ‘๐Ÿฆด’, description: ‘Human body structure and organization’ }, ‘physiology’: { name: ‘Physiology’, emoji: ‘โค๏ธ’, description: ‘Body functions and processes’ }, ‘biochemistry’: { name: ‘Biochemistry’, emoji: ‘๐Ÿงช’, description: ‘Chemical processes in living organisms’ }, ‘pathology’: { name: ‘Pathology’, emoji: ‘๐Ÿ”ฌ’, description: ‘Disease processes and diagnosis’ }, ‘microbiology’: { name: ‘Microbiology’, emoji: ‘๐Ÿฆ ’, description: ‘Microorganisms and infections’ }, ‘pharmacology’: { name: ‘Pharmacology’, emoji: ‘๐Ÿ’Š’, description: ‘Drug actions and interactions’ }, ‘general-medicine’: { name: ‘General Medicine’, emoji: ‘๐Ÿฉบ’, description: ‘Internal medicine and diagnosis’ }, ‘general-surgery’: { name: ‘General Surgery’, emoji: ‘๐Ÿ”ช’, description: ‘Surgical procedures and techniques’ }, ‘obstetrics-gynecology’: { name: ‘Obstetrics & Gynecology’, emoji: ‘๐Ÿ‘ถ’, description: ‘Women\’s health and pregnancy’ }, ‘pediatrics’: { name: ‘Pediatrics’, emoji: ‘๐Ÿงธ’, description: ‘Children\’s health and development’ }, ‘ophthalmology’: { name: ‘Ophthalmology’, emoji: ‘๐Ÿ‘๏ธ’, description: ‘Eye diseases and vision care’ }, ‘ent’: { name: ‘ENT’, emoji: ‘๐Ÿ‘‚’, description: ‘Ear, nose, and throat disorders’ }, ‘dermatology’: { name: ‘Dermatology’, emoji: ‘๐Ÿงด’, description: ‘Skin, hair, and nail conditions’ }, ‘psychiatry’: { name: ‘Psychiatry’, emoji: ‘๐Ÿง ’, description: ‘Mental health and disorders’ }, ‘orthopedics’: { name: ‘Orthopedics’, emoji: ‘๐Ÿฆด’, description: ‘Musculoskeletal system’ }, ‘anesthesiology’: { name: ‘Anesthesiology’, emoji: ‘๐Ÿ˜ด’, description: ‘Anesthesia and pain management’ }, ‘radiology’: { name: ‘Radiology’, emoji: ‘๐Ÿ“ก’, description: ‘Medical imaging and diagnosis’ }, ’emergency-medicine’: { name: ‘Emergency Medicine’, emoji: ‘๐Ÿšจ’, description: ‘Acute care and trauma’ } }; // Initialize the app function init() { updatePostCounts(); populateTagCheckboxes(); populateTagFilter(); showHome(); } // Navigation functions function showPage(pageId) { document.querySelectorAll(‘.page’).forEach(page => page.classList.add(‘hidden’)); document.getElementById(pageId).classList.remove(‘hidden’); previousPage = currentPage; currentPage = pageId.replace(‘Page’, ”); } function showHome() { showPage(‘homePage’); updatePostCounts(); } function showSpecialty(specialty) { currentSpecialty = specialty; const specialtyData = specialties[specialty]; document.getElementById(‘specialtyTitle’).textContent = specialtyData.emoji + ‘ ‘ + specialtyData.name; document.getElementById(‘specialtyDescription’).textContent = specialtyData.description; const specialtyPosts = posts.filter(post => post.tags.includes(specialty)); displaySpecialtyPosts(specialtyPosts); showPage(‘specialtyPage’); } function showAllPosts() { displayAllPosts(); showPage(‘allPostsPage’); } function showAddPost() { document.getElementById(‘postForm’).reset(); showPage(‘addPostPage’); } function showPostDetail(postId) { const post = posts.find(p => p.id === postId); if (post) { document.getElementById(‘postDetailTitle’).textContent = post.title; document.getElementById(‘postDetailContent’).textContent = post.content; const tagsContainer = document.getElementById(‘postDetailTags’); tagsContainer.innerHTML = ”; post.tags.forEach(tag => { const tagElement = document.createElement(‘span’); tagElement.className = ‘bg-indigo-100 text-indigo-800 px-2 py-1 rounded-full text-xs’; tagElement.textContent = specialties[tag].name; tagsContainer.appendChild(tagElement); }); showPage(‘postDetailPage’); } } function goBack() { if (previousPage === ‘specialty’) { showSpecialty(currentSpecialty); } else if (previousPage === ‘allPosts’) { showAllPosts(); } else { showHome(); } } // Post management function addPost(event) { event.preventDefault(); const title = document.getElementById(‘postTitle’).value; const content = document.getElementById(‘postContent’).value; const selectedTags = Array.from(document.querySelectorAll(‘#tagCheckboxes input:checked’)).map(cb => cb.value); if (selectedTags.length === 0) { alert(‘Please select at least one specialty tag.’); return; } const post = { id: Date.now().toString(), title: title, content: content, tags: selectedTags, date: new Date().toLocaleDateString() }; posts.push(post); localStorage.setItem(‘medicalPosts’, JSON.stringify(posts)); alert(‘Post published successfully!’); showHome(); } // Display functions function displaySpecialtyPosts(specialtyPosts) { const container = document.getElementById(‘specialtyPosts’); const noPostsMessage = document.getElementById(‘noPostsMessage’); if (specialtyPosts.length === 0) { container.classList.add(‘hidden’); noPostsMessage.classList.remove(‘hidden’); } else { container.classList.remove(‘hidden’); noPostsMessage.classList.add(‘hidden’); container.innerHTML = specialtyPosts.map(post => `

${post.title}

${post.content.substring(0, 100)}${post.content.length > 100 ? ‘…’ : ”}

${post.tags.map(tag => `${specialties[tag].name}`).join(”)}
${post.date}
`).join(”); } } function displayAllPosts() { const container = document.getElementById(‘allPostsContainer’); const filteredPosts = currentFilter === ‘all’ ? posts : posts.filter(post => post.tags.includes(currentFilter)); container.innerHTML = filteredPosts.map(post => `

${post.title}

${post.content.substring(0, 100)}${post.content.length > 100 ? ‘…’ : ”}

${post.tags.map(tag => `${specialties[tag].name}`).join(”)}
${post.date}
`).join(”); } function updatePostCounts() { Object.keys(specialties).forEach(specialty => { const count = posts.filter(post => post.tags.includes(specialty)).length; const countElement = document.getElementById(specialty + ‘-count’); if (countElement) { countElement.textContent = count === 1 ? ‘1 post’ : count + ‘ posts’; } }); } function populateTagCheckboxes() { const container = document.getElementById(‘tagCheckboxes’); container.innerHTML = Object.keys(specialties).map(key => ` ${specialties[key].name} `).join(”); } function populateTagFilter() { const container = document.getElementById(‘tagFilter’); const allButton = container.querySelector(‘button’); Object.keys(specialties).forEach(key => { const button = document.createElement(‘button’); button.onclick = () => filterPosts(key); button.className = ‘tag bg-gray-200 text-gray-700 px-3 py-1 rounded-full text-sm hover:bg-gray-300’; button.textContent = specialties[key].name; container.appendChild(button); }); } function filterPosts(filter) { currentFilter = filter; // Update button styles document.querySelectorAll(‘#tagFilter button’).forEach(btn => { btn.className = ‘tag bg-gray-200 text-gray-700 px-3 py-1 rounded-full text-sm hover:bg-gray-300’; }); if (filter === ‘all’) { document.querySelector(‘#tagFilter button’).className = ‘tag bg-indigo-600 text-white px-3 py-1 rounded-full text-sm’; } else { document.querySelector(`#tagFilter button[onclick=”filterPosts(‘${filter}’)”]`).className = ‘tag bg-indigo-600 text-white px-3 py-1 rounded-full text-sm’; } displayAllPosts(); } // Event listeners document.getElementById(‘postForm’).addEventListener(‘submit’, addPost); // Initialize the app init(); (function(){function c(){var b=a.contentDocument||a.contentWindow.document;if(b){var d=b.createElement(‘script’);d.innerHTML=”window.__CF$cv$params={r:’98b40e41c4e6b9fb’,t:’MTc1OTkwOTkxNC4wMDAwMDA=’};var a=document.createElement(‘script’);a.nonce=”;a.src=’/cdn-cgi/challenge-platform/scripts/jsd/main.js’;document.getElementsByTagName(‘head’)[0].appendChild(a);”;b.getElementsByTagName(‘head’)[0].appendChild(d)}}if(document.body){var a=document.createElement(‘iframe’);a.height=1;a.width=1;a.style.position=’absolute’;a.style.top=0;a.style.left=0;a.style.border=’none’;a.style.visibility=’hidden’;document.body.appendChild(a);if(‘loading’!==document.readyState)c();else if(window.addEventListener)document.addEventListener(‘DOMContentLoaded’,c);else{var e=document.onreadystatechange||function(){};document.onreadystatechange=function(b){e(b);’loading’!==document.readyState&&(document.onreadystatechange=e,c())}}}})();