Input design method

Hey, if you had an input design like the example in the image, would this be the sort of way you'd go about it, or is there an easier/more semantic solution? Perhaps anything unecessary i've included?

https://codepen.io/deerCabin/pen/NWZKoyy

I'd appreciate any tips, thanks in advance.
example.png
CodePenR
...
input example
Was this page helpful?