Public
Edited
May 19
Insert cell
Insert cell
Insert cell
Insert cell
carSmall = FileAttachment("car-small.jpg").image()
Insert cell
{
const myCar = {
color:'green',
size: 'small',
}
}
Insert cell
Insert cell
suv = FileAttachment("suv.jpg").image()
Insert cell
{

const yourCar = {

}
}
Insert cell
Insert cell
cokeDrink = FileAttachment("coke-drink.jpg").image()
Insert cell
// TODO: your code here
Insert cell
pack = FileAttachment("pack.jpg").image()
Insert cell
// TODO: your code here
Insert cell
zero = FileAttachment("zero.jpg").image()
Insert cell
// TODO: your code here
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
Insert cell
car = FileAttachment("car.jpg").image()
Insert cell
function canIPark( parkingSpace, carObj ){

if( parkingSpace.accessible_only && carObj.disabled_permit ){
return true
}else{
return false
}
}
Insert cell
myCar2 = ({
disabled_permit: true
})
Insert cell
parking = ({
accessible_only: true
})
Insert cell
canIPark( parking, myCar2 )
Insert cell
Insert cell
coke = FileAttachment("Coke.jpg").image()
Insert cell
// your code
Insert cell
Insert cell
money = FileAttachment("money.jpg").image()
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