Hey everyone,

I want to make a function

Which can provider user to pay certain amount and with one choice(between true and false).

How can i do it in solidity?

As receive() doesn't take any argument, i am stuck to save users choice

May 11, 2023, 7:13 AM
payable function
May 11, 2023, 7:27 AM
Thanks, now i can able to do what i want
May 11, 2023, 10:10 AM
no wait
you have to setthe breakpoints styles
like sm: md: lg: etc
I do desktop first but many recomend mobile first
May 11, 2023, 10:59 AM
by default i am not sure, first I made the Ui for desktop then when I went on to make the mobile ui it was just got all messed up
May 11, 2023, 12:20 PM
because you adapted the ui for desktop lol
May 11, 2023, 12:20 PM
😭ui is more confusing
May 11, 2023, 12:21 PM
it's simple
you code from desktop
if you want to code mobile first, then you have to use the chrome dev tool to set the size of the screen to a mobile one. Make the UI, then adapt it for bigger screens
May 11, 2023, 12:25 PM
how? where to find this chrome dev tool (ok I'm noob I admit)
May 11, 2023, 12:28 PM
oh
first thing? google
May 11, 2023, 12:29 PM
you're better thn google, no? 🙈
May 11, 2023, 12:29 PM
google has more free time
May 11, 2023, 12:29 PM
😢
okay I'll look for it, thanks again guys
May 11, 2023, 12:30 PM
right click on the page -> inspect but thats should be the basic
May 11, 2023, 1:24 PM
wasn't asking about tht
May 11, 2023, 1:27 PM
i think its better you use google
May 11, 2023, 1:37 PM
ok
May 11, 2023, 1:48 PM

© 2024 Draquery.com All rights reserved.