Make a same-page anchor link in Phoenix Pro
22 seconds · On-screen instructions
The café-hours practice menu is open to index.html in Phoenix Code. The file list is collapsed to give the preview more space. The recording starts in the code editor and enters Design Mode.
Follow the Phoenix Pro steps and download the café menu
Read the video’s on-screen instructions
- Enter Design Mode, then turn on the pen.
- Select the Opening hours link. Click the chain.
- Set the URL to #opening-hours. Press Enter.
- Scroll to the green panel and select its heading.
- Click h2 on the blue toolbar to edit its properties.
- Enter opening-hours in ID, then press Enter.
- Save the file, then turn off the orange pen.
- Scroll back to the top and click Opening hours.
- Check the green heading and both sets of hours.