<?php
$test = 'test';
function something($string) {
echo $string;
}
something($test);
FROM scratch
echo 'hello world'
const myArray = [1, 2, 3, 4, 5, 6];
myArray.map(x => console.log(x * 2));
// a larger block of code that would be annoying to read at 600px width...
import React from 'react';
const UserList = ({ users }) => {
const userItems = users.map((user) => {
return <li key={user.id}>{user.name}</li>
});
return (
<ul>{userItems}</ul>
)
};
export default UserList;
this is some kind of intro text. it's great.
here is some inline code