Freewrite: Web Jam Session
Today's Plan
- Welcome and Introductions
- Intro to Mixr
- HTML recap
- CSS styling
- Positioning
- Getting it online
- Web zine jam session
Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
fetch("cal.tsv") | |
.then((response) => response.text()) | |
.then((data) => { | |
//split text file by newline and tab | |
//thanks to stackoverflow https://stackoverflow.com/questions/47876718/splitting-text-file-by-newlines-and-tab-in-javascript | |
timetable_data = data.split("\n").map(function (ln) { | |
return ln.split("\t"); | |
}); | |
//returns array of timetable data by line, separated on each line by tab separated value |
<!DOCTYPE html> | |
<html lang="en"> | |
<head> | |
<title>Fengari test</title> | |
<script src="fengari-web.js"></script> | |
</head> | |
<body> | |
<script src="main.lua" type="application/lua" async></script> | |
</body> |
<!DOCTYPE html> | |
<html> | |
<head> | |
<style> | |
.grid-container { | |
display: grid; | |
gap: 10px; | |
background-color: #2196F3; | |
padding: 10px; | |
grid: |
{ | |
"defaultStations": [ | |
{ | |
"title": "New Sounds", | |
"website": "https://www.npr.org/podcasts/381443878/new-sounds", | |
"streamUrl": "http://q2stream.wqxr.org/q2-tunein.aac", | |
"logoUrl": "https://media.npr.org/images/podcasts/primary/icon_381443878-355b34df4de745149c75bc21dec389c3a823966d-s400-c85.webp" | |
}, | |
{ | |
"title": "WTRIP Radio", |
REM --- PIG Dice game test | |
REM --- Created: 2022-03-30 | |
REM --- Created for TinyBASIC implemented by cyningstan/Damian Gareth Walker | |
REM --- Variable List | |
REM | |
REM R - A random number returned by the Random Number Generator | |
REM D - Current die roll | |
REM T - TOTAL SAVED | |
LET T=0 |
Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
Play this game by pasting the script in http://www.puzzlescript.net/editor.html |
Play this game by pasting the script in http://www.puzzlescript.net/editor.html |