Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

HOW to create html tags using javascript

Open
#3,637 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
Half a day
Newbie friendliness
25/100
Issue type
Documentation
Clarity
Needs clarification
Activity status
Stale
Tech stack
javascript
Domain
frontend

Research direction

Start from the provided document.createElement, setAttribute, and document.body.appendChild snippet. Clarify what HTML output or tutorial guidance the reporter expects; done would require a specific documentation change with an agreed expected result.

Written by the indexing model from the issue text.

Description

const h2= document.createElement('h2');
h2.setAttribute('id', 'heading1');
h2.setAttribute('class', 'heading11');
document.body.appendChild(h2);

Dominant language
HTML
Stars
25.5k
Forks
4k
PR merge metrics
No merged PRs in 30d

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from javascript-tutorial/en.javascript.info

All issues in javascript-tutorial/en.javascript.info

Similar issues

More Web Dev issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.