diff --git a/curriculum/challenges/arabic/07-scientific-computing-with-python/learn-interfaces-by-building-an-equation-solver/6675a38a8b535e4ff3274520.md b/curriculum/challenges/arabic/07-scientific-computing-with-python/learn-interfaces-by-building-an-equation-solver/6675a38a8b535e4ff3274520.md index cbadf97b11e..021b9af1671 100644 --- a/curriculum/challenges/arabic/07-scientific-computing-with-python/learn-interfaces-by-building-an-equation-solver/6675a38a8b535e4ff3274520.md +++ b/curriculum/challenges/arabic/07-scientific-computing-with-python/learn-interfaces-by-building-an-equation-solver/6675a38a8b535e4ff3274520.md @@ -7,7 +7,7 @@ dashedName: step-11 # --description-- -The `hasatttr` built-in function takes an object as its first argument and a string representing an attribute name as its second argument. It returns a boolean indicating if the object has the specified attribute. +The `hasattr` built-in function takes an object as its first argument and a string representing an attribute name as its second argument. It returns a boolean indicating if the object has the specified attribute. Now you are going to use the `__init_subclass__` method to check if the child class has the `degree` attribute at the moment of the instantiation. diff --git a/curriculum/challenges/arabic/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657d3ab710745d17697c633a.md b/curriculum/challenges/arabic/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657d3ab710745d17697c633a.md index 088fc182614..93303d571ff 100644 --- a/curriculum/challenges/arabic/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657d3ab710745d17697c633a.md +++ b/curriculum/challenges/arabic/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657d3ab710745d17697c633a.md @@ -43,7 +43,7 @@ updateScore(10, "hi"); assert.strictEqual(scoreHistory.children.length, 1); ``` -When `updateScore(10, "hi")` is called, your new list element should have the text `hi: 10`. +When `updateScore(10, "hi")` is called, your new list element should have the text `hi : 10`. ```js scoreHistory.innerHTML = ""; diff --git a/curriculum/challenges/chinese-traditional/07-scientific-computing-with-python/learn-interfaces-by-building-an-equation-solver/6675a38a8b535e4ff3274520.md b/curriculum/challenges/chinese-traditional/07-scientific-computing-with-python/learn-interfaces-by-building-an-equation-solver/6675a38a8b535e4ff3274520.md index cbadf97b11e..021b9af1671 100644 --- a/curriculum/challenges/chinese-traditional/07-scientific-computing-with-python/learn-interfaces-by-building-an-equation-solver/6675a38a8b535e4ff3274520.md +++ b/curriculum/challenges/chinese-traditional/07-scientific-computing-with-python/learn-interfaces-by-building-an-equation-solver/6675a38a8b535e4ff3274520.md @@ -7,7 +7,7 @@ dashedName: step-11 # --description-- -The `hasatttr` built-in function takes an object as its first argument and a string representing an attribute name as its second argument. It returns a boolean indicating if the object has the specified attribute. +The `hasattr` built-in function takes an object as its first argument and a string representing an attribute name as its second argument. It returns a boolean indicating if the object has the specified attribute. Now you are going to use the `__init_subclass__` method to check if the child class has the `degree` attribute at the moment of the instantiation. diff --git a/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657d3ab710745d17697c633a.md b/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657d3ab710745d17697c633a.md index 088fc182614..93303d571ff 100644 --- a/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657d3ab710745d17697c633a.md +++ b/curriculum/challenges/chinese-traditional/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657d3ab710745d17697c633a.md @@ -43,7 +43,7 @@ updateScore(10, "hi"); assert.strictEqual(scoreHistory.children.length, 1); ``` -When `updateScore(10, "hi")` is called, your new list element should have the text `hi: 10`. +When `updateScore(10, "hi")` is called, your new list element should have the text `hi : 10`. ```js scoreHistory.innerHTML = ""; diff --git a/curriculum/challenges/chinese/07-scientific-computing-with-python/learn-interfaces-by-building-an-equation-solver/6675a38a8b535e4ff3274520.md b/curriculum/challenges/chinese/07-scientific-computing-with-python/learn-interfaces-by-building-an-equation-solver/6675a38a8b535e4ff3274520.md index cbadf97b11e..021b9af1671 100644 --- a/curriculum/challenges/chinese/07-scientific-computing-with-python/learn-interfaces-by-building-an-equation-solver/6675a38a8b535e4ff3274520.md +++ b/curriculum/challenges/chinese/07-scientific-computing-with-python/learn-interfaces-by-building-an-equation-solver/6675a38a8b535e4ff3274520.md @@ -7,7 +7,7 @@ dashedName: step-11 # --description-- -The `hasatttr` built-in function takes an object as its first argument and a string representing an attribute name as its second argument. It returns a boolean indicating if the object has the specified attribute. +The `hasattr` built-in function takes an object as its first argument and a string representing an attribute name as its second argument. It returns a boolean indicating if the object has the specified attribute. Now you are going to use the `__init_subclass__` method to check if the child class has the `degree` attribute at the moment of the instantiation. diff --git a/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657d3ab710745d17697c633a.md b/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657d3ab710745d17697c633a.md index 088fc182614..93303d571ff 100644 --- a/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657d3ab710745d17697c633a.md +++ b/curriculum/challenges/chinese/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657d3ab710745d17697c633a.md @@ -43,7 +43,7 @@ updateScore(10, "hi"); assert.strictEqual(scoreHistory.children.length, 1); ``` -When `updateScore(10, "hi")` is called, your new list element should have the text `hi: 10`. +When `updateScore(10, "hi")` is called, your new list element should have the text `hi : 10`. ```js scoreHistory.innerHTML = ""; diff --git a/curriculum/challenges/espanol/07-scientific-computing-with-python/learn-interfaces-by-building-an-equation-solver/6675a38a8b535e4ff3274520.md b/curriculum/challenges/espanol/07-scientific-computing-with-python/learn-interfaces-by-building-an-equation-solver/6675a38a8b535e4ff3274520.md index cbadf97b11e..021b9af1671 100644 --- a/curriculum/challenges/espanol/07-scientific-computing-with-python/learn-interfaces-by-building-an-equation-solver/6675a38a8b535e4ff3274520.md +++ b/curriculum/challenges/espanol/07-scientific-computing-with-python/learn-interfaces-by-building-an-equation-solver/6675a38a8b535e4ff3274520.md @@ -7,7 +7,7 @@ dashedName: step-11 # --description-- -The `hasatttr` built-in function takes an object as its first argument and a string representing an attribute name as its second argument. It returns a boolean indicating if the object has the specified attribute. +The `hasattr` built-in function takes an object as its first argument and a string representing an attribute name as its second argument. It returns a boolean indicating if the object has the specified attribute. Now you are going to use the `__init_subclass__` method to check if the child class has the `degree` attribute at the moment of the instantiation. diff --git a/curriculum/challenges/espanol/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657d3ab710745d17697c633a.md b/curriculum/challenges/espanol/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657d3ab710745d17697c633a.md index 088fc182614..93303d571ff 100644 --- a/curriculum/challenges/espanol/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657d3ab710745d17697c633a.md +++ b/curriculum/challenges/espanol/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657d3ab710745d17697c633a.md @@ -43,7 +43,7 @@ updateScore(10, "hi"); assert.strictEqual(scoreHistory.children.length, 1); ``` -When `updateScore(10, "hi")` is called, your new list element should have the text `hi: 10`. +When `updateScore(10, "hi")` is called, your new list element should have the text `hi : 10`. ```js scoreHistory.innerHTML = ""; diff --git a/curriculum/challenges/german/00-certifications/upcoming-python-certification/upcoming-python-certification.yml b/curriculum/challenges/german/00-certifications/upcoming-python-certification/upcoming-python-certification.yml index 71963dffb54..789e7ba1dd2 100644 --- a/curriculum/challenges/german/00-certifications/upcoming-python-certification/upcoming-python-certification.yml +++ b/curriculum/challenges/german/00-certifications/upcoming-python-certification/upcoming-python-certification.yml @@ -1,10 +1,10 @@ --- id: 64afc4e8f3b37856e035b85f -title: Upcoming Python Certification +title: Bevorstehende Python-Zertifizierung certification: upcoming-python-certification challengeType: 7 isPrivate: true tests: - id: 64afc37bf3b37856e035b85e - title: Upcoming Python Project + title: Bevorstehendes Python-Projekt diff --git a/curriculum/challenges/german/07-scientific-computing-with-python/learn-interfaces-by-building-an-equation-solver/6675a38a8b535e4ff3274520.md b/curriculum/challenges/german/07-scientific-computing-with-python/learn-interfaces-by-building-an-equation-solver/6675a38a8b535e4ff3274520.md index cbadf97b11e..021b9af1671 100644 --- a/curriculum/challenges/german/07-scientific-computing-with-python/learn-interfaces-by-building-an-equation-solver/6675a38a8b535e4ff3274520.md +++ b/curriculum/challenges/german/07-scientific-computing-with-python/learn-interfaces-by-building-an-equation-solver/6675a38a8b535e4ff3274520.md @@ -7,7 +7,7 @@ dashedName: step-11 # --description-- -The `hasatttr` built-in function takes an object as its first argument and a string representing an attribute name as its second argument. It returns a boolean indicating if the object has the specified attribute. +The `hasattr` built-in function takes an object as its first argument and a string representing an attribute name as its second argument. It returns a boolean indicating if the object has the specified attribute. Now you are going to use the `__init_subclass__` method to check if the child class has the `degree` attribute at the moment of the instantiation. diff --git a/curriculum/challenges/german/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657d3ab710745d17697c633a.md b/curriculum/challenges/german/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657d3ab710745d17697c633a.md index 088fc182614..93303d571ff 100644 --- a/curriculum/challenges/german/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657d3ab710745d17697c633a.md +++ b/curriculum/challenges/german/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657d3ab710745d17697c633a.md @@ -43,7 +43,7 @@ updateScore(10, "hi"); assert.strictEqual(scoreHistory.children.length, 1); ``` -When `updateScore(10, "hi")` is called, your new list element should have the text `hi: 10`. +When `updateScore(10, "hi")` is called, your new list element should have the text `hi : 10`. ```js scoreHistory.innerHTML = ""; diff --git a/curriculum/challenges/italian/07-scientific-computing-with-python/learn-interfaces-by-building-an-equation-solver/6675a38a8b535e4ff3274520.md b/curriculum/challenges/italian/07-scientific-computing-with-python/learn-interfaces-by-building-an-equation-solver/6675a38a8b535e4ff3274520.md index cbadf97b11e..021b9af1671 100644 --- a/curriculum/challenges/italian/07-scientific-computing-with-python/learn-interfaces-by-building-an-equation-solver/6675a38a8b535e4ff3274520.md +++ b/curriculum/challenges/italian/07-scientific-computing-with-python/learn-interfaces-by-building-an-equation-solver/6675a38a8b535e4ff3274520.md @@ -7,7 +7,7 @@ dashedName: step-11 # --description-- -The `hasatttr` built-in function takes an object as its first argument and a string representing an attribute name as its second argument. It returns a boolean indicating if the object has the specified attribute. +The `hasattr` built-in function takes an object as its first argument and a string representing an attribute name as its second argument. It returns a boolean indicating if the object has the specified attribute. Now you are going to use the `__init_subclass__` method to check if the child class has the `degree` attribute at the moment of the instantiation. diff --git a/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657d3ab710745d17697c633a.md b/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657d3ab710745d17697c633a.md index 088fc182614..93303d571ff 100644 --- a/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657d3ab710745d17697c633a.md +++ b/curriculum/challenges/italian/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657d3ab710745d17697c633a.md @@ -43,7 +43,7 @@ updateScore(10, "hi"); assert.strictEqual(scoreHistory.children.length, 1); ``` -When `updateScore(10, "hi")` is called, your new list element should have the text `hi: 10`. +When `updateScore(10, "hi")` is called, your new list element should have the text `hi : 10`. ```js scoreHistory.innerHTML = ""; diff --git a/curriculum/challenges/japanese/07-scientific-computing-with-python/learn-interfaces-by-building-an-equation-solver/6675a38a8b535e4ff3274520.md b/curriculum/challenges/japanese/07-scientific-computing-with-python/learn-interfaces-by-building-an-equation-solver/6675a38a8b535e4ff3274520.md index cbadf97b11e..021b9af1671 100644 --- a/curriculum/challenges/japanese/07-scientific-computing-with-python/learn-interfaces-by-building-an-equation-solver/6675a38a8b535e4ff3274520.md +++ b/curriculum/challenges/japanese/07-scientific-computing-with-python/learn-interfaces-by-building-an-equation-solver/6675a38a8b535e4ff3274520.md @@ -7,7 +7,7 @@ dashedName: step-11 # --description-- -The `hasatttr` built-in function takes an object as its first argument and a string representing an attribute name as its second argument. It returns a boolean indicating if the object has the specified attribute. +The `hasattr` built-in function takes an object as its first argument and a string representing an attribute name as its second argument. It returns a boolean indicating if the object has the specified attribute. Now you are going to use the `__init_subclass__` method to check if the child class has the `degree` attribute at the moment of the instantiation. diff --git a/curriculum/challenges/japanese/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657d3ab710745d17697c633a.md b/curriculum/challenges/japanese/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657d3ab710745d17697c633a.md index 088fc182614..93303d571ff 100644 --- a/curriculum/challenges/japanese/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657d3ab710745d17697c633a.md +++ b/curriculum/challenges/japanese/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657d3ab710745d17697c633a.md @@ -43,7 +43,7 @@ updateScore(10, "hi"); assert.strictEqual(scoreHistory.children.length, 1); ``` -When `updateScore(10, "hi")` is called, your new list element should have the text `hi: 10`. +When `updateScore(10, "hi")` is called, your new list element should have the text `hi : 10`. ```js scoreHistory.innerHTML = ""; diff --git a/curriculum/challenges/korean/07-scientific-computing-with-python/learn-interfaces-by-building-an-equation-solver/6675a38a8b535e4ff3274520.md b/curriculum/challenges/korean/07-scientific-computing-with-python/learn-interfaces-by-building-an-equation-solver/6675a38a8b535e4ff3274520.md index cbadf97b11e..021b9af1671 100644 --- a/curriculum/challenges/korean/07-scientific-computing-with-python/learn-interfaces-by-building-an-equation-solver/6675a38a8b535e4ff3274520.md +++ b/curriculum/challenges/korean/07-scientific-computing-with-python/learn-interfaces-by-building-an-equation-solver/6675a38a8b535e4ff3274520.md @@ -7,7 +7,7 @@ dashedName: step-11 # --description-- -The `hasatttr` built-in function takes an object as its first argument and a string representing an attribute name as its second argument. It returns a boolean indicating if the object has the specified attribute. +The `hasattr` built-in function takes an object as its first argument and a string representing an attribute name as its second argument. It returns a boolean indicating if the object has the specified attribute. Now you are going to use the `__init_subclass__` method to check if the child class has the `degree` attribute at the moment of the instantiation. diff --git a/curriculum/challenges/korean/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657d3ab710745d17697c633a.md b/curriculum/challenges/korean/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657d3ab710745d17697c633a.md index 088fc182614..93303d571ff 100644 --- a/curriculum/challenges/korean/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657d3ab710745d17697c633a.md +++ b/curriculum/challenges/korean/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657d3ab710745d17697c633a.md @@ -43,7 +43,7 @@ updateScore(10, "hi"); assert.strictEqual(scoreHistory.children.length, 1); ``` -When `updateScore(10, "hi")` is called, your new list element should have the text `hi: 10`. +When `updateScore(10, "hi")` is called, your new list element should have the text `hi : 10`. ```js scoreHistory.innerHTML = ""; diff --git a/curriculum/challenges/portuguese/07-scientific-computing-with-python/learn-interfaces-by-building-an-equation-solver/6675a38a8b535e4ff3274520.md b/curriculum/challenges/portuguese/07-scientific-computing-with-python/learn-interfaces-by-building-an-equation-solver/6675a38a8b535e4ff3274520.md index cbadf97b11e..021b9af1671 100644 --- a/curriculum/challenges/portuguese/07-scientific-computing-with-python/learn-interfaces-by-building-an-equation-solver/6675a38a8b535e4ff3274520.md +++ b/curriculum/challenges/portuguese/07-scientific-computing-with-python/learn-interfaces-by-building-an-equation-solver/6675a38a8b535e4ff3274520.md @@ -7,7 +7,7 @@ dashedName: step-11 # --description-- -The `hasatttr` built-in function takes an object as its first argument and a string representing an attribute name as its second argument. It returns a boolean indicating if the object has the specified attribute. +The `hasattr` built-in function takes an object as its first argument and a string representing an attribute name as its second argument. It returns a boolean indicating if the object has the specified attribute. Now you are going to use the `__init_subclass__` method to check if the child class has the `degree` attribute at the moment of the instantiation. diff --git a/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-css-animation-by-building-a-ferris-wheel/6140c7e645d8e905819f1dd4.md b/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-css-animation-by-building-a-ferris-wheel/6140c7e645d8e905819f1dd4.md index f6ccafda195..954288b5bd1 100644 --- a/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-css-animation-by-building-a-ferris-wheel/6140c7e645d8e905819f1dd4.md +++ b/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-css-animation-by-building-a-ferris-wheel/6140c7e645d8e905819f1dd4.md @@ -15,13 +15,13 @@ Defina o título `title` para `Ferris Wheel`. # --hints-- -Your code should contain the `DOCTYPE` declaration. +O código deve conter a declaração de `DOCTYPE`. ```js assert.match(code, //i); ``` -Your `body` element should be the first element after the `head` element. +O elemento `body` deve ser o primeiro elemento depois do elemento `head`. ```js assert.match(code, /<\/head\s*>\s*/i); ``` -Your `head` and `body` elements should be siblings. +Os elementos `head` e `body` devem ser irmãos. ```js assert.strictEqual(document.querySelector('head')?.nextElementSibling?.localName, 'body'); ``` -Your `head` element should be the first element inside your `html` element. +O elemento `head` deve ser o primeiro elemento dentro do elemento `html`. ```js assert.match(code, /\s*/); ``` -Your `head` element should be within the `html` element. +O elemento `head` deve estar dentro do elemento `html`. ```js assert.isTrue([...document.querySelector('html')?.children].some(x => x?.localName === 'head')); ``` -Your `body` element should be within the `html` element. +O elemento `body` deve ser filho do elemento `html`. ```js assert.isTrue([...document.querySelector('html')?.children].some(x => x?.localName === 'body')); @@ -124,7 +124,7 @@ O elemento `meta` deve ter o atributo `charset` com o valor `UTF-8`. assert.match(code, /(?:.|\r|\n)*?/i; @@ -158,7 +158,7 @@ O código deve ter um elemento `link`. assert.match(code, /`. +O elemento `meta` deve ser um elemento nulo, sem uma tag final ``. ```js assert.notMatch(code, /<\/meta>/i); ``` -Your `meta` element should have a `charset` attribute set to the value `"utf-8"`. +O elemento `meta` deve ter o atributo `charset` com o valor `"utf-8"`. ```js const meta = [...document.querySelectorAll('meta')]; @@ -34,7 +34,7 @@ const target = meta?.find(m => m?.getAttribute('charset')?.toLowerCase() === 'ut assert.exists(target); ``` -Your `meta` element should be inside the `head` element. +O elemento `meta` deve estar dentro do elemento `head`. ```js const metaElementRegex = /(?:.|\r|\n)*?/i; diff --git a/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-css-colors-by-building-a-set-of-colored-markers/616965351e74d4689eb6de30.md b/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-css-colors-by-building-a-set-of-colored-markers/616965351e74d4689eb6de30.md index d065b5c8fd7..8407bd49b54 100644 --- a/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-css-colors-by-building-a-set-of-colored-markers/616965351e74d4689eb6de30.md +++ b/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-css-colors-by-building-a-set-of-colored-markers/616965351e74d4689eb6de30.md @@ -7,9 +7,9 @@ dashedName: step-5 # --description-- -You can have multiple `meta` elements on a web page. Cada elemento `meta` adiciona informações sobre a página que não podem ser expressas por outros elementos do HTML. +Você pode ter vários elementos `meta` em uma página da web. Cada elemento `meta` adiciona informações sobre a página que não podem ser expressas por outros elementos do HTML. -Add another `meta` element within the `head`. Give it a `name` attribute set to `"viewport"` and a `content` attribute set to `"width=device-width, initial-scale=1.0"` so your page looks the same on all devices. +Adicione outro elemento `meta` dentro do elemento `head`. Dê a ele o atributo `name` definido como `"viewport"` e o atributo `content` definido como `"width=device-width, initial-scale=1.0"` para que a página tenha a mesma aparência em todos os dispositivos. # --hints-- @@ -20,14 +20,14 @@ const meta = document.querySelectorAll('meta'); assert.strictEqual(meta?.length, 2); ``` -Your new `meta` element should be a void element, it should not have a closing tag ``. +O elemento `meta` deve ser um elemento nulo, sem uma tag final ``. ```js assert.notMatch(code, /<\/meta>/i); ``` -Your new `meta` element should have a `name` attribute set to `"viewport"`, and a `content` attribute set to `"width=device-width, initial-scale=1.0"`. +O novo elemento `meta` deve ter o atributo `name` definido como `"viewport"` e o atributo `content` definido como `"width=device-width, initial-scale=1.0"`. ```js const meta = [...document.querySelectorAll('meta')]; @@ -36,7 +36,7 @@ const target = meta?.find(m => m?.getAttribute('name')?.toLowerCase()?.replace(/ assert.exists(target); ``` -Your new `meta` element should be inside the `head` element. +O novo elemento `meta` deve estar dentro do elemento `head`. ```js const metaElementRegex = /(?:.|\r|\n)*?/i; diff --git a/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-css-colors-by-building-a-set-of-colored-markers/61696ef7ac756c829f9e4048.md b/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-css-colors-by-building-a-set-of-colored-markers/61696ef7ac756c829f9e4048.md index 620651bdd7d..3662609f1ba 100644 --- a/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-css-colors-by-building-a-set-of-colored-markers/61696ef7ac756c829f9e4048.md +++ b/curriculum/challenges/portuguese/14-responsive-web-design-22/learn-css-colors-by-building-a-set-of-colored-markers/61696ef7ac756c829f9e4048.md @@ -9,23 +9,23 @@ dashedName: step-7 Neste projeto, você trabalhará com um arquivo CSS externo para estilizar a página. Já criamos um arquivo de `styles.css` para você. Mas antes que você possa usá-lo, você precisará vinculá-lo à página. -Adicione um elemento `link` dentro do elemento `head`. Give it a `rel` attribute set to `"stylesheet"` and an `href` attribute set to `"styles.css"`. +Adicione um elemento `link` dentro do elemento `head`. Dê a ele o atributo `rel` definido como `"stylesheet"` e o atributo `href` definido como `"styles.css"`. # --hints-- -You should have one `link` element. +Você deve ter um elemento `link`. ```js assert.strictEqual(document.querySelectorAll('link')?.length, 1); ``` -Your `link` element should be a void element, it should not have a closing tag ``. +O elemento `link` deve ser um elemento nulo, sem uma tag final ``. ```js assert.notMatch(code, /<\/link>/i); ``` -Your `link` element should have a `rel` attribute with the value `"stylesheet"`. +O elemento `link` deve ter o atributo `rel` com o valor de `"stylesheet"`. ```js const linkElement = document.querySelector('link'); @@ -33,14 +33,14 @@ const rel = linkElement?.getAttribute("rel")?.toLowerCase(); assert.strictEqual(rel, "stylesheet"); ``` -Your `link` element should have an `href` attribute with the value `"styles.css"`. +O elemento `link` deve ter o atributo `href` com o valor de `"styles.css"`. ```js const linkElement = document.querySelector('link'); assert.strictEqual(linkElement?.dataset?.href, "styles.css"); ``` -Your `link` element should be inside the `head` element. +O elemento `link` deve estar dentro do elemento `head`. ```js const linkElementRegex = /(?:.|\r|\n)*?/i; diff --git a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657d3ab710745d17697c633a.md b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657d3ab710745d17697c633a.md index 088fc182614..93303d571ff 100644 --- a/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657d3ab710745d17697c633a.md +++ b/curriculum/challenges/portuguese/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657d3ab710745d17697c633a.md @@ -43,7 +43,7 @@ updateScore(10, "hi"); assert.strictEqual(scoreHistory.children.length, 1); ``` -When `updateScore(10, "hi")` is called, your new list element should have the text `hi: 10`. +When `updateScore(10, "hi")` is called, your new list element should have the text `hi : 10`. ```js scoreHistory.innerHTML = ""; diff --git a/curriculum/challenges/swahili/07-scientific-computing-with-python/learn-interfaces-by-building-an-equation-solver/6675a38a8b535e4ff3274520.md b/curriculum/challenges/swahili/07-scientific-computing-with-python/learn-interfaces-by-building-an-equation-solver/6675a38a8b535e4ff3274520.md index cbadf97b11e..021b9af1671 100644 --- a/curriculum/challenges/swahili/07-scientific-computing-with-python/learn-interfaces-by-building-an-equation-solver/6675a38a8b535e4ff3274520.md +++ b/curriculum/challenges/swahili/07-scientific-computing-with-python/learn-interfaces-by-building-an-equation-solver/6675a38a8b535e4ff3274520.md @@ -7,7 +7,7 @@ dashedName: step-11 # --description-- -The `hasatttr` built-in function takes an object as its first argument and a string representing an attribute name as its second argument. It returns a boolean indicating if the object has the specified attribute. +The `hasattr` built-in function takes an object as its first argument and a string representing an attribute name as its second argument. It returns a boolean indicating if the object has the specified attribute. Now you are going to use the `__init_subclass__` method to check if the child class has the `degree` attribute at the moment of the instantiation. diff --git a/curriculum/challenges/swahili/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657d3ab710745d17697c633a.md b/curriculum/challenges/swahili/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657d3ab710745d17697c633a.md index 088fc182614..93303d571ff 100644 --- a/curriculum/challenges/swahili/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657d3ab710745d17697c633a.md +++ b/curriculum/challenges/swahili/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657d3ab710745d17697c633a.md @@ -43,7 +43,7 @@ updateScore(10, "hi"); assert.strictEqual(scoreHistory.children.length, 1); ``` -When `updateScore(10, "hi")` is called, your new list element should have the text `hi: 10`. +When `updateScore(10, "hi")` is called, your new list element should have the text `hi : 10`. ```js scoreHistory.innerHTML = ""; diff --git a/curriculum/challenges/ukrainian/07-scientific-computing-with-python/learn-interfaces-by-building-an-equation-solver/6675a38a8b535e4ff3274520.md b/curriculum/challenges/ukrainian/07-scientific-computing-with-python/learn-interfaces-by-building-an-equation-solver/6675a38a8b535e4ff3274520.md index cbadf97b11e..021b9af1671 100644 --- a/curriculum/challenges/ukrainian/07-scientific-computing-with-python/learn-interfaces-by-building-an-equation-solver/6675a38a8b535e4ff3274520.md +++ b/curriculum/challenges/ukrainian/07-scientific-computing-with-python/learn-interfaces-by-building-an-equation-solver/6675a38a8b535e4ff3274520.md @@ -7,7 +7,7 @@ dashedName: step-11 # --description-- -The `hasatttr` built-in function takes an object as its first argument and a string representing an attribute name as its second argument. It returns a boolean indicating if the object has the specified attribute. +The `hasattr` built-in function takes an object as its first argument and a string representing an attribute name as its second argument. It returns a boolean indicating if the object has the specified attribute. Now you are going to use the `__init_subclass__` method to check if the child class has the `degree` attribute at the moment of the instantiation. diff --git a/curriculum/challenges/ukrainian/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657d3ab710745d17697c633a.md b/curriculum/challenges/ukrainian/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657d3ab710745d17697c633a.md index 088fc182614..93303d571ff 100644 --- a/curriculum/challenges/ukrainian/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657d3ab710745d17697c633a.md +++ b/curriculum/challenges/ukrainian/15-javascript-algorithms-and-data-structures-22/review-algorithmic-thinking-by-building-a-dice-game/657d3ab710745d17697c633a.md @@ -43,7 +43,7 @@ updateScore(10, "hi"); assert.strictEqual(scoreHistory.children.length, 1); ``` -When `updateScore(10, "hi")` is called, your new list element should have the text `hi: 10`. +When `updateScore(10, "hi")` is called, your new list element should have the text `hi : 10`. ```js scoreHistory.innerHTML = "";