ampproject / ampproject/amphtml

This isn't in AMP but on the AMP Start and Building Tutorials

Open
#38,606 2 comments 0 reactions 0 assignees View on GitHub
Related to: Documentation Type: Bug
Dominant language
JavaScript
Stars
14.9k
Forks
4.1k
PR merge metrics
No merged PRs in 30d

Description

### Description

On this page: https://amp.dev/documentation/guides-and-tutorials/start/converting/building-page - the javascript that is displayed and to be copied `` is incorrect ans should be ``. Very minor. But For Newbs such as me, it was a little confusing that I was getting errors when there should be none.

### Reproduction Steps

Go to this page: https://amp.dev/documentation/guides-and-tutorials/start/converting/building-page and follow the instructions. You will produce errors because the link to the current CDN javascript is incorrect.

### Relevant Logs

_No response_

### Browser(s) Affected

Chrome

### OS(s) Affected

_No response_

### Device(s) Affected

_No response_

### AMP Version Affected

2212271632

Contributor guide

Open the contributing guide

Research direction

Open the referenced AMP Start and Building Tutorials page and locate the displayed amp-script script tag. Compare its CDN URL with the current amp-script URL described in the issue, then verify the tutorial no longer produces the reported errors when followed in Chrome.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation
Issue type
Documentation
Difficulty
1/5
Estimated time
Under an hour
Activity status
Stale
Clarity
Clearly specified
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.