What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-09-14 21:49:02
discord.js ticket system
const discord = require("discord.js"); module.exports.run = async (bot, message, args) => { // ID from the catogory channel tickets. const categoryId = "644626077704257546"; // Get username var userName = message.... Add solution -
Javascript 2021-09-14 13:16:03
javascript foreach object
const students = { adam: {age: 20}, kevin: {age: 22}, }; Object.entries(students).forEach(student => { // key: student[0] // value: student[1] console.log(`Student: ${student[0]} is ${student[1].age} years old`); }); /* Output: Student: adam... Add solution -
Javascript 2021-09-14 10:30:02
js object for each
const students = { adam: {age: 20}, kevin: {age: 22}, }; Object.entries(students).forEach(student => { // key: student[0] // value: student[1] console.log(`Student: ${student[0]} is ${student[1].age} years old`); }); /* Output: Student: adam... Add solution -
Javascript 2021-09-13 23:52:02
How can I display an image and text from an array on a webpage? Ask Question
var info = { myImages: [], addImage: function(imageBlob) { this.myImages.push(imageBlob); }, addInfo: function(artist, title) { this.myImages.push({ artist: artist, title: title }); ... Add solution -
PHP 2021-09-13 19:05:02
view uploaded pdf file in php
<html> <head> <title> FORM </title> </head> <body align="left"> <h1> FILE UPLOAD </h1> <form action = "term5b.php" method = "POST" enctype="multipart/form-data"/&... Add solution