This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
1: download and install node.js from https://nodejs.org/en/ | |
2: make a .js file and put code in it | |
3: search your apps for command prompt | |
4: type in cd + the location of your file. for example C:\Users\Nebelung\Downloads\index.js | |
5: type npm init and follow the steps to make your app | |
6: type npm install to install any packages | |
7: type node + file name. for example node index.js |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<link rel="icon"> | |
<input id="title" placeholder="Enter a title"> | |
<button onclick="setTitle()">Set</button> | |
<input id="icon" placeholder="Enter a favicon URL"> | |
<button onclick="setIcon()">Set</button> | |
<script> | |
function setTitle() { |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<button onclick="openTab()">Open</button> | |
<div id="popup"> | |
<p>anything in here is in the popup</p> | |
</div> | |
<script> | |
function openTab() { | |
var popup = document.getElementById("popup") | |
popup.classList.toggle("open") |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<body> | |
<h1>Some Text</h1> | |
<button onclick="toggleTheme()">Toggle Theme</button> | |
</body> | |
<style> | |
body { | |
--color: black; | |
--background: white; | |
background: var(--background); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<title>Proxathon</title> | |
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.1.1/css/all.min.css"> | |
<div class="header"> | |
<img class="homelogo" src=""> | |
</div> | |
<div class="hometitle">Proxathon</div> | |
<div class="omnibox"> |