While doing this lesson i didn’t get if i had to write a question or not, i’m testing it now.Does the code have any problems?

* {
	margin: 0;
	padding: 0;

html, body {
	height: 100%;
	width: 100%;

body {
	align-items: center;
  background-color: #FFF;
	display: flex;
	font-family: 'Raleway', sans-serif;
	flex-direction: column;
	justify-content: center;
	overflow: hidden;

div.container {
	align-items: center;
	align-self: center;
	background: url('') center center;
	border-radius: 100%;
	display: flex;
	flex-direction: column;
	min-height: 800px;
	justify-content: center;
	width: 800px;

h1 {
  color: #fff;
  font-family: 'Playfair Display', serif;
  font-size: 52px;
  font-weight: 900;
  line-height: 46px;
  margin: 0 0 60px 0;
  text-align: center;
  text-shadow: 0px 2px 4px rgba(34,62,66,.75);
  width: 50%;

a.btn {
	background: linear-gradient(45deg, rgba(255,184,115,0.65) 0%,rgba(255,124,189,0.65) 50%,rgba(108,0,153,0.65) 100%);
	border-radius: 2px;
	box-shadow: 0px 2px 4px rgba(34,62,66,.25);
  color: #fff;
  font-size: 18px;
  letter-spacing: 1px;
  padding: 16px 32px;
  text-decoration: none;
  text-transform: uppercase;
  -webkit-transition: box-shadow 1s ease;
	transition: box-shadow 1s ease;

a.btn:hover {
	box-shadow: 0px 4px 4px rgba(34,62,66,.5);
	-webkit-transition: box-shadow 1s ease;
	transition: box-shadow 1s ease;


w3c (which make the web recommendations) has a validation tool:

ideal for this sort of scenarios.


Hi gabimendes,

welcome to Codecademy and the HTML & CSS course!

In the first exercise you don’t have to write a question, and you can leave the CSS file contents as is, which is the code you shared. The intent of the first exercise is to enter your name in the HTML file (try clicking index.html at the top) and adding your name between the <h1> and </h1> text.

Hope that makes sense, let me know if it doesn’t!


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.