One suggestion is to apply the gradient to the body tag instead of the div with id=“grad”. Currently, there is a white background below your div with id=“grad”. The other option is to add min-height: 100vh; to the #grad definition.

Another suggestion you can apply to this and any other project you do, is to make use of Template Literals. The following code is hard to read with all the string concatenations.