I need to find an easy way to get input from some <input>
:
<p class="mono-header pt-1">Nicknames & Names</p>
<div class="form-floating">
<input type="text" class="form-control bg-dark text-white" name="nickname" placeholder="Nickname" id="nickname" minlength="1" maxlength="32" required>
<label for="floatingInputValue">Nickname</label>
</div>
<section class="p-1"></section>
<div class="form-floating">
<input type="text" class="form-control bg-dark text-white" name="username" placeholder="Username with Identifier" id="username" minlength="2" maxlength="37" required>
<label for="floatingInputValue">Username with Identifier</label>
</div>
<hr width="100%">
<p class="mono-header pt-1">About Me</p>
<div class="form-floating">
<textarea class="form-control bg-dark text-white aboutmetextarea" placeholder="About me" name="aboutme" id="aboutme" maxlength="190" required></textarea>
<label for="floatingTextarea2">About Me</label>
</div>
into a larger text (on the location of the ----------):
<div class="nickname-name">
<p class ="fakeginto prewrap" style="font-size: 20px; color: white; margin-bottom: 0px;" id="nickname">----------</p>
<p class ="prewrap" style="font-size: 14px; color: #B9BBBE; margin-bottom: 0px; font-weight: 500;" id="username">----------</p>
</div>
</div>
<div class="lineinbetween"><div class="lineline"></div></div>
<div class="aboutme">
<p class="aboutmeheader fakeginto">ABOUT ME</p>
<p class="aboutmetext opensans" id="aboutmeresult">----------</p>
</div>
And then get the total thing to be inserted into a <textarea>
.
What's the easiest way to do this using javascript? I have no idea where to start with this since im quite new to JS.
` part. If that makes it clearer?
– nbeerten Jul 21 '21 at 10:24