eda w3 code samples