I am working on a Online Operating System. I need help. This doesn't work:
<html>
<head>
<title>pwiterOS</title>
<style type="text/css" src="pwiter.css">
</head>
<body>
<div id="alert">
<p id="white">LOG IN</p><br><br><br>
<form action="">
<fieldset>
<label>Username:</label><input type="text" name="id" size="10">
<label>Password:</label><input type="text" name="pass" size="10">
<button type="submit" onclick="check()">Enter</button>
</fieldset>
</form>
</div>
<script type="text/javascript">
var user = document.getElementById("id");
var pass = document.getElementById("pass");
if (user == "dev" && pass == "pwiter"){
</script>
<div id="bar"></div>
<div id="start">
<img src="start.jpg"><p>Start</p>
</div>
<script>
}
</script>
</body>
</head>CSS:
body {
background-image: img("bg.jpg");
background-repeat: y;
}
p {
color: #000;
}
#bar{
border: 2px black bold;
background-image: img("bar.jpg");
}
#start{
background: gray;
border: 2px black bold;
}
#menu{
background-image: img("wel.jpg");
}
#alert {
background-image: img("alert.jpg");
border: 1em black bold;
}
#white{
color: #000;
}
#start{
border: 1em black;
background-color: gray;
}If you would like to help, I'll give you the other resources.
Offline
First off, you would need lots and lots and lots and did i say lots of Javascript. So, if i were you, i would make files (.js) containing your code.
And second, It would be very limited, unless you made a way to write code to itself / to make your own code for it.
Sorry about how i phrased this, just couldn't find another way to put it.
Offline
Just to let you know, Advanced Topics is for topics that are advanced and related to Scratch, not for advanced things outside of Scratch.
If you are unsure of where to put your post, see this Scratch Wiki article.
I'll report this thread and hopefully a moderator will move it...

Offline
Are you trying to make a game engine out with javascript? My brother and I have made one that is pretty advanced (in my opinion). I've made minesweeper, a simple platformer, and together we've made pacman. Is this what you want?
Offline
I think I know how to fix it...
Offline