Hey!
I’m trying to add a image to my page, but I can’t figure out how to get the src for it (it’s in my PC)
<h1 id="MainText"></h1>
<h2 id="MainText2" ></h2>
<body>
<img src="got em3.png" width="400" height="200"> <br>
</body>
<p id ="ColouredText" style="color:red; font-family: sans-serif;">
<script>
const theHeader = document.getElementById("MainText")
const ColouredText = document.getElementById("ColouredText")
const RandomNum = Math.random()
console.log(RandomNum)
theHeader.textContent = "Random number of the day: " + RandomNum
ColouredText.textContent = "wow"
</script>
Path (if you need it)
C:\Users\capta\Downloads\The_Rake_Files\New folder\got em3.png