Activity

codingShark

Shipped this project!

Hours: 35.43
Cookies: 🍪 633
Multiplier: 17.88 cookies/hr

I made a bento box, this was because at that time I was hungry but didn’t know what to make, so because I was too lazy to cook I made a website where you have to solve the quiz to open the menu recipe! Initially I made this project in React, but because it was too difficult to create router-dom I moved the entire project to Svelte, here it was very, very difficult because the code in React was very long, when I moved it to Svelte there was a lot of code that only needed to be short even though the language was really similar, but in the end I succeeded! This is very fun! Let me know if you like it or want more!

codingShark

this time it’s all done! I’ve fixed the bug on the navbar and buttons!
I also added slightly longer instructions! then change some food states! Maybe that’s it for now, in the next ship I’ll add music and more complete recipes!

Attachment
Attachment
Attachment
0
codingShark

I’ve finished creating the 404 page not found section for the recipe page! so you can only see recipes that are already open!

Attachment
0
codingShark

I just added 10 more questions!
Now the question is about protein, I’ve also added it in 2 languages!

Attachment
0
codingShark

everything is ready, hopefully it works as expected! I really didn’t expect this to happen!

Attachment
0
codingShark
revealedMeal = {
    name: { id: "Makanan Gosong", en: "Burnt Food" },
    image: "/emp.png", // Pastikan ada gambarnya di folder static
    id: "burnt"
 };

This is what will be displayed if you answer all the questions wrong! so try to answer all of them correctly and see what menu you will get!
Here there are a total of 20 menus that you can get!! and only one super rare!
let me know if you get it!

Attachment
0
codingShark

this is what the recipe page will look like, maybe the image isn’t right hehe because looking for the image is quite tiring, also typing it even though this is a very very concise one

Each menu has its own status, such as rare, super rare, average and common! it depends on how lucky you are!

Attachment
0
codingShark

This will be part of the cooking test, you will only be asked simple questions, in the next devlog I will make a sample question page!

Attachment
0
codingShark

everything is almost finished, I forgot to say in the previous devlog about including a recipe menu here I have written very, very many menus, and the prices listed are just for fun, don’t take it seriously hehe

Attachment
0
codingShark

I made a menu section like this so if you want to add a recipe menu you have to cook! not but a cooking competition!! I plan to use the API from TheMealDB because it is free and easy to use

I also added logic so that the menu remains saved even if you exit the browser

const storedRecipes = browser ? JSON.parse(localStorage.getItem(‘cookedRecipes’) || ‘[]’) : [];

export const cookedRecipes = writable(storedRecipes);

// Setiap kali store berubah, simpan ke localStorage
if (browser) {
cookedRecipes.subscribe((value) => {
localStorage.setItem(‘cookedRecipes’, JSON.stringify(value));
});
}

Attachment
0
codingShark

I’m migrating a project from React to Svelte, because I feel more familiar with Svelte!

I moved it from React because I think DOM in React is quite difficult, whereas in Svelte to move pages you only need to use the folder name like this

<li>
  <a href="/menu">{home[$language]}</a>
</li>
Attachment
0
codingShark

Shipped this project!

Hours: 18.78
Cookies: 🍪 138
Multiplier: 7.33 cookies/hr

I made a clowncard as a physical project, namely an NFC card and a clown license keychain. There are 2 types of websites that I need to create, namely a product introduction website (this one) and a website specifically for the ‘clownbase’ page, but this one can only be accessed/or has a page if you have a clown license card! So far it’s not that challenging because what will be difficult is later when I create the Clownbase website, here I learned about layouting, flex-direction and I discovered that in CSS you can use Clippy to create simple shapes, that’s it for this journal, I hope you have a nice day!

from codingShark - the funny clown

codingShark

this time everything is done, I added the function of changing the card model when pressed, if you press the card with clown model A it will change to clown model B, when pressed it will make a beep sound, here is the code I used:
const logo = document.getElementById(‘rotate’);
const flip = new Audio(‘assets/audio/dot.wav’);

    const images = [
        'assets/gy2.png',
        'assets/gy1.png',
        'assets/gy3.png',
    ]

    let currentIndex = 0;

    logo, addEventListener('click', () => {
        currentIndex = (currentIndex + 1) % images.length;

        logo.src = images[currentIndex];
        flip.currentTime = 0;
        flip.play()
    });

I have also included a fillout link and also a link to the PDF, everything is ready complete with indicators that change on each page, namely [star, rhombus, cross, triangle].
Let’s talk a little about what I made, this is a website to show the product, not an NFC website for the product, CLOWNCARD is a card equipped with NFC that takes you to a special website called clownbase, there you can find fellow clowncard users if you tap the card with them, it also has a keychain and sticker (if you’re lucky).

