Skip to content

Instantly share code, notes, and snippets.

Avatar
🎯
Focusing

Suman Maity imSmaity

🎯
Focusing
View GitHub Profile
@imSmaity
imSmaity / DOM.js
Last active Jan 30, 2022
This form created by JavaScript
View DOM.js
const body=document.body
const label=document.createElement('label')
label.textContent="Name"
const input=document.createElement('input')
input.type='text'
input.id='name'
input.style.border='1px solid green'
input.style.padding='5px'