+ 3
[SOLVED] A silly problem, for advance coders :)
Hi! I just finished my HTML course in SoloLearn, and I've been working on my blog project. Someone mentioned that my blog (even though is not a "real" blog, just an exercise) wasn't compliant with the new GDPR laws. So long story short, I decided to add a line of code with a checkbox to ask the "visitor" to give me consent to have his or her email address. When I run the code this annoying gap between the check box and the text appears... I've tried different ways to fix it, but nothing works. Can someone please help me :P Here's the link to my code, thanks! https://code.sololearn.com/WgdLxUr0Aq91/#html
2 Réponses
+ 4
The reason for the gap- the consent check box shares CSS attributes with the rest of the inputs and text area where the width is at 70%.
Gave the checkbox an Id (consent)
https://code.sololearn.com/WUgoC551BUmH/#css
+ 1
YAY! I get it now.. 😂 You're are my hero!! Thanks!!! 🙏😌💙