-
Notifications
You must be signed in to change notification settings - Fork 0
/
demo.html
16 lines (16 loc) · 895 Bytes
/
demo.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<html>
<body>
<div id="foobar"></div>
<div id='1'></div>
<link rel="stylesheet" href="https://stackpath.bootstrapcdn.com/bootstrap/5.0.0-alpha2/css/bootstrap.min.css" integrity="sha384-DhY6onE6f3zzKbjUPRc2hOzGAdEf4/Dz+WJwBvEYL/lkkIsI3ihufq9hk9K4lVoK" crossorigin="anonymous">
<script src="https://stackpath.bootstrapcdn.com/bootstrap/5.0.0-alpha2/js/bootstrap.min.js" integrity="sha384-5h4UG+6GOuV9qXh6HqOLwZMY4mnLPraeTrjT5v07o347pj6IkfuoASuGBhfDsp3d" crossorigin="anonymous"></script>
<script src='https://cdn.jsdelivr.net/gh/vednig/formearly/forms.js'></script>
<script>
div=document.getElementById('1')
x=formcreate(div,'GET','forms.js','uk',{'class':'red'})
console.log(x)
y=formadd(x,'label','y',{class:'container text-primary',value:'Go'},'Subscribe to Email')
z=formadd(y,'input','z',{class:'form form-control',placeholder:'Email-Address'})
</script>
</body>
</html>