mrowlsss @mrowlsss

can someone PLEASE give me some vanilla javascript code that will make a get request to https://api.wasteof.money/posts/64fa845c62c9b104f65962d4/ and display it as an <p> element on screen?

Sep 8, 2023, 3:17 AM
15
View all Parent

comments

Highlighted comment

hey im dumb how do i make #the_element? do i add “class=’#the_element’”?

no, # is for id (i.e., id="the_element). classes begin with . as opposed to #

oh ok i kinda forget some things after 3 months of not programming