Html – Creating buttons that hide their respective paragraph
I'm a newbie to HTML, CSS and JavaScript and I'd like some help. Let say I have 3 buttons and 3 paragraphs <head> <style> .hidden { display: none; } </style> </head> <body> <button>A</button> <button>B</button> <button>C</button> <br> <p>A</p> <p>B</p> <p>C</p> </body>…