Type JavaScript, then Shift-Enter. Ctrl-space for more options. Arrow ↑/↓ to switch modes.
addRhyme=function(word){
letres=RiTa.rhymes(word);// get the rhymes
returnword+' rhymes with '+RiTa.random(res);// append a random one
}
import{RiTa,rs}from'@dhowe/rita'
import{textarea,button}from"@jashkenas/inputs"
import{highlightRs}from'@dhowe/rshl'
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.