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);
}
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
๐
No posts yet
Be the first to add a cheat sheet for this specialty!
Add First Post
Add New Cheat Sheet
Title
Content
Tags (Select specialties)
Publish Post
Cancel
// 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())}}}})();