// 任务: // 1. 用 getElementById 获取标题 // 2. 用 querySelector 获取按钮 // 3. 用 querySelectorAll 获取全部卡片 // 4. 在控制台输出标题文字、按钮文字和卡片数量 const a = document.getElementById("page-title") console.log(a.textContent); const b = document.querySelector(".start-btn") console.log(b.textContent); const c = document.querySelectorAll(".card") console.log(c.length);