diff --git a/assets/exam css b/assets/exam css
new file mode 100644
index 0000000..46cd440
--- /dev/null
+++ b/assets/exam css
@@ -0,0 +1,3 @@
+body{
+ background;
+}
\ No newline at end of file
diff --git a/event.js b/event.js
new file mode 100644
index 0000000..c84f08e
--- /dev/null
+++ b/event.js
@@ -0,0 +1,45 @@
+var button = document.querySelector('#newsButton');
+button.addEventListener('click', doSomething);
+
+function doSomething() {
+ //if my
is showing hide it,else show it
+ var news = document.querySelector('#newsInfo');
+ if (news.style.display === 'none') {
+ news.style.display = 'block';
+ } else {
+ news.style.display = 'none';
+ }
+
+}
+
+
+var xhr = new XMLHttpRequest();
+xhr.onreadystatechange = function () {
+ if (xhr.readyState === 4) {
+ if (xhr.status === 200) {
+ var data = JSON.parse(xhr.responseText);
+ console.log(data)
+ var textBox = document.querySelector('#newsInfo');
+
+ for (var i = 0; i < data.length; i++) {
+ var heading = document.createElement('h2');
+ var paragraph = document.createElement('p');
+ heading.innerText = data[i].title;
+ paragraph.innerText = data[i].summary;
+ textBox.appendChild(heading);
+ textBox.appendChild(paragraph);
+
+ }
+
+ } else {
+
+ }
+ }
+}
+
+
+xhr.open('GET', 'https://private-e99507-kabaros.apiary-mock.com/news');
+xhr.send();
+
+console.log(xhr.status);
+console.log(xhr.statusText);
\ No newline at end of file
diff --git a/index.html b/index.html
new file mode 100644
index 0000000..b4fd7d5
--- /dev/null
+++ b/index.html
@@ -0,0 +1,70 @@
+
+
+
+
+
+
+
+
+ CYF
+
+
+
+
+
+ CYF
+
+
+
+
About CYF
+
+
+
What We Do
+
CYF is a fictitious company-Lorem Ipsum é um texto modelo da indústria tipográfica e de impressão. O Lorem Ipsum tem
+ vindo a ser o texto padrão usado por estas indústrias desde o ano de 1500, quando uma misturou os caracteres de um
+ texto para criar um espécime de livro. Este texto não só sobreviveu 5 séculos, mas também o salto para a tipografia
+ electrónica, mantendo-se essencialmente inalterada
+
Ao contrário da crença popular, o Lorem Ipsum não é simplesmente texto aleatório. Tem raízes numa peça de literatura
+ clássica em Latim, de 45 AC, tornando-o com mais de 2000 anos. Richard McClintock, um professor de Latim no Colégio
+ Hampden-Sydney, na Virgínia, procurou uma das palavras em Latim mais obscuras (consectetur) numa passagem Lorem Ipsum,
+ e atravessando as cidades do mundo na literatura clássica, descobriu a sua origem.
+
+
More Information
+
For more information about our producsts and services,please contact us using the form below