how come im just finding out that if u do a javascript variable that equals “’” it will convert stuff to a string this is baffling me cuz it seems like something i shoulda already knew
<script>
var per = "'";
const gameam = document.querySelector('#counter');
document.getElementById("gamearea").innerHTML = document.getElementById("gamearea").innerHTML + "<article><p class=gametitle>"+document.getElementById("gamenamer").value.toString()+"</p><img width=200 height=200 alt="+per+document.getElementById("gamedesc").value.toString()+per+"src="+per+document.getElementById("imagegiver").value.toString()+per+"/></article>";
//the game description needs work
</script>
like bruuuh it came out rly well and now game making kinda works on my website