-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathai chat.txt
More file actions
64 lines (45 loc) · 3.64 KB
/
Copy pathai chat.txt
File metadata and controls
64 lines (45 loc) · 3.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
I want to code a drum machine using css html and javascript. Important: i only use plain javascript. No framework.
At the end we will have 7 rows with 8 columns.
But let's start with a minimal implementation first.
In your first message you will only code html and css into a single file. No javascript yet! We first need to implement how it will look like before we implement the real functions.
The first minimal implementation needs to have a play and a stop button on top.
Below:
one row (with 8 buttons) with the name "placeholder" to its right.
below that we will have 6 more rows. on the right they later will display a filename. For now we are just numbering them 1 to 6.
to the left of the 6 rows we will have a smaller button. That button will be used to load in a sample file later on.
How do the rows look like? They are like larger square toggle buttons with rounded edges. After clicking on them they change their color from white to orange.
The row buttons have a border that for now stays white. In the future that border will change color when a sample is played.
The background of the entire application will be dark grey for now.
Use white text so it can be read on the dark grey background.
In the future there will be a light and dark mode.
If you are unsure of how to implement anything or i am unclear in my instruction then ask for clarification. I am a professional programmer and can help you with everything. Code quality is important.
#######
Looks quite good. I need one change. The first row needs to be aligned with the other 6 tracks.
Currently it is not due to it being the only one not having the button to add a sample.
The first row still does not need an add sample button because it will have a different usage but it does need to be aligned with the other rows.
#######
That is good.
Now we need an additional row on the bottom.
It also needs to be aligned with the others but have no add file button.
This row is only made up out of very small white circles.
Later on they indicate which column is played currently and the circle of the currently played column will change it's color briefly.
Here is my current file that you can edit:
-------
-----
I want to code a drum machine using css html and javascript. Important: i only use plain javascript. No framework.
At the end we will have 7 rows with 8 columns.
But let's start with a minimal implementation first.
In your first message you only code html and css into a single file. No javascript yet! We first need to implement how it will look like before we implement the real functions.
The first minimal implementation needs to have a play and a stop button on top.
Below:
one row (with 8 buttons) with the name "placeholder" to its right.
below that we will have 6 more rows. on the right they later will display a filename. For now we are just numbering them 1 to 6.
to the left of the 6 rows we will have a smaller button. That button will be used to load in a sample file later on.
How do the rows look like? They are like larger square toggle buttons with rounded edges. After clicking on them they change their color from white to orange.
The row buttons have a border that for now stays white. In the future that border will change color when a sample is played.
The background of the entire application will be dark grey for now.
Use white text so it can be read on the dark grey background.
In the future there will be a light and dark mode.
If you are unsure of how to implement anything or i am unclear in my instruction then ask for clarification. I am a professional programmer and can help you with everything. Code quality is important.
First check if my current code is okay or overloaded.
-----