Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/schalkneethling/using-ping-attribute
A simple demo using the ping attribute on an anchor element
https://github.com/schalkneethling/using-ping-attribute
Last synced: 6 days ago
JSON representation
A simple demo using the ping attribute on an anchor element
- Host: GitHub
- URL: https://github.com/schalkneethling/using-ping-attribute
- Owner: schalkneethling
- License: mit
- Created: 2021-04-28T17:44:49.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-03-22T20:15:33.000Z (over 1 year ago)
- Last Synced: 2024-04-23T21:30:04.531Z (7 months ago)
- Language: JavaScript
- Size: 673 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Using the `ping` attribute
A simple sample application demonstrating the use of the `ping` attribute on an anchor element.
- [The ping attribute specification](https://html.spec.whatwg.org/#ping)
## Running the app
Ensure that you have [Git](https://git-scm.com/), [Nodejs](https://nodejs.org/) and [Yarn](https://yarnpkg.com/)([npm](https://www.npmjs.com/get-npm) will also work) installed on your computer.
1. Clone this project locally.
2. Run `yarn` at the root of the project
3. Run `yarn start`
4. Open `http://localhost:3000` and click the linkYou should see the `console.log` statements from `routes/router.js` output to the terminal.
> NOTE: If testing in Firefox, there is a flag that needs to be set for this to work. [See the details on MDN Web Docs](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/a#browser_compatibility).