Answered step by step
Verified Expert Solution
Question
1 Approved Answer
Down below i have attached what my page looks like. this is an html file. within the html file i need to use javascript to
Down below i have attached what my page looks like. this is an html file. within the html file i need to use javascript to create an onclick button that when i click on it it says dismissed and if i click again it should say dismiss and so on. in total there are 4 button. I dont know how to write the javascript code so that it says dismiss and if i click dismissed and so on.
Price $16 A SIX.PANEL CAP WITH AN EMAROIDERED TREFOL LOGO. This six-panel hat offors a clansic basebal look. It s made of naturaly breathable cotton twill and detailed aith an embroidered Trefoll logo on the front, A cotton twoathand adds a soft, comfortable feel. Men's Hat ESSENTIALS LOGO FLEECE HOODIE Price 133 A GO-TO HDOCIE MADE FAOM SOFT FLEECE FABPIC. The nice thing about a hoodie is being able to mir and match it with everything. This one from adidas is cut from a soft fiecce fabric that's cory enough to weer every day. Pair it with jeans, or kees it mellow and match it with sweats. You cant go wrong. Category: Womens Hoode cuta charseterott-4t>? etitlenedintertitle div clatsw" costainer", bri ef- Taki ade classe"text-center" to the container div beloy alliv clance"tert-center", *i-ITaski had o tobel and a tert inout.I dir claser'cot-ad-pos ediviprice Madedirs nate als-giret het cedinithen's int yol. idivi I also need to include a class so that it looks red. i think i have to use btn danger for that. please help.
the only thing ive written so far for that button is
I also included part of my code in case it's needed.
remember the javascript code will be within the html file and what I need is 4 buttons. where it says dismiss it should say dismissed if I click on it and so on.
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started