# How a Web Page Loads > Seventh graders learn the path a web page takes to reach the screen - typing an address, looking up the server with DNS, requesting the page, the server sending files back, and the browser rendering it - and put the steps in order. **Computer Science** | **Grade 7** *A free lesson plan from K12 Academics. Source page: https://lessonplans.k12academics.com/k12-lesson-g7-cs-how-web-pages-load.html* Seventh graders trace what happens in the second between pressing enter and seeing a page, as the browser finds a server, asks for files, and assembles them into what you see, then put the steps in order. **Copy link** works with Canvas, Schoology, Moodle and any other LMS — paste it in as a resource or assignment. ## Everything you need before the bell rings ### Learning Objectives Students will be able to… - See how a page **loads**. - Know the role of **DNS**. - Follow request and **response**. - Order the steps. You press enter and a full page appears almost instantly, but a lot happened in that second. What are the steps between your keypress and the page on screen? ## Order the Steps Project this and put the steps a web page takes to load in order — tap each one from pressing enter to seeing the page. ## 50 minutes, five moves Tap any phase to open the teacher moves and student actions. ### Hook — Enter to Page in a Second You type an address, press enter, and a full page appears almost instantly. A lot happened in that second. What are the steps between your keypress and the page? #### 👩‍🏫 Teacher Moves - Ask what happens after enter. - Collect guesses. - Set the goal. #### 🎒 Student Actions - Think. - Share. - Get ready. ### Use — Order the Steps Students put the page-loading steps in order. #### 👩‍🏫 Teacher Moves - Send students to Order the Steps. - Order the steps. - Name each one. #### 🎒 Student Actions - Order. - Say. - Note it. ### Modify — Who Does What? Students name what handles each step. #### 👩‍🏫 Teacher Moves - Pick a step. - Say which computer handles it. - Say what it does there. #### 🎒 Student Actions - Pick. - Say. - Say. ### Create — My Page-Load Map Students diagram the journey. #### 👩‍🏫 Teacher Moves - Draw the browser and the server. - Add the DNS lookup between them. - Trace request and response with arrows. #### 🎒 Student Actions - Draw. - Add. - Trace. ### Reflect — From Address to Screen Students reflect on how pages load. #### 👩‍🏫 Teacher Moves - What does DNS do? - Why does the browser send a request to a server? - Complete the exit ticket. #### 🎒 Student Actions - Say it. - Say it. - Complete the exit ticket. ## Built to the standards you report on Aligned to the CSTA K-12 Computer Science Standards and ISTE Standards for Students. Model how information is broken down, sent, reassembled, and received across networks. Explain how physical and digital security measures protect information in transit. Explain how devices locate and exchange information across a network. Computational Thinker: break a process into steps and model how a system works. ## One lesson, every learner ### Multilingual Learners - Step picture cards. - Sentence frame: “First ___ , then ___ .” - Order two steps at a time. ### Support & Access - Start with typing and pressing enter. - Match each step to a computer. - Add one step at a time. ### Stretch & Extend - Add how the request and response travel in packets. - Compare DNS to a phone book. - Explain where https security fits in. ### What to gather - 📽️Projector / board - 🌐Page-load step cards - 💻Order the Steps - 🖥️A browser-to-server diagram - ✏️Pencils - 🎫Exit-ticket slips ### Key terms - **browser**: the program that requests and displays web pages - **server**: a computer that stores a website and sends its files when asked - **DNS**: the system that turns a web address into a server's numeric address - **request**: a message a browser sends asking a server for a page - **response**: the files a server sends back to the browser - **HTML**: the code that describes the structure of a web page - **render**: to turn page files into what you see on screen - **IP address**: the numeric address that identifies a server on the internet ## Exit Ticket Preview the three formative checks. Tap “Sample answer” to see what mastery looks like — hide them before you print for students. ### Create: my page-load map. Have students draw the browser and the server, add the DNS lookup, and trace the request and response with arrows, so the hidden journey becomes visible. A printable web-page-loading worksheet is in the Computer Science library. ## Check your understanding **1. What does “browser” mean?** - the program that requests and displays web pages *(correct)* - a computer that stores a website and sends its files when asked - the system that turns a web address into a server's numeric address - a message a browser sends asking a server for a page “browser” means: the program that requests and displays web pages **2. Which word means: “a computer that stores a website and sends its files when asked”?** - browser - server *(correct)* - DNS - request “server” means: a computer that stores a website and sends its files when asked **3. What does “DNS” mean?** - the program that requests and displays web pages - a computer that stores a website and sends its files when asked - the system that turns a web address into a server's numeric address *(correct)* - a message a browser sends asking a server for a page “DNS” means: the system that turns a web address into a server's numeric address **4. Which word means: “a message a browser sends asking a server for a page”?** - browser - server - DNS - request *(correct)* “request” means: a message a browser sends asking a server for a page **5. What does “response” mean?** - the files a server sends back to the browser *(correct)* - the program that requests and displays web pages - a computer that stores a website and sends its files when asked - the system that turns a web address into a server's numeric address “response” means: the files a server sends back to the browser **6. Which word means: “the code that describes the structure of a web page”?** - browser - HTML *(correct)* - server - DNS “HTML” means: the code that describes the structure of a web page ## Printable worksheet --- Full lesson page: https://lessonplans.k12academics.com/k12-lesson-g7-cs-how-web-pages-load.html All lessons: https://lessonplans.k12academics.com/