Welcome aboard! We are happy you are here and wish you good net-raft!
<!DOCTYPE html>
<html>
<body>
<div id="test"></div>
<script>
myFunction([
{
"display": "Net-Raft.com",
"url": "https://net-raft.com"
}
]);
function myFunction(arr) {
var output = "";
var y;
for(y = 0; y<arr.length; y ) {
output = '<a href="' arr[y].url '">'
arr[y].display '</a><br>';
}
document.getElementById("test").innerHTML = output;
}
</script>
<script src="Script.js"></script>
</body>
</html>
The most helpful JAVASCRIPT solutions
How can I get the last day and the next day in javascript ?JAVASCRIPT Click to see more ... 5.8K 507