h5bp / Front-end-Developer-Interview-Questions

A list of helpful front-end related questions you can use to interview potential candidates, test yourself or completely ignore.

Home Page:https://h5bp.org/Front-end-Developer-Interview-Questions/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Suggested Question: How can you create custom attribute for an html element?

Oluwasetemi opened this issue · comments

Issue Template

Please answer the following questions for yourself before submitting an issue.

  • I am running the latest version
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed

Current status

Please describe the current status of the issue you are reporting.

response
I think every person who intend to write HTML or develop web pages must be able to create a custom attribute for an element

Proposal and Expected outcome

response
How can you create custom attribute for an html element?

Please describe your proposal and expected outcome from proposed work.

response
The use of data-attribute to create data-* serves as custom variable in html apart from global or element specific attributes.

Failure Information (for bugs)

Please help provide information about the failure if this is a bug. If it is not a bug, please remove the rest of this template.

Thanks.

Thanks! This could just be a pull request, if you're still interested in us evaluating this proposal