This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html> | |
| <head> | |
| <style> | |
| .test-1-parent #test { | |
| color: yellow; | |
| } | |
| #test { | |
| color: red; | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <html> | |
| <style> | |
| #test { | |
| color:red; | |
| } | |
| .test-0.cls-1.cls-2.cls-3.cls-4.cls-5.cls-6.cls-7.cls-8.cls-9.cls-10.cls-11.cls-12.cls-13.cls-14.cls-15.cls-16.cls-17.cls-18.cls-19.cls-20.cls-21.cls-22.cls-23.cls-24.cls-25.cls-26.cls-27.cls-28.cls-29.cls-30.cls-31.cls-32.cls-33.cls-34.cls-35.cls-36.cls-37.cls-38.cls-39.cls-40.cls-41.cls-42.cls-43.cls-44.cls-45.cls-46.cls-47.cls-48.cls-49.cls-50.cls-51.cls-52.cls-53.cls-54.cls-55.cls-56.cls-57.cls-58.cls-59.cls-60.cls-61.cls-62.cls-63.cls-64.cls-65.cls-66.cls-67.cls-68.cls-69.cls-70.cls-71.cls-72.cls-73.cls-74.cls-75.cls-76.cls-77.cls-78.cls-79.cls-80.cls-81.cls-82.cls-83.cls-84.cls-85.cls-86.cls-87.cls-88.cls-89.cls-90.cls-91.cls-92.cls-93.cls-94.cls-95.cls-96.cls-97.cls-98.cls-99.cls-100.cls-101 { | |
| color: blue; | |
| } | |
| </style> | |
| <body> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| css { | |
| } |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const { width } = useWindowDimensions(); | |
| const systemFonts = ['Lato_400Regular']; | |
| return ( | |
| <SafeAreaView style={styles.container}> | |
| <ScrollView style={styles.scrollView}> | |
| <RenderHtml | |
| source={{ html: props.html }} | |
| systemFonts={systemFonts} | |
| tagsStyles={tagsStyles} | |
| contentWidth={width} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| try { | |
| await AsyncStorage.setItem('@token', result.data.token); | |
| const jsonValue = JSON.stringify(result.data); | |
| await AsyncStorage.setItem('@user_Object', jsonValue); | |
| } catch (e) { | |
| console.log(e); | |
| } | |
| try { | |
| const value = await AsyncStorage.getItem('@user_Object'); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| import { | |
| useFonts, | |
| Lato_400Regular, | |
| Lato_900Black, | |
| Lato_700Bold, | |
| } from '@expo-google-fonts/lato'; | |
| export default function App() { | |
| const isLoadingComplete = useCachedResources(); | |
| const colorScheme = useColorScheme(); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let input = 100 | |
| let aNumber = 91; | |
| let bNumber = 99; | |
| let multiplication = aNumber * bNumber = 9009; | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let number = 7315 | |
| const sortedAscending = 1357 | |
| const sortedDescening = 7531 | |
| const difference = sortedDescening - sortedAscending // subtract the small number from the bigger | |
| if (difference === 6174) { | |
| console.log('yay') | |
| } else { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| const totalScore = (scoreCard) => { | |
| let score = 0; | |
| return score | |
| } |
NewerOlder