JSFiddle - React, Tailwind, and code Playground

HTML

<input class="left" type="submit" value="Import" id="import">
                <label class="right" for="import">Question 1 </label><br><br><br>
                
                <label class="left" for="questionNo">Total Question Number: </label>
                <input class="right" type="number" id="questionNo" autocomplete="off"><br>
                
                <label class="left" for="questionType">Select Question Type: </label>
                <select class="right" id = "questionType">
                       <option value = "single">Single Selection</option>
                       <option value = "multiple" selected>Multiple Selection</option>
                       <option value = "slider">Slide</option>
                       <option value = "textArea">Text Area</option>
                </select> <br>
                
                <label class="left" for="questionText">Question Text: </label>
                <textarea rows="3" class="right"  id="questionText"></textarea><br><br><br>
                
                <label class="left" for="choiceNum">Number of Choices: </label>
                <input class="right" type="number" id="choiceNum" value="3" autocomplete="off"><br>
                
                <label class="left" for="choiceNo1">Choice 1: </label>
                <input class="right" type="text" id="choiceNo1" autocomplete="off"><br>
                
                <label class="left" for="choiceNo2">Choice 2: </label>
                <input class="right" type="text" id="choiceNo2" autocomplete="off"><br>
                
                <label class="left" for="choiceNo3">Choice 3: </label>
                <input class="right" type="text" id="choiceNo3" autocomplete="off"><br><br><br>
                
                <input class="left" type="submit" value="Homepage" id="import">
                <input class="right" type="submit" value="Submit Question" id="import">

CSS

.left
        {
            position:relative;
            left:10px;
        }
        
        .right
        {
            position:fixed;
            left:300px;
        }