Asraful0312 / css-simple-animation-snippets-extention

0 stars 0 forks source link

I need help adding html elements to the code #1

Open RIPISDRAD opened 2 months ago

RIPISDRAD commented 2 months ago

hi guys its not an issue just want a help how can i add a html to the vscodes code u guys made it so js and css could be added or changed i know want to add html elements what should i do? i need canvas for what i want so what should i do? or is it even possible

Asraful0312 commented 2 months ago

Hi! Thanks for reaching out.

Yes, you can add HTML to the snippets, just like with JS and CSS. If you'd like to add a element or any other HTML content, you can create a new snippet for HTML. You can watch this video to learn how to create your own HTML snippets: https://youtu.be/ahs6kXMGYTU?si=RUxZsn8OzKZ8-GoC

After watching the video, you can create a snippet for a basic element using this code:

"Canvas Element": { "prefix": "canvas", "body": [ "<canvas id=\"$1\" width=\"$2\" height=\"$3\">" ], "description": "Creates a canvas element" }

This snippet will allow you to type the prefix canvas, and it will generate a basic canvas element for you.

On Sun, Sep 29, 2024, 7:59 PM RIPISDRAD @.***> wrote:

hi guys its not an issue just want a help how can i add a html to the vscodes code u guys made it so js and css could be added or changed i know want to add html elements what should i do? i need canvas for what i want so what should i do? or is it even possible

— Reply to this email directly, view it on GitHub https://github.com/Asraful0312/css-simple-animation-snippets-extention/issues/1, or unsubscribe https://github.com/notifications/unsubscribe-auth/BE4U2M3PMHSN5OBHL66PVTDZZABVFAVCNFSM6AAAAABPBXVHZ2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGU2TIOJVGAZDOMA . You are receiving this because you are subscribed to this thread.Message ID: @.*** com>

RIPISDRAD commented 2 months ago

not other html content im not gonna make a canvas in my sth.html i want it in vscodes code like the app code i want it to be inserted there

On Sun, Sep 29, 2024 at 6:06 PM Asraful Islam @.***> wrote:

Hi! Thanks for reaching out.

Yes, you can add HTML to the snippets, just like with JS and CSS. If you'd like to add a element or any other HTML content, you can create a new snippet for HTML. You can watch this video to learn how to create your own HTML snippets: https://youtu.be/ahs6kXMGYTU?si=RUxZsn8OzKZ8-GoC

After watching the video, you can create a snippet for a basic element using this code:

"Canvas Element": { "prefix": "canvas", "body": [ "<canvas id=\"$1\" width=\"$2\" height=\"$3\">" ], "description": "Creates a canvas element" }

This snippet will allow you to type the prefix canvas, and it will generate a basic canvas element for you.

On Sun, Sep 29, 2024, 7:59 PM RIPISDRAD @.***> wrote:

hi guys its not an issue just want a help how can i add a html to the vscodes code u guys made it so js and css could be added or changed i know want to add html elements what should i do? i need canvas for what i want so what should i do? or is it even possible

— Reply to this email directly, view it on GitHub < https://github.com/Asraful0312/css-simple-animation-snippets-extention/issues/1>,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/BE4U2M3PMHSN5OBHL66PVTDZZABVFAVCNFSM6AAAAABPBXVHZ2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGU2TIOJVGAZDOMA>

. You are receiving this because you are subscribed to this thread.Message ID: @.*** com>

— Reply to this email directly, view it on GitHub https://github.com/Asraful0312/css-simple-animation-snippets-extention/issues/1#issuecomment-2381381945, or unsubscribe https://github.com/notifications/unsubscribe-auth/ASHNDQE3NBCNEPPRA6MW4CTZZAF53AVCNFSM6AAAAABPBXVHZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBRGM4DCOJUGU . You are receiving this because you authored the thread.Message ID: <Asraful0312/css-simple-animation-snippets-extention/issues/1/2381381945@ github.com>

Asraful0312 commented 2 months ago

Sorry, I couldn’t understand exactly what you want, but if you're trying to create your own snippet locally in VS Code, you can watch this video: https://youtu.be/TGh2NpCIDlc?si=eElwz6azjYUxhPY0.

On Sun, Sep 29, 2024, 8:54 PM RIPISDRAD @.***> wrote:

not other html content im not gonna make a canvas in my sth.html i want it in vscodes code like the app code i want it to be inserted there

On Sun, Sep 29, 2024 at 6:06 PM Asraful Islam @.***> wrote:

Hi! Thanks for reaching out.

Yes, you can add HTML to the snippets, just like with JS and CSS. If you'd like to add a element or any other HTML content, you can create a new snippet for HTML. You can watch this video to learn how to create your own HTML snippets: https://youtu.be/ahs6kXMGYTU?si=RUxZsn8OzKZ8-GoC

After watching the video, you can create a snippet for a basic element using this code:

"Canvas Element": { "prefix": "canvas", "body": [ "<canvas id=\"$1\" width=\"$2\" height=\"$3\">" ], "description": "Creates a canvas element" }

This snippet will allow you to type the prefix canvas, and it will generate a basic canvas element for you.

On Sun, Sep 29, 2024, 7:59 PM RIPISDRAD @.***> wrote:

hi guys its not an issue just want a help how can i add a html to the vscodes code u guys made it so js and css could be added or changed i know want to add html elements what should i do? i need canvas for what i want so what should i do? or is it even possible

— Reply to this email directly, view it on GitHub <

https://github.com/Asraful0312/css-simple-animation-snippets-extention/issues/1>,

or unsubscribe <

https://github.com/notifications/unsubscribe-auth/BE4U2M3PMHSN5OBHL66PVTDZZABVFAVCNFSM6AAAAABPBXVHZ2VHI2DSMVQWIX3LMV43ASLTON2WKOZSGU2TIOJVGAZDOMA>

. You are receiving this because you are subscribed to this thread.Message ID: @.*** com>

— Reply to this email directly, view it on GitHub < https://github.com/Asraful0312/css-simple-animation-snippets-extention/issues/1#issuecomment-2381381945>,

or unsubscribe < https://github.com/notifications/unsubscribe-auth/ASHNDQE3NBCNEPPRA6MW4CTZZAF53AVCNFSM6AAAAABPBXVHZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBRGM4DCOJUGU>

. You are receiving this because you authored the thread.Message ID: <Asraful0312/css-simple-animation-snippets-extention/issues/1/2381381945@ github.com>

— Reply to this email directly, view it on GitHub https://github.com/Asraful0312/css-simple-animation-snippets-extention/issues/1#issuecomment-2381387658, or unsubscribe https://github.com/notifications/unsubscribe-auth/BE4U2MZYWQ7OU2M6DNXMKDLZZAIC7AVCNFSM6AAAAABPBXVHZ2VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDGOBRGM4DONRVHA . You are receiving this because you commented.Message ID: <Asraful0312/css-simple-animation-snippets-extention/issues/1/2381387658@ github.com>