Public
Edited
Jul 6, 2023
Paused
Fork of Fancy Wordle
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
// #23: July 4, 2023
makeFancyConnections(`Connections
Puzzle #23
🟨🟦🟨🟨
🟦🟦🟦🟦
🟩🟩🟩🟩
🟨🟨🟨🟨
🟪🟪🟪🟪`, {yellow: "🎸", green: "🕺", blue: "📖", purple: "🔗"})
Insert cell
Insert cell
// replace wordle emojis with whatevs
function makeFancyConnections(inputString, {blue="🟦", yellow="🟨", green="🟩", purple="🟪"} = {}) {

const result = inputString
.replace(/🟦/g, blue)
.replace(/🟨/g, yellow)
.replace(/🟩/g, green)
.replace(/🟪/g, purple);
return result;
}

Insert cell
Insert cell
Insert cell

Purpose-built for displays of data

Observable is your go-to platform for exploring data and creating expressive data visualizations. Use reactive JavaScript notebooks for prototyping and a collaborative canvas for visual data exploration and dashboard creation.
Learn more