% -*- mode: latex; -*- mustache tags:  
\ifx\wholebook\relax\else

	\documentclass[10pt,twoside,english]{root/support/latex/sbabook/sbabook}
  \usepackage{import}
  \subimport{root/support/latex/}{common.tex}

  \hypersetup{pdfinfo = {
    Title = {{Pharo Mooc}},
    Author = {},
    Keywords = {pharo, smalltalk}}}
  \begin{document}
\fi

\chapter{Challenge 0}
Using the Zinc HTTP library available by default in Pharo, get the pharo logo from \url{http://pharo.org/files/pharo.png}. Convert it into a morph and open it in Pharo. 
You should obtain something similar than the picture below.
\subsection{Hints:}
\begin{itemize}
\item The class \textcode{ZnEasy} offers several handy messages to ease HTTP requests.
\item The message \textcode{asMorph} converts low level graphical elements (form) into Morph (graphical objects).
\item The message \textcode{openInWorld} open graphical objects.
\end{itemize}


\begin{figure}

\begin{center}
\includegraphics[width=0.8\textwidth]{figures/PharoLogo.png}\caption{\label{figures/PharoLogo.png}}\end{center}
\end{figure}



\ifx\wholebook\relax\else
\end{document}
\fi