Attachment
Attachment
Attachment
Attachment
0
codingShark

At first I changed the scroll indicator to just a star shape for everything but I felt it wasn’t ‘clownish’ enough and just looked monotonous so I googled how to make various shapes in CSS, finally I found clippy! and I made each indicator have its own shape. I modified the code like this

.indicator-dot.active {
    height: 18px;
    width: 18px;
    clip-path: polygon(50% 0%, 65% 35%, 100% 40%, 75% 65%, 80% 100%, 50% 80%, 20% 100%, 25% 65%, 0% 40%, 35% 35%);
    background-color: var(–color-text);
    border-color: var(–color-text);
}

.indicator-dot.active[data-section=“1”] {
    clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%);
}

.indicator-dot.active[data-section=“2”] {
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
}

.indicator-dot.active[data-section=“3”] {
    clip-path: polygon(20% 0%, 0% 20%, 30% 50%, 0% 80%, 20% 100%, 50% 70%, 80% 100%, 100% 80%, 70% 50%, 100% 20%, 80% 0%, 50% 30%);
gimana

Attachment
Attachment
Attachment
Attachment
0
codingShark

I just added a PDF for more knowledge about clowncard, I put the link to the pdf under the “how it works” section.
here I put a big explanation about what clowncard is, what is the physical item, what is the digital experience, what are the features and who is it suitable for.

Attachment
Attachment
0
codingShark

I’ve changed the layout of the indicators, and added one additional page, each with a new title, such as “what is it” “how does it work”, “tell me more” and “get yours”.

Attachment
Attachment
0
codingShark

So today I changed some of the appearance such as the location of the scroll indicator, and I also added some additional illustrations that I made in Canva and Procreate, actually this took the most time but unfortunately I didn’t use lapse.
I also tidied up the UI for the first page.

Attachment
Attachment
0
codingShark

Shipped this project!

Hours: 15.83
Cookies: 🍪 29
Multiplier: 1.86 cookies/hr

so I made a pomodoro, for basics I followed the tutorial because I was very confused about how to make a full circle over time, it was very difficult, before I was also confused because I always got an error when trying the API but it turned out to be because I forgot to include async! It turned out to be a trivial problem, I finally managed to do it!

codingShark

it’s been few days i forgot to do devlog, here i add music player, shark image API, quotes API and moodList

Attachment
0
codingShark

remake some layout and change to another fonts

Attachment
0
codingShark

i forked the feature from bakebuild and draw the components by my self

Attachment
0
codingShark

i currently start with very basic pomodoro timer, (shark and blue themed) with 25 minutes work and 5 minutes break for each cycle and start | pause | stop button under it

Attachment
0
codingShark

create menu data with menu.js to make it easier to see the menu

Attachment
0
codingShark

fixing the code to add dom it’s been few hours, finally the page works again

Attachment
0
codingShark

i messed all omg

Attachment
0
codingShark

so here i still learn about combining loading and browser-route, i need to learn now and make some pages, actually menu pages

Attachment
0
codingShark

so i just add more features in here
i add language switcher and currency switcher
i add ‘staff picks’ section and FaQ question, change the font and give more pixel kitchen look

Attachment
0
codingShark

Shipped this project!

Hours: 8.46
Cookies: 🍪 63
Multiplier: 7.5 cookies/hr

i add more commands in this liveterminal website by cveinnt!

so this is my first time doing ‘fork’ in github, i usually work with python or javascript and this is first time i use typescript! WAWW IT IS NOT THAT BAD, yea similar with javascript, i learn to write it by learning for his previous project! so i use it as example then googling then made my own command! hhehe i learn by doing, ily HACKCLUB! DEYM I USED TO STUCK IN ONE LANGUAGE AND BOOK BUT…NOW I COULD MAKE MY OWN PROJECTS AND UNDERSTAND MORE THAN ONE LANGUAGE AAAAA WISH I MET THIS SINCE I WAS 14

so i learn new language, new github things, new framework, domain management, buying with card? hhahah yes yes

codingShark

can’t believe i write my own motivation quote..not yet, it still albert einstein

Attachment
0
codingShark

just make a cleaner code still thinking about navbar

Attachment
0
codingShark

fixing layout! add loading animation and some more

Attachment
1

Comments

codingShark
codingShark 3 months ago

going to fix the navbar soon! thank u @bgtulk!

codingShark

cleaning the code(?) i just re-write the function

Attachment
0
codingShark

soo i add some moree

Attachment
1

Comments

bgtulk
bgtulk 4 months ago

Looks good!, Maybe think something for the nav bar text because is lil hard to read.
Maybe make the nav bar like a Hanging sign from the top, will look good(my opinion)

codingShark

so i already made its background (made it on aseprite) and navbar

Attachment
0