javascript-tutorial / javascript-tutorial/en.javascript.info

HOW to create html tags using javascript

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

Nobody has claimed this yet.

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

Description

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

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.

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.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.