Web Adventures · Week 4

Link Explorer

Aim: Add safe, clickable links to a webpage.

New coding words

  1. link
  2. anchor
  3. href
  4. URL
  5. click

What the coding words mean

  1. link: Something you can select to open another page or place.
  2. anchor: The <a> element used to create a link.
  3. href: The part of a link that stores its destination.
  4. URL: The web address of an online page.
  5. click: To select something using a mouse, touchpad or touchscreen.
Code along

Link Explorer

This code creates a webpage with clickable words that open the Example webpage.

Coding space

Edit index.html for your webpage’s content. Select the tab you want to edit, then select Run my code to see your changes in Preview. Your changes save separately for this activity in this browser.

Tab indents. Esc then Tab leaves the editor. Ctrl/⌘ + Enter runs your code.

PreviewYour webpage
What will you create?

Select Run my code to see your webpage here.

Mini project

My Safe Links Page

This code creates a safe-links page with an approved website link placed inside a bulleted list.

Coding space

Edit index.html for your webpage’s content. Select the tab you want to edit, then select Run my code to see your changes in Preview. Your changes save separately for this activity in this browser.

PreviewYour webpage
What will you create?

Select Run my code to see your webpage here.

Your mini-project to-do list

0 of 4 completed

Complete these activities in the mini-project editor above. After each change, select Run my code to check your webpage.

Save your finished mini project

Select Download my work and save the file as week_4_safe_links.html. You can open this .html file in a browser to view your webpage.

Debugging detective

Chi Opara, your course guide

Knowledge check

Question 1

Which HTML element creates a link?

Choose one answer
Question 2

What does href tell the browser?

Your answers are checked in this browser and are not submitted.

How are you getting on so far?

My checklist

Finished Web Adventures Week 4?

Your completion and mood are saved only in this browser.