Hello, I have some code written in a-frame (https://aframe.io) that can be found at https://jsfiddle.net/AidanYoung/h0cb1nq8/
And I'm trying to find a way to add an onclick event to the <a-entity id="lettersEntity" onclick='console.log("Hello")' geometry="primitive: plane; width: 2; height...
Good day
I am trying to get a total of two numbers.
The first number I need to get form my page (the number changes every few seconds (crypto clicker)
Second number will always be 35
This is the code I got after search, but do not know how to get it to work
<form>...
Hi,
I have these two functions which have mostly similar code.. so I want to combine them into one function.. any help appreciated.
previousMonthImg.onclick = function() {
if (!(monthSelect.value === "Jan" && yearSelect.value === "2010")) {
monthSelect.selectedIndex--;
if...
The goal of The Odin Project is to provide a complete path for students to go from zero programming knowledge to employed as web developers while working with other students and picking up the skills to become self sufficient along the way.
https://www.theodinproject.com
I have created an intranet through css and html. There is a particular page that has on it the schedule for each day.
At the moment i'm editing that page each day for them.
Is there a way to create a html page that will have a simple imbedded editor that you can just change the wording and...
Hi, Code Forum.
We're a medium-sized agency & we're starting to use different programming languages to get better page speeds.
We have had many people tell us that Python & Django is the way to go.
We have had others say that using Headless WordPress with a JS Language like, next.js would be...
i'm cannibalizing an example i found online to embed a simple js processing file in html, but the canvas is appearing blank for me. i have absolutely no html experience- just want to put a js file on a web browser.
here's the html file in case it's a simple issue
<!-- saved from...
Hi folks,
hope you are all well!
I have the below code running on a html. everytime i run it it also filters the header. could you kindly help.
thanking you inadvance.
<script>
function searchTable() {
var input, filter, found, table, tr, td, i, j;
input =...
Hi, I'm afraid this is probably very basic but I'm having a nightmare trying to fix it. After getting the input box to eventually display in the ctx fillText area and have now lost my image and the text overlays each time I type, any advice would be greatly appreciated.
<canvas id="myCanvas"...
I am a beginner to Javascript and struggling a lot with structuring and displaying my data. I have 4 arrays:
var iDs = [1234, 5678]
var sources = [[ABC, DEF, GHI], [ABC, DEF, GHI]]
var messages = [[[a, a,], [b ,b ], [c ,c]], [[aa, aa,], [bb ,bb ], [cc ,cc]]]
var time = [[[123, 456,], [789...
I am trying to make a grid where I have 3 different coloured squares the weeds being limited to 7 and the farmer being just 1 square. The rest of the grid is supposed to be green where there is not any of these other 2 blocks. Eventually I will have to use the collide(); in order for the...
I'm trying to create a slideshow that shows 4 images at a time, and then you can click arrows on the left and right to go to the next set of images. When I attempt to open my html file in google chrome, all the images stack on top of each other vertically instead of horizontally and my arrows...
I'm trying to create a dynamic live counter.
The counter needs to:
have some text before and after.
change live.
stay between 1 and 10.
change only by ±1.
have 2 to 10 second intervals between each update (Random but no longer than 10 and no less than 2 seconds between each update).
if...
So, I attempted three different ways to make an element disappear completely from the screen (displayed in the code below). Whenever I refresh the page, for each solution I tried, it has a glitch of some sort. By glitch, I mean, when I refresh the site, it shows the original text and quickly...
Your supposed to be able to click process and have all the information in the summary variable output to the textarea but it won't work, the clear button wont work either, I'm assuming its the form or the javascript that's causing the problem.
Any help would be greatly appreciated, THANK YOU...
Hello!
I am attempting to create an HTML5 Canvas with Drag and Drop. I got the dragging to work, but I would like to be able to drop my three objects in a box, then click a "Check" button which will show "correct" or "incorrect" depending the order in which they were dropped. I'm also...
Got a question for you. Is it possible to run a line of code, which will have the same outcome, if the host has disabled/modified it?
So here's where I'm stuck:
I attended Minecon back in 2015 (cringe ik) and I'm trying to force-apply this link that was issued out after the event finished (it...
hey, we're a coding community server for supportl, currently focussing on html, css and javascript.
We need people who ar good at coding in our server to help others, since there's a lot of people with questions. we have a pretty active discord with over 120 members and we're growing pretty...
I know how to use stripe now, but when I am integrating it into my website, the form takes me to index.php. Here is my code for my checkout.php:
<?php
session_start();
if (!isset($_SESSION['letin'])) {
header('Location: index.php');
exit();
} else {
if...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.