I want to build a tool to use in game development, but not to run inside RPG Maker itself. My vast knowledge of Javascript involves adding something to the RM core scripts - I've never made anything that runs without them.
What I want to do is have a web page with some UI elements, detecting clicks, adding images.
I'm after some guides that I can download to get me started. I won't have internet access so need to grab as much as I can tonight / tomorrow morning.
Any suggestions?
It may (or may not) have been said already because I'm too lazy to read through all the replies, but given that you have a solid foundation for understanding the basics of JS (how to use variables, objects, functions, libraries, etc) you already have a pretty good leg up. I learned most of my web-based JS by googling stuff like "how to _____ in javascript," then clicking the MDN or StackOverflow link. To point you in roughly the right direction, based on what you specifically mentioned:
Detecting clicks:
someHTMLElement.addEventListener("click", someOnClickFunction);
function someOnClickFunction(e)
{
console.log("This was inside the clicked element: " + e.currentTarget.innerHTML);
};
Adding images:
Lots of ways to do this really, anything from using the canvas element to a nice, low-effort innerHTML, like so:
someHTMLElement.innerHTML = "<img src='butts.jpg' />";
Also might be useful:
// HTMLElement you want to create dynamically
let x = document.createElement("div");
// get existing element with id tag property "whatever"
let y = document.getElementById("whatever");
// add your new HTMLElement x to existing HTMLElement y
y.appendChild(x);
// set an HTMLElement's id tag or other attribute
x.id = "whatever"; // easier
x.setAttribute("id", "whatever"); // safer