Hogwarts is a fictional setting created by a writer of a young adult fantasy series.
Harry Potter is a series of fantasy novels written by British author J. K. Rowling . Hogwarts School of Witchcraft and Wizardry , shortened Hogwarts , is a fictional British school of magic for students aged eleven to eighteen , and is the primary setting for the first six books in J.K. Rowling 's Harry Potter series . Joanne Rowling , ( [ ˈrəʊlɪŋ ] born 31 July 1965 ) , pen names J. K. Rowling and Robert Galbraith , is a British novelist , screenwriter and film producer best known as the author of the Harry Potter fantasy series .