How to check wheather css or html file has error in code or not?


#1

body{
font-family: ‘Lato’, sans-serif;
background-color: #011627;
color: #FDFFFC;
text-align: center;
border: 40px solid #2EC486;
border-top: 0px;
margin: 0px;
}

p{
padding-top: 5%;
padding-left: 20%;
padding-right: 20%;
}
form{
font-size: 1.5em;
margin-bottom: 10px;
}
#sub{
background-color: inherit;
height: auto;
margin: auto;
margin-top: auto;
font-size: 1em;
border-radius: 25px;
}

Project1

Welcome to the landing page!

We're startup that is cool!

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

Lorem ipsum dolor sit amet, consectetur adipisicing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.

 <h2>Sign up for  our launch!</h2>

 <form class="emailform" action="thankyou.html" method="get">

   <label for="first">First Name:</label><br>
   <input type="text" name="first" value=""><br>

   <label for="last">Last Name:</label><br>
   <input type="text" name="last" value=""><br>

   <label for="email">Email:</label><br>
   <input type="text" name="email" value=""><br>

    <input id ='sub' type="submit" name="" value="Sign Me Up!">


 </form>
I am able to run these code on firefox but if i am running css code then that code will not work in html file

#2

You should not paste unformatted code into this forum software (since it parses HTML natively). You should, instead, post a screenshot of your Atom window so that we can see exactly what you see for both files.