Puzzle Tab
- 3 Devlogs
- 2 Total hours
I am building a new tab project for the new tab mission. My plans for this include a weather overview, a background image, puzzles such as a wordle,
I am building a new tab project for the new tab mission. My plans for this include a weather overview, a background image, puzzles such as a wordle,
I have added a cool patterned background, and also a logo for this tab.
I have also now added the raw search suggestions using duckduckgo api, and a cloudflare worker to get around CORS issue
export default {
async fetch(request) {
const url = new URL(request.url);
const query = url.searchParams.get("q");
const response = await fetch(
`https://duckduckgo.com/ac/?q=${encodeURIComponent(query || "")}`,
);
return new Response(await response.text(), {
headers: {
"Content-Type": "application/json",
"Access-Control-Allow-Origin": "*",
},
});
},
};
I need to actually build the UI for it